Wrong step order in allure-report
See original GitHub issueI’m submitting a …
- bug report
- feature request
- support request => Please do not submit support request here, see note at the top of this template.
What is the current behavior?
Wrong step order in allure-report.
Steps to reproduce:
- create demo project for UI-testing based on framework webdriverio with Cucumber. You can use:
- boilerplate project - cucumber-boilerplate
- my demo project - https://github.com/IlgizVafin/webdriverio-demo-project2;
- write some test scenario by Gherkin:
Feature: Broken feature
@Broken
Scenario: Go to github.com and press non-existent button
When I go to https://github.com
And I press button "Non-existent button"
Then I expect page title "Join GitHub · GitHub"
Feature: Passed feature
@Passed
Scenario: Go to github.com and press signup button
When I go to https://github.com
And I press button "Sign up for GitHub"
Then I expect page title "Join GitHub · GitHub"
- run test -
wdio wdio.conf.js
(for example) - generate report -
allure generate ./allure-results
(for example) - open report and look at the step order
- step order isn’t correct.
What is the expected behavior?
Step order should be equal to order in *.feature
scenarious.
My environment:
Allure version | 2.3.4 |
---|---|
Test framework | webdriver.io + cucumber@~2.2.0 |
Generate report using | allure-commandline@2.3.4 |
Other information
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Allure Framework
To generate your first report you will need to go through just a few simple steps: Downloading and installing Allure commandline application ...
Read more >Cucumber steps is not shown at allure report as expected
after the test is executed I'm creating the allure report using the maven command mvn allure:report. but the allure steps are not generated ......
Read more >@wdio/allure-reporter - npm
A WebdriverIO reporter plugin to create Allure Test Reports. Latest version: 8.0.11, last published: 2 days ago.
Read more >allure-framework/allure-core - Gitter
I am trying to generate a allure report based on these .xml files. I have created a 'post' step allure( includeProperties: false, jdk:...
Read more >Allure Report Doesn't Maintain Test Order Execution - ADocLib
Result StackTrace: Hi has anyone here implemented Allure reporting fore ... incorrect step orders incorrectly listing blank hook steps dumps them all into ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Have similar issue with TestNG DataProvider tests. The test cases under test class in report are ordered backward like: #3, #2, #1. Meanwhile, default shown order is by “name” forward.
@baev thanks ! https://github.com/allure-framework/allure2/releases/tag/2.3.5
It works for me.