Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add automatted tests for Nav block editable list view (#49433)
* Scaffold initial test * Assert on menu structure * Refine structure test filters * Assert using appender to add menu items * Improve assertions to check the type of the link being inserted * Improve asserting on Page and Custom links being 1st and 2nd results * Test block removal * Make test describe blocks consistent with other tests * Add test for editing items * Test for adding submenus * Remove uneccessary test wording * Remove unecessary click on List View tab Should be visible by default. Left one test which will fail if the tab isn’t automatically pre-selected. * Extract blocks to a var * Add Link Control test helper and extract relevant portions of tests * Extract util for getting result text * Remove unneeded focus of item to trigger options menu * Avoid overly complex selectors by targetted Submenu for item removal test * Remove comment * Test editing a menu item actually updates in the list view * Remove .only
- Loading branch information
d9dd82a
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 d9dd82a.
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/4563941575
📝 Reported issues:
/test/e2e/specs/site-editor/template-part.spec.js
/test/e2e/specs/site-editor/template-part.spec.js
specs/site-editor/global-styles-sidebar.test.js