-
-
Notifications
You must be signed in to change notification settings - Fork 730
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
Add automated tests for unit price in backoffice #7260
Add automated tests for unit price in backoffice #7260
Conversation
96dfc13
to
a96245b
Compare
a96245b
to
09c44f2
Compare
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.
That's much better! 😄
09c44f2
to
e9795ea
Compare
Codecov Report
@@ Coverage Diff @@
## master #7260 +/- ##
=======================================
Coverage 89.68% 89.68%
=======================================
Files 648 648
Lines 18849 18849
=======================================
Hits 16905 16905
Misses 1944 1944 Continue to review full report at Codecov.
|
Needs a rebase 👍 |
- Use `variant_unit_price` for `id` attribute and `variant[unit_price]` for `name` attribute - Previously, there was an duplicated `#id` on the page because we used `:price`
- So, `<label />` is rightly linked to its `<input />`
3 cases: - creating a new product - creating a new variant - editing an existing variant
e9795ea
to
9126901
Compare
Done! |
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! Thanks @jibees. The build is green apart from the CodeCov check so I'm going to merge.
What? Why?
This PR adds 3 tests for unit price in backoffice, for each 3 cases:
Closes #7069
What should we test?
Green build.
Release notes
Add automated tests for unit price in backoffice
Changelog Category: Technical changes