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

Created new test in report if failed in beforeEach #637

Open
Vorobeyko opened this issue Jul 14, 2024 · 3 comments
Open

Created new test in report if failed in beforeEach #637

Vorobeyko opened this issue Jul 14, 2024 · 3 comments

Comments

@Vorobeyko
Copy link

Hi. If qase.id is used inside a test and the test fails in beforeEach, then as a result, the id is not assigned to the test, and a new test is created in the report instead existing.
Its not correct. What we can do ?

@NickVolynkin
Copy link
Contributor

@Vorobeyko it’s a side effect of our current algorithm of matching results between tests with and without id. If you first report a test without id, it will create a test case, and then you can take its id back to the code. Now when you run the test again, previous results will be in the run history.
In your current scenario, result signatures don’t match for some reason. Thanks for reporting, we’ll think of a way to resolve it.

@Vorobeyko
Copy link
Author

@NickVolynkin Thank you. Will you fix this in the future?

@Vorobeyko
Copy link
Author

@NickVolynkin Do you have plan about fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants