top of page

Automation with cypress to test user flows on Shirly finance app.

 

The tests replicate user flows for:

1. Creating a new account.

2. Logging in with an existing account.

3. Creating and editing a list.

4. Removing items from a list.

5. Deleting a list. ​

​Test Plan

Objectives

  • Ensure End-2-End user workflows work as expected. 

  • Enable consistent and repeatable test execution across environments.

​

 Scope of Testing​

  • Login/Logout

  • User registration.

  • Lists Creation.

  • Shopping list generation.

​

Environment Setup

  1. Clone the project repo.

  2. Install dependencies:

    bash

    CopyEdit

    npm install

  3. Install Cypress:

    bash

    CopyEdit

    npm install cypress --save-dev

  4. Add a cypress.config.js file and configure baseUrl, viewport, etc.

​

Folder Structure

bash

CopyEdit

/cypress ├── /e2e ├── /fixtures ├── /support ├── /pages (optional, for Page Object Model)​

​

Test Cases & Scenarios

​​​​​​​​

​

​

​

​

​

​

​

​​

​

Screenshot 2025-07-31 at 5.02.48 PM.png
bottom of page