Skip to content

to-panda5/cypress-tests

Repository files navigation

Cypress Tests

Setup

Cypress setup

  1. Check prerequisites.
  2. Run npm install.
  3. Create environment variables file:
    • Make copy of .env_template file.
    • Update values in the copy.
    • Rename copy to .env.
  4. Run npm run cypress:open or npx cypress open to start Cypress.
  5. A window will open with the Cypress test runner.

Prerequisites

  • Node - Ensure that your Node version is 18.x or 20.x and above (docs).
  • For Linux users - For Linux users, it's essential to verify the presence of all the required packages mentioned in the documentation.
  • For WSL users - If you are using WSL, confirm the installation of an X-Server, a popular choice is VcXsrv.

Other

Shopmost Postman Collection

Link to collection, just download and import into the Postman.

Shopmost Setup

  1. Start Postgres instance.
    docker run --name shopmost-db -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=shopmost -d -p 5432:5432 postgres:13.12
  2. In Shopmost checkout to latest working branch (optionally create your own branch for testing purposes).
    git checkout 1d95be030580401426ab7e66966dd804a14be64e
    git switch -c testing
  3. Setup Shopmost application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published