Skip to content

[Allure report] For deleteSuccessful option set to true in stepByStepReport - passed test cases in Allure still have screenshots attached #1494

Closed
@AdamOakman

Description

@AdamOakman

What are you trying to achieve?

Only successful test cases should have screenshots attached in Allure report.

What do you get instead?

Every single test case and step (including passed) has a screenshot attached in Allure report.

Provide test source code if related

Details

  • CodeceptJS version: 2.0.4
  • NodeJS Version: docker
  • Operating System: docker
  • Protractor
  • Configuration file:
    plugins: {
        screenshotOnFail: {
            enabled: true,
            fullPageScreenshots: false
        },
        allure: {
            enabled: true
        },
        autoDelay: {
            enabled: true,
            delayBefore: 100,
            delayAfter: 150
        },
        stepByStepReport: {
            enabled: true,
        }
    },

deleteSuccessful option set to true by default according to documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions