- Protractor with Jasmin
Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
- https://www.protractortest.org/#/tutorial
- https://semaphoreci.com/community/tutorials/getting-started-with-protractor-and-cucumber
- Node (for installing packages)
- Java (for Selenium Server)
Run npm install
to install the dependencies
Run webdriver-manager update
to download required selenium artifacts
Run webdriver-manager start
to start selenium
or
Run rpm run setup
to setup and start selenium
Run protractor protractor.conf.js
to run all matching E2Es
- PROTRACTOR_TARGET_ENV
- SPEC_OVERRIDE
- protractor.conf.js
Global configuration for protractor framework - e2e/spec.js
Test files to execute E2E tests
[Test Scripts] < ------------ > [Selenium Server] < ------------ > [Browser Drivers]