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

pytest 8.2.2 causes issues when --reruns is used #2832

Closed
mdmintz opened this issue Jun 5, 2024 · 1 comment · Fixed by #2834
Closed

pytest 8.2.2 causes issues when --reruns is used #2832

mdmintz opened this issue Jun 5, 2024 · 1 comment · Fixed by #2834
Assignees
Labels
bug Uh oh... Something needs to be fixed external Outside SeleniumBase's scope. / Ask somewhere else.

Comments

@mdmintz
Copy link
Member

mdmintz commented Jun 5, 2024

pytest 8.2.2 causes issues when --reruns is used

I opened a ticket with them: pytest-dev/pytest#12424

This means that reruns won't happen, and the Dashboard will get confused (a failure will appear not just once, but also each time there is a rerun that happens).

This issue appeared in seleniumbase 4.27.2, which upgraded to use pytest 8.2.2.

Probably the best thing to do for now is downgrade pytest in the dependencies until pytest fixes the issue. (Or maybe they'll say that pytest-rerunfailures needs to be fixed.)

@mdmintz mdmintz self-assigned this Jun 5, 2024
@mdmintz mdmintz added bug Uh oh... Something needs to be fixed external Outside SeleniumBase's scope. / Ask somewhere else. labels Jun 5, 2024
@mdmintz
Copy link
Member Author

mdmintz commented Jun 5, 2024

This was resolved by downgrading pytest to 8.2.1 in seleniumbase 4.27.3 - https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.27.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Uh oh... Something needs to be fixed external Outside SeleniumBase's scope. / Ask somewhere else.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant