harley1011 / RestoTouch

A web application for providing virtual menus to restaurants
3 stars 1 forks source link

Configure E2e testing #74

Closed harley1011 closed 7 years ago

harley1011 commented 7 years ago

Story: Adding some e2e testing would be useful using protractor, it's already somewhat in the project because it came with the template so it shouldn't be too difficult to setup

Story Points: 5 Priority: Medium Risk: High

ghost commented 7 years ago

Tasks (9h)

1) Protractor Research (3h)

2) Tests (4h)

3) Demo (1h)

Tex08 commented 7 years ago

Protractor Test Folder

Protractor Configuration File

Demo

  1. Install Protractor with command: 'npm install -g protractor'
  2. Run Selenium server in terminal, command: 'webdriver-manager start'
  3. Run the website in development mode, commands:
    • 'npm start'
    • 'npm run start.dev'
  4. To run the Protractor end-to-end tests, simply type in the following command: 'protractor protractor.conf.js'