Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
E2E Test Utils: Improve test reliability in plugins/themes and login …
…procedures (#52144) * Create logical promise ordering for navigation watchers. By Creating the promise for navigations before attempting the navigation, we ensure that there's no risk of race conditions where one promise triggers before the other, leaving the navigation watcher in limbo. * Add heightened timeout values when waiting for plugins or themes to be installed. Plugin and theme installations are dependent on external factors, such as WordPress.org availability, disk read/writes, and such. Some inconsistent test runs were traced back to prolonged time needed to install either, causing false positive test failures. * Update packages/e2e-test-utils/src/install-plugin.js * Update packages/e2e-test-utils/src/install-theme.js * Allow linting to pass --------- Co-authored-by: Ari Stathopoulos <aristath@gmail.com> Co-authored-by: Sergey Biryukov <sergeybiryukov.ru@gmail.com>
- Loading branch information
de251b6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flaky tests detected in de251b6.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.
🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5506200864
📝 Reported issues:
/test/e2e/specs/editor/blocks/image.spec.js