Skip to content

🧪 Example of simple E2E test with Page Object pattern written in JS using Protractor and Jasmine frameworks.

Notifications You must be signed in to change notification settings

pmicko/protractor-e2e-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Automation with Protractor

CI version

Example of simple E2E test with Page Object pattern written in JS using Protractor and Jasmine frameworks.

Setup

preconditions

  • Protractor runs in NodeJS, so you need to have it installed on your system as well.
  • Chrome browser (test will run in Chrome by default)

installation

In terminal, run following command:

npm install

This will:

  • install test packages
  • download drivers for browsers

Test Execution

In terminal, run following command:

npm run test

To run in headless mode (without GUI), run following command:

npm run test-ci

Features

  • Examples with and without page object pattern
  • Running e2e on CI using Github Workflow
  • Test report generation

About

🧪 Example of simple E2E test with Page Object pattern written in JS using Protractor and Jasmine frameworks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published