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

MNT Add @retry to commonly-failing behat feature #1679

Conversation

GuySartorelli
Copy link
Member

This behat feature fails quite frequently, and it's a pain to have to retry the whole behat run just for the one feature.

Adding @retry to any feature or scenario will cause any failing steps to retry continuously for a set number of seconds (default 3 seconds).
If the failures are caused by (for example) trying to see an element before the page has finished loading, then this @retry tag could resolve many failures for us.

It won't resolve problems if something went wrong with setting up a test, but those sorts of failures are much less likely to be intermittent anyway.

Issue

@emteknetnz emteknetnz merged commit 47da04a into silverstripe:1.13 Feb 13, 2024
12 checks passed
@emteknetnz emteknetnz deleted the pulls/1.13/retry-failing-feature branch February 13, 2024 04:35
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

Successfully merging this pull request may close these issues.

2 participants