Skip to content

allure-awaitility: the steps in the allure-report break after calling the await() function #891

Description

@petrschitow

Brief description of the problem:

I started using the allure-awaitility library and saw strange behavior - after the first call to the await() function in the test, either the hierarchy of steps in the report breaks or there are no steps at all after the step that contains await()

Steps to reproduce:

I created a simple project to demonstrate the problem (Kotlin + TestNG): https://github.com/petrschitow/allure-awaitility-issue

To reproduce the error, you need to run the tests and generate an allure-report using the following commands:
mvn clean test
allure serve target/allure-results

To observe different behavior, run tests with commented/uncommented lines 32-34 in TestConfiguration.kt file

You can find screenshots with actual/expected behaviour here

P.S. The pet-api is unstable, so you may need to run the test a couple of times.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions