This is an example project for doing web automation testing with Gauge. This project tests some of the functionalities of the active admin demo app. This app is hosted as a Java WAR (with embedded Jetty).
The tests are run on Chrome by default.
This example requires the following softwares to run.
To run the tests locally, here are the instructions to bring up the SUT
docker run -p 8000:8000 sasilverain/activeadmin-demo- The SUT should now be available at http://localhost:8000/
Note: Docker-compose yml defined in this example brings up the SUT
This example illustrates running Gauge specs in a docker-compose setup.
The topology:
db: holds a postgres instancelocal-demo.activeadmin.info: a Ruby on Rails demo applicationtest: contains the gauge-taiko tests that verifies againstlocal-demo.activeadmin.info
To execute:
docker-compose run test(Note:testis the name of the service defined indocker-compose.yml, and can be changed)
- Concepts
- Specification, Scenario & Step usage
- Table driven execution
- External datasource (special param)
- Running Gauge specs with NPM
Copyright 2020, ThoughtWorks Inc.