Set up a Cypress E2E testing.
Make sure you have yarn 4.0.0 or later installed. Clone the repository and install dependencies:
yarn install
Set environment BASE_URL
to the URL of the application you want to test. e.g: http://localhost:3000
yarn cy:run
yarn cy:allure:generate
yarn cy:allure:open
yarn cy:visual:report:generate
yarn cy:visual:report:open
yarn cy:visual:update-baseline
Scope of the Test Plan: This test plan is focused on the Dashboard Sales page of the application. Which means we will be testing the following scenarios:
- Verify the Dashboard Sales page is displayed correctly.
- Verify the Dashboard Menu options navigate correctly
- Sales
- Analytics
- Finance
- Crypto
- Verify the Dashboard Sales page is responsive
- On Desktop
- On Tablet (iPad)
- On Mobile (iPhone)
- Verify the Dashboard Sales Charts are displayed correctly
- Verify the chart tooltip is displayed correctly on mouse hover
- Verify the Dashboard Sales Tiles are displayed correctly
- Recent Orders
- Top Selling Products
- Recent Activities
- Transactions
- Balance Wallet
- Verify the user can view details
- Verify the user can make a payment