Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

offboarded-x233534/showcase-testcafe-e2e-tests-angular

Repository files navigation

showcase-bdd-e2e-testing-testcafe-angular-gherkin

Showcase Testcafe for Angular


 

Usage Example 1: Testcafe test Angular App served static

We will build our Angular app and serve the dist dir via a webserver (express). Then run the Testcafe E2E tests against that instance. After the tests are done the webserver is stopped.

git clone https://github.com/csgruenebe/showcase-testcafe-e2e-tests-angular.git
cd showcase-testcafe-e2e-tests-angular
npm install

npm run build
npm run test:e2e

# or headless

npm run test:e2e:headless

 

Usage Example 2: Docker

Run with Predefined Docker Image

‼️ can currently not start webserver

docker run -v $(pwd):/tests -it testcafe/testcafe 'chromium --no-sandbox' /tests/e2e-testcafe/test-dashboard.ts

 

Further Reading


 

License

MIT comSysto GmbH

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published