Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix AccessibilityIdentifierTests_ViewTestActor.testEnteringTextIntoVi…
…ewWithAccessibilityIdentifier flaking We're trying to tap on `Select All` while it is still being animated into view. The problem is two-fold: 1. The `longPress` action doesn't wait for animations to complete, it just uses a hardcoded .5s before starting the next action. 2. Even after switching to use `waitForAnimationsToFinish`, the timeout defaults to .5s as the max to wait for animations to complete. To fix this, I switched `longPress` action to use `waitForAnimationsToFinish` and I upped the default timeout to wait up to 2s for animations to complete. This seems to work much more reliably now.
- Loading branch information