Skip to content

Use assertion library more consistently #26519

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

Merged
merged 1 commit into from
Oct 2, 2020

Conversation

pranavkm
Copy link
Contributor

@pranavkm pranavkm commented Oct 1, 2020

Using Browser.Exists is equivalent to Browser.FindElement except it provides better logs
and diagnostics when the assertion fails. The additional waits will also rule out
failures due to the browser taking time to update possibly improving stability.

I looked at the implementation of WebDriverWait to verify that using it will not
introduce additional delays to our tests.

Using Browser.Exists is equivalent to Browser.FindElement except it provides better logs
and diagnostics when the assertion fails. The additional waits will also rule out
failures due to the browser taking time to update possibly improving stability.

I looked at the implementation of WebDriverWait to verify that using it will not
introduce additional delays to our tests.
@pranavkm pranavkm requested review from SteveSandersonMS and a team as code owners October 1, 2020 23:15
@ghost ghost added the area-blazor Includes: Blazor, Razor Components label Oct 1, 2020
@pranavkm pranavkm added this to the 5.0.0 milestone Oct 1, 2020
Copy link
Member

@HaoK HaoK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@pranavkm pranavkm added the tell-mode Indicates a PR which is being merged during tell-mode label Oct 2, 2020
@pranavkm
Copy link
Contributor Author

pranavkm commented Oct 2, 2020

@dotnet/aspnet-build could you merge this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components tell-mode Indicates a PR which is being merged during tell-mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants