-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Navigation block: e2e code quality fixes #48071
Conversation
Size Change: 0 B Total Size: 1.33 MB ℹ️ View Unchanged
|
Flaky tests detected in f54031b. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4185594555
|
5edbba3
to
d8bc989
Compare
@kevin940726 do you know what else needs to be done to add the
|
Co-authored-by: Kai Hao <[email protected]>
Co-authored-by: Kai Hao <[email protected]>
Co-authored-by: Kai Hao <[email protected]>
Co-authored-by: Kai Hao <[email protected]>
Co-authored-by: Kai Hao <[email protected]>
dfc0e53
to
f54031b
Compare
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.
LGTM 👍 Thanks!
Note that there's already a flaky test report in #48033. We might want to take a look at that in another PR 🙂.
editor.canvas.locator( | ||
`role=textbox[name="Navigation link text"i] >> text="Custom link"` | ||
) | ||
).toBeVisible(); |
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.
Interesting that this is already reported as flaky (#48033). We might want to take a look at this test 🙂 .
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.
you are right, I'll have a look tomorrow!
What?
Followup on #47867 after I missed a couple of things that were found on review after merge.
This PR also includes the
no-page-pause
rule to the linter so people like me won't commit and merge pauses to their e2e tests :DTo test check that the navigation block tests pass (
npm run test:e2e:playwright -- editor/blocks/navigation.spec.js
) and that you can't commit a test containingpage.pause()
.