Skip to content

A project to show how to replace protractor for webdriber.io for running your e2e test, using custom builder @migalons/angular-wdio-builder

License

Notifications You must be signed in to change notification settings

migalons/angular-wdio-builder-demo

Repository files navigation

AngularWdioBuilderDemo

This project is intended to show how to include your e2e test developed using webdriver.io framework, into angular workspace, so you can integrate these test into angular lifecycle, replacing protractor test.

For enabling this, it includes a custom angular builder: @migalons/angular-wdio-builder

This project was generated with Angular CLI version 9.0.5.

Running end-to-end tests

  • Install dependencies with npm i.

    Note: Personally, sometimes I had some difficulties trying to install chromedriver npm dependency, because of the binary download. But this is easy to fix following instructions.

  • Run npm run e2e or npx ng e2e to execute the end-to-end tests via wdio.

  • For trying different options with builder parameters, just try to run with npm run e2e:custom-config-file or npm run e2e:custom-options

  • Also it's possible to try different ng comand line options, for example:

npx ng e2e

npx ng e2e -c custom-config-file

PORT=1234 npx ng e2e --port 1234

About

A project to show how to replace protractor for webdriber.io for running your e2e test, using custom builder @migalons/angular-wdio-builder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published