This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
Replies: 1 comment
-
For context on the static mocks, they were initially created by logging an actual response from the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
We initially wrote tests to address the specs listed in #452.
We wrote
Jest
tests as unit tests to address component specs andPlaywright
tests as integration/E2E tests to validate user flows. When issue #452 was created, it made sense to write some of these tests to get some coverage on for the MVP Store page.We have since started to transition from releasing the MVP to optimizing and refactoring our current code. This has begun to expose pain points working with our current testing infrastructure 123.
Problems
The main problems can be boiled down to:
Discussion Questions
What can we change to make it easier to generate these static mocks?
Can we update the spec to address our new priorities and required business logic to refactor what our tests cover?
cc: @dhmacs
Footnotes
https://github.com/iFixit/react-commerce/issues/1400 ↩ ↩2
https://ifixit.slack.com/archives/C01DBJK0H7U/p1678196930648659 ↩ ↩2
https://github.com/iFixit/react-commerce/pull/1425 ↩ ↩2
https://github.com/iFixit/react-commerce/issues/1326 ↩
Beta Was this translation helpful? Give feedback.
All reactions