Public | Automated Build

Last pushed: 2 years ago
Short Description
Adds X11 requirements to base node/argon image to run Electron tests with tape-run
Full Description


A demo to setup a tape-run environment on linux with Docker

There's a known issue that electron does not support headless testing on Linux, but we can use xvfb to create a virtual frame environment to make it work.

Here's a little demo setup to make it work with docker, same idea could applied to any Linux environment.

To build the docker image

docker build -t docker-tape-run .

To run the test

docker run docker-tape-run

This repo copies ideas from Running Nightmare headlessly on Linux

Docker Pull Command
Source Repository