You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Im having trouble understanding how it's any different as both were waiting for an object. Can you explain a little bit? Also, I would run this a bunch of times to check.
Im having trouble understanding how it's any different as both were waiting for an object. Can you explain a little bit? Also, I would run this a bunch of times to check.
Im having trouble understanding how it's any different as both were waiting for an object. Can you explain a little bit? Also, I would run this a bunch of times to check.
So after talking a bit more with mcarare, the difference between waitNotNull and waitForExists would be that the first is trying to find a view in the hierarchy at regular intervals before reaching the timeout, and the later is searching for an accessibility node info and waits for the view to become visible. I chose waitForExists because it's a method of UiObject and not an extension.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For: mozilla-mobile/mobile-test-eng#51
Replaced verifyPageContent with verifyUrl where it was fit.
Replaced with waitForIdle where it was only used to wait for the page load.
Changed the assertion method in verifyPageContent for verifying the page refresh. This assertion is also used now in MediaNotificationTest (the prior method returned a false positive) - I'll keep an eye on these for a while.
note:
Tests passed on running ~50 times on Firebase: https://github.com/mozilla-mobile/fenix/runs/857803644, https://github.com/mozilla-mobile/fenix/runs/858196969