Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.06 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.06 KB

This project was bootstrapped with Create React App.

login username : manager
login password : password

Available Scripts

Important Components :
App.js
Login.js
Main.js
hotel-info.js
add-edit-modal.js

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.

npm test -- --coverage

Launches the test runner in the interactive watch mode and coverage.

npm run cypress:open

Automation spes are added as part of this application.

  1. cypress/integration/login_logout_spec.js - Test Login and Logout flow
  2. cypress/integration/edit-item_spec.js - Test Edit item flow
  3. cypress/integration/delete-item_spec.js - Test Delete item flow