Exoow
Exoow
Hello @Evangelink - I understand, considering retries are only applicable in test levels beyond unit tests. The Polly library seems a bit overkill in terms of syntax/features for simple asserts....
We use MSTest, and I wrote a TestContext extension method to set BaseUrl and such from the runsettings: `BaseURL = TestContext.GetParameter("BaseUrl")`
See attachment, just rename the file to .cs :) [TestContextExtensions.txt](https://github.com/microsoft/playwright-dotnet/files/14493930/TestContextExtensions.txt)
You should try printing the auth.json file contents at the start of every test and compare them. Maybe accessing the app invalidates your token somehow, or, I've had it that...
I found the caveat though: when running more than 1 test, Playwright throws an exception because the selector is already registered...
In `TestInitialize` works after adding a try/catch so it won't fail from the second test onwards. We have tests running against Microsoft Dynamics, and it's easiest to select components by...
Would the suggestion below be a good starting point? The "problem" (as my simple mind sees the solution) is that you don't need to inherit from `AssertionsBase` for anything (as...
@mxschmitt could you have a look at the linked commit please? Is this usable? Also, do I need to do anything with the "API generation" tool mentioned in the Contributing?...
@mxschmitt Okay, I understand and will adapt. I'll also update the logic so it ignores any exceptions until success or timeout. Thanks for the feedback so far!
FYI duplicate of/related to https://github.com/Microsoft/WinAppDriver/issues/215