Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 749 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 749 Bytes

Context

This is a simple html app with some basic "TODO list" functionality.

user interface of the app

Instructions

Run the app

  • Navigate to the src/webapp folder
  • npm install
  • npm run start-server

Then you'll be able to navigate to the localhost:8080 in your browser and use the app.

Running tests

Unit tests (Jest)

  • Navigate to the src/webapp/api folder
  • npm install
  • npm run test

E2E tests (Cypress)

  • Navigate to the e2e/cypress folder
  • npm install
  • npm run test

Alternatively you could run npm run open to open Cypress UI and start the tests from there.

Note that the tests would fail if you are NOT running the todo app, see the instructions above ⬆️