Skip to content

zabil/template-docker-compose

 
 

Repository files navigation

Gauge example in Javascript

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).

Running this example

The tests are run on Chrome by default.

Prerequisites

This example requires the following softwares to run.

Setting up the System Under Test (SUT)

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

Run specs

This example illustrates running Gauge specs in a docker-compose setup.

The topology:

  • db: holds a postgres instance
  • local-demo.activeadmin.info: a Ruby on Rails demo application
  • test: contains the gauge-taiko tests that verifies against local-demo.activeadmin.info

To execute:

  • docker-compose run test (Note: test is the name of the service defined in docker-compose.yml, and can be changed)

Topics covered in the example

Copyright

Copyright 2020, ThoughtWorks Inc.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 64.5%
  • Dockerfile 35.5%