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

[Feature] Add Retries #2316

Open
mxschmitt opened this issue Sep 14, 2022 · 14 comments
Open

[Feature] Add Retries #2316

mxschmitt opened this issue Sep 14, 2022 · 14 comments

Comments

@mxschmitt
Copy link
Member

Retries got reverted since there were bugs in it which would prevent users from using it efficiently.

Open items:

@bheemreddy181
Copy link

Really looking forward into this - we are missing retries at this moment

@bheemreddy181
Copy link

Can we also make retries differ based on the tag - like say if we have API tests then set retries to 0 and set retries to number n for web tests ?

@mxschmitt
Copy link
Member Author

Retries would be for the whole project, so you can define <Retries>1</Retries> inside your runsettings file or when defining it via --settings to dotnet test. This is the same way how it's done for Node.js.

Just a question out of curiosity, are you using NUnit or MSTest?

@bheemreddy181
Copy link

We are using Nunit - makes sense you can ignore the tag request. It’s better to have different run settings for different tag runs

@nicolaiarocci
Copy link

Looking forward to this one too.

@masaplecas
Copy link

Is there any ETA about this one?

@DavinderZilo
Copy link

Any update on this, it will really help where tests at times fail duty flakey backend

@ArcadeMode
Copy link

ArcadeMode commented Aug 29, 2023

Is there any news on this? We're enjoying using playwright-dotnet a lot but retries would save us a lot of effort on manually re-running tests that fail due to random failures.

@autom3tion
Copy link

Really would appreciate if we'd get some info on this. I see PlaywrightSettingsProvider has Retries option, but it doesn't work.

@TheJackGower
Copy link

Is there an ETA yet? Would be a great feature to have.

@gauravkhuraana
Copy link

Dotnet is lagging compared to nodejs in many perspective. Can we please bring it to speed and bring on these features

@ashleybissell
Copy link

Do we have any timescales for when this might be looked at again? It appears to be a popular issue and would be a big help to a lot of users.

@ertiusmeo
Copy link

Is there any plan for this feature? It would be nice to have it.

@mxschmitt
Copy link
Member Author

@ertiusmeo we are actively exploring options for NUnit and MSTest and collaborate with the MSTest maintainers. (no eta unfortunately)

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

No branches or pull requests