Added Cypress scripts for Turborepo. Developers can now run pnpm cypress:open to open the UI version of Cypress or pnpm cypress:run to run the Cypress test using the Chrome browser in their terminal. Note that Cypress is only set up for the web directory, to set up for admin, just run pnpm cypress:open and do the necessary first-time setup
Added tests for the Marketplace page
Changed some components to use the data-cy attribute, so we can refer to the component in the E2E tests.
Types of Changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Issue fix (non-breaking change that addresses existing opened issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Refactoring change (refactoring change must not apply any form of functional change)
Fixes
Notion Task Coverage
Checklist
[x] Related issues linked using fixes #number. / There is no issue fix.
[x] Unit tests or E2E tests added for any new feature changes. / There is no new feature that requires test.
[x] Ensured that there's no linter errors.
[x] Ran the full set of testings and coverage reports exceed 80%. / There is currently no test.
[x] All Merge Conflicts have been fully resolved.
[x] Branch is rebased off the target branch.
[x] This PR is complete and does not have incomplete work that'll break the application.
Description
pnpm cypress:open
to open the UI version of Cypress orpnpm cypress:run
to run the Cypress test using the Chrome browser in their terminal. Note that Cypress is only set up for theweb
directory, to set up for admin, just runpnpm cypress:open
and do the necessary first-time setupdata-cy
attribute, so we can refer to the component in the E2E tests.Types of Changes
Fixes
Notion Task Coverage
Checklist
fixes #number
. / There is no issue fix.