Run tests with real browsers
2.8K
This project has been renamed from martinsthiago/polymer-tester
It's a docker image from ubuntu:16.10 with node:6.9.1, bower, git, chrome and Xvfb targeting continuous integration with Wercker
We run Xvfb (fake screen) in background, so you can run gui applications inside the container
Basically all you need to do is to include a wercker.yml file in the root path of your project containing your configuration. For example
box: martinsthiago/web-tester
build:
steps:
- script:
name: dependencies installation
code: |
npm install -g gulp-cli
npm install
bower install
- script:
name: tests execution
code: |
gulp test
- script:
name: build execution
code: |
gulp
This image tries to provide as little as possible for running tests on chrome, depending on your workflow you may want to install other things like
| Program | Command |
|---|---|
| Java Jre 8 | apt install -y openjdk-8-jre-headless |
| Firefox | apt install -y firefox |
| Vnc | apt install -y x11vnc |
This project has been renamed from polymer-tester -> web-tester because now it is more concise and agnostic, so with little setup we can run almost any front-end test instead of polymer tests only
Content type
Image
Digest
Size
288.5 MB
Last updated
over 9 years ago
docker pull martinsthiago/web-tester