-
Notifications
You must be signed in to change notification settings - Fork 86
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
test(help): add playwright tests #6317
Conversation
9a23d44
to
0b60633
Compare
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit fb392a0:
|
0b60633
to
c33e708
Compare
src/components/help/help.pw.tsx
Outdated
await mount(<HelpComponentTest tabIndex={tabIndex} />); | ||
|
||
if (tabIndex === -1) { | ||
await page.keyboard.press("Tab"); |
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.
suggestion(non-blocking): You should be able to move this tab presses and the one on line 136 outside of the if
statement. As whether the tabIndex
is -1
, 0
or 1
you still need to press the tab key.
c33e708
to
fb392a0
Compare
🎉 This PR is included in version 120.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Proposed behaviour
Current behaviour
Checklist
d.ts
file added or updated if requiredQA
Additional context
N/A
Testing instructions