-
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 revert template test to Playwright #41310
Conversation
Size Change: +269 B (0%) Total Size: 1.24 MB
ℹ️ View Unchanged
|
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.
Looks good! Though there's a test error in one of the tests. Probably a flaky one?
Left some styling nitpicks, but overall looks promising!
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.
Looks pretty good to me! Just some small nitpicks left. I'll try to do some research on the page.reload()
thing, but other than that it's great!
Co-authored-by: Kai Hao <kevin830726@gmail.com>
Co-authored-by: Kai Hao <kevin830726@gmail.com>
Co-authored-by: Kai Hao <kevin830726@gmail.com>
Co-authored-by: Kai Hao <kevin830726@gmail.com>
Co-authored-by: Kai Hao <kevin830726@gmail.com>
Co-authored-by: Kai Hao <kevin830726@gmail.com>
Co-authored-by: Kai Hao <kevin830726@gmail.com>
Co-authored-by: Kai Hao <kevin830726@gmail.com>
Co-authored-by: Kai Hao <kevin830726@gmail.com>
Co-authored-by: Kai Hao <kevin830726@gmail.com>
* Migrate revert template test to Playwright * Improve selectors. * Address review feedback. * Update test/e2e/specs/site-editor/template-revert.spec.js Co-authored-by: Kai Hao <kevin830726@gmail.com> * Update test/e2e/specs/site-editor/template-revert.spec.js Co-authored-by: Kai Hao <kevin830726@gmail.com> * Update test/e2e/specs/site-editor/template-revert.spec.js Co-authored-by: Kai Hao <kevin830726@gmail.com> * Update test/e2e/specs/site-editor/template-revert.spec.js Co-authored-by: Kai Hao <kevin830726@gmail.com> * Update test/e2e/specs/site-editor/template-revert.spec.js Co-authored-by: Kai Hao <kevin830726@gmail.com> * Update test/e2e/specs/site-editor/template-revert.spec.js Co-authored-by: Kai Hao <kevin830726@gmail.com> * Update test/e2e/specs/site-editor/template-revert.spec.js Co-authored-by: Kai Hao <kevin830726@gmail.com> * Update test/e2e/specs/site-editor/template-revert.spec.js Co-authored-by: Kai Hao <kevin830726@gmail.com> * Update test/e2e/specs/site-editor/template-revert.spec.js Co-authored-by: Kai Hao <kevin830726@gmail.com> * Update test/e2e/specs/site-editor/template-revert.spec.js Co-authored-by: Kai Hao <kevin830726@gmail.com> * Address PR feedback. Co-authored-by: Kai Hao <kevin830726@gmail.com>
What?
Part of #38851. Migrate and refactor
template-revert.test.js
to Playwright. This suite has some known flaky tests so hopefully the migration fixes #36677 and #36672.Why?
See this post for an overview of the migration.
How?
By following the migration guide.
Testing Instructions
npm run test-e2e:playwright -- test/e2e/specs/site-editor/template-revert.spec.js
Screenshots or screencast