-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: e2e test using POM pattern #33
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## main #33 +/- ##
=======================================
Coverage 41.49% 41.49%
=======================================
Files 39 39
Lines 2270 2270
Branches 80 80
=======================================
Hits 942 942
Misses 1300 1300
Partials 28 28 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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 refactoring it. I like the way it's organized now. 💯
However, I have some objections in the way we query the elements. 😅
Quoting from Testing Library slogan,
The more your tests resemble the way your software is used,
the more confidence they can give you.
So please update the queries to use my initial queries from playwright-testing-library, or you can also experiment with Playwright's new APIs inspired by Testing Library. But first, you need to upgrade the Playwright version to 1.27.0 to use it.
could you please help to recheck @zainfathoni , thanks! |
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 for making the changes accordingly, @depapp! 🙏
@all-contributors add @depapp for test |
I've put up a pull request to add @depapp! 🎉 |
@all-contributors add @depapp for test |
@depapp already contributed before to test |
Closes #24 (comment)
Description
refactor e2e test to use Page-Object-Model pattern.
Current Tasks
homepage
test