Skip to content

Conversation

@kblok
Copy link
Member

@kblok kblok commented Sep 19, 2018

closes #553

@kblok kblok requested a review from Meir017 September 19, 2018 11:35
var exception = await Assert.ThrowsAsync<WaitTaskTimeoutException>(async ()
=> await Page.WaitForSelectorAsync("div", new WaitForSelectorOptions { Hidden = true, Timeout = 10 }));

Assert.NotNull(exception);
Copy link
Member

Choose a reason for hiding this comment

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

pretty sure xunit throws if an exception is not thrown so this is not required

@kblok
Copy link
Member Author

kblok commented Sep 20, 2018

Done @Meir017

@Meir017 Meir017 merged commit e3ae546 into master Sep 21, 2018
@Meir017 Meir017 deleted the v1.7/feat-wait-for-messaging branch September 21, 2018 14:42
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.

Improve waiting for selector to be hidden error message

3 participants