-
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
Migrate Adding Patterns Test to Playwright #50083
Migrate Adding Patterns Test to Playwright #50083
Conversation
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.
Great work! Thanks!
await expect.poll( editor.getBlocks ).toMatchObject( [ | ||
{ | ||
name: 'core/social-links', | ||
attributes: { className: 'has-icon-color' }, |
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.
Nit: I don't think we need this. I think we only want to check if it's a social-links
block.
attributes: { className: 'has-icon-color' }, |
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.
Addressed the feedback!
Hi @kevin940726, Thanks for the suggestions, I have addressed those but seems like the CI is failing but its not due to my test case, but its failing for Thanks! |
What?
Part of #38851.
Migrate adding-patterns.test.js to its Playwright version.
Why?
Part of #38851.
How?
See MIGRATION.md for migration steps.
Testing Instructions
Run
npm run test:e2e:playwright test/e2e/specs/editor/various/adding-patterns.spec.js