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

Add a check that the item on the page does not exist #81

Open
vitekes opened this issue Jun 6, 2019 · 1 comment
Open

Add a check that the item on the page does not exist #81

vitekes opened this issue Jun 6, 2019 · 1 comment

Comments

@vitekes
Copy link

vitekes commented Jun 6, 2019

Methods call
element().should(not(exist()));
or
element().should(not(displayed()));
returns NoSuchElementException

admizh pushed a commit to admizh/atlas that referenced this issue Jul 4, 2019
now RetryerContext is mandatory and should be injected to atlas config
Re-designed Retryer's, now we use global RetryerContext as default
ISExtension (for momentary checking)
now beforeMethod return configuration instance for alteration

fixes:
qameta#81
qameta#79
qameta#74
@Alex05632
Copy link

element().should(not(exist()), 15); - it doesn't work properly.

It will wait whole 15 sec anyway, whether element disappears or not - doesn't matter.
The difference is only in the end result: exception if element still presents, or pass if it one disappears

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

No branches or pull requests

2 participants