-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
I.waitNumberOfVisibleElements('locator', 0) always fails #1172
Comments
Please reopen if you encounter this with latest version. |
It happens to me in codeceptjs@3.5.15 and playwright-core@1.42.0 I.seeNumberOfVisibleElements(selector, 0); // works
I.waitNumberOfVisibleElements(selector, 0); // <== fails! @kobenguyent @lubosek Please reopen, cannot do that by myself. |
hey @danielrentz may you try to alter your local codeceptjs code in node_modules to see if this approach works for you? |
@kobenguyent I can confirm that this change works for me! |
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What are you trying to achieve?
Wait until number of elements on a page goes down to zero (as a workaround to non-working waitForInvisible ) expecting that
I.waitNumberOfVisibleElements('div.slds-spinner_container', 0);
passes.What do you get instead?
Number of elements is zero as evidenced by previous call to
grabNumberOfVisibleElements
but the assertionI.waitNumberOfVisibleElements('div.slds-spinner_container', 0);
is false anyway causing the test to fail.Details
The text was updated successfully, but these errors were encountered: