Skip to content

The allure report mixes steps, it no longer attaches the steps to GIVEN, WHEN, THAN #4931

@zbachir

Description

@zbachir

I use codeceptjs 3.7.2 with playwright 1.28.1 (bdd) with allure-codeceptjs: 3.2.0, this is part of my codecept.conf.js :
....
plugins: {
screenshotOnFail: {
enabled: true
},
allure: {
enabled: true,
require: 'allure-codeceptjs',
resultsDir: env.reportOutput
},
....

The final allure report mixes steps :

  • it no longer attaches the steps to GIVEN, WHEN, THAN,
  • Or, attach all steps the one GIVEN or WHEN or THAN
  • Or, attach some steps one GIVEN or WHEN or THAN and other steps to other one ... etc

example here the scenario:
@FEAT-01-002
Scenario: Authenticated user sets the quantity and add a product to the cart
Given I am logged in as a customer
And My cart is empty
When I add 3 instances of a product1 to my cart
Then My cart contains 3 instances of product1
And I should be able to empty my cart

the phrase "And My cart is empty" contains many steps, but on the report, no step is attached.

please rename this file with extention html before open it:
index.txt

please take a look the the generated report here (see attached file)

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