Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞: Missing steps after awaitility execution #1135

Open
1 task done
zakrzhevskiy-as opened this issue Oct 9, 2024 · 0 comments
Open
1 task done

🐞: Missing steps after awaitility execution #1135

zakrzhevskiy-as opened this issue Oct 9, 2024 · 0 comments
Labels
triage type:bug Something isn't working

Comments

@zakrzhevskiy-as
Copy link

zakrzhevskiy-as commented Oct 9, 2024

What happened?

When using allure-awaitility, steps executed after the first Awaitility in a test do not appear in the report.
Example for reproduction: https://github.com/zakrzhevskiy-as/allure-awaitility-bug

Prerequisites:

  • Initialize the default condition evaluation listener for Awaitility

Reproduction:

  1. A step is executed in the test using Allure.step("name", { })
  2. The first Awaitility is called
  3. The second Awaitility is called
  4. A step is executed in the test using Allure.step("name2", { })

Expected result:

  • All steps in the test body are displayed in the report:
    1. name
    2. first Awaitility
    3. second Awaitility
    4. name2

Actual result:

  • When creating a step after an Awaitility has been executed, io.qameta.allure.AllureLifecycle#threadContext considers the UUID of the current step to be the UUID of the first Awaitility step, but not the key of the TestResult, stored in the io.qameta.allure.AllureLifecycle#storage

What Allure Integration are you using?

allure-awaitility

What version of Allure Integration you are using?

2.29.0

What version of Allure Report you are using?

2.29.0

Code of Conduct

  • I agree to follow this project's Code of Conduct
@zakrzhevskiy-as zakrzhevskiy-as added triage type:bug Something isn't working labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant