question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong step order in allure-report

See original GitHub issue

I’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:

  1. create demo project for UI-testing based on framework webdriverio with Cucumber. You can use:
  1. 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"
  1. run test - wdio wdio.conf.js (for example)
  2. generate report - allure generate ./allure-results (for example)
  3. open report and look at the step order image
  4. 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:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ravxzcommented, Jan 19, 2018

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.

1reaction
lrocheWBcommented, Sep 14, 2017
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found