-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 mentions tests to playwright #43064
Migrate mentions tests to playwright #43064
Conversation
FYI: First two test cases are passing, but the last one "Insert two subsequent mentions" is not passing. |
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.
Thanks for working on this.
packages/e2e-test-utils-playwright/src/editor/click-block-appender.ts
Outdated
Show resolved
Hide resolved
Hey @talldan |
@kevin940726 @JustinyAhin Can you please check if it looks good to you ? |
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.
Sorry for the late reviews! Thanks for your patience!
package-lock.json
Outdated
@@ -18668,7 +18668,7 @@ | |||
"app-root-dir": { | |||
"version": "1.0.2", | |||
"resolved": "https://registry.npmjs.org/app-root-dir/-/app-root-dir-1.0.2.tgz", | |||
"integrity": "sha512-jlpIfsOoNoafl92Sz//64uQHGSyMrD2vYG5d8o2a4qGvyNCvXur7bzIsWtAC/6flI2RYAp3kv8rsfBtaLm7w0g==", | |||
"integrity": "sha1-OBh+wt6nV3//Az/8sSFyaS/24Rg=", |
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.
Not sure why this file is changed?
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.
I haven't made any changes to these files 🤔
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.
Yeah, it could be like that sometimes after running npm install
. You can just revert the changes here by running git checkout trunk -- package-lock.json
or something similar.
packages/e2e-test-utils-playwright/src/editor/click-block-appender.ts
Outdated
Show resolved
Hide resolved
Hey @kevin940726 |
Hi there! I don't think all the feedback has been addressed yet 😅 . Would you mind checking it again? |
@kevin940726 Yeah you are right :D it got missed somehow. Addressed now, the only one thing I am not really sure, what do I need to do to fix that, left comment there. |
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 to me! Just some accidentally changed files left 💯
@kevin940726 It should be fine now, I hope. |
There are still changes in the |
dedeb79
to
712a223
Compare
Somehow code editor was applying formatting everytime after commit
@kevin940726 Thanks for your patience. Now I can see only 2 files changed, so it should be good now 🤞 |
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 a lot! 🙇
What?
Part of #38851. Migrate mentions.test.js to its Playwright version.
Why?
See this post for an overview of the migration.
How?
By following the migration guide.
Testing Instructions
Run
npm run test-e2e:playwright test/e2e/specs/editor/various/mentions.spec.js