Skip to content
mrwarrens edited this page Dec 1, 2017 · 2 revisions

This is an example of a nrwl workspace using Cucumber & Protractor. By default nrwl executes e2e tests with Jasmin & Protractor.

Commit converting jasmine/protractor to cucumber/protractor

https://github.com/mrwarrens/nrwl-cucumber/commit/0e1a14cde3e499c0119e652b84360495bb2de8dd

Some highlights

Configurations to use cucumber and command line arguments

https://github.com/mrwarrens/nrwl-cucumber/blob/master/protractor.conf.js

Configuring chai-as-promised

https://github.com/mrwarrens/nrwl-cucumber/blob/master/e2e/core.js

E2E tests for apps

https://github.com/mrwarrens/nrwl-cucumber/tree/master/apps/myapp1/e2e https://github.com/mrwarrens/nrwl-cucumber/tree/master/apps/myapp2/e2e

Clone this wiki locally