Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/quarckster/conress

Conress is containerized cypress
https://github.com/quarckster/conress

container cypress javascript testing

Last synced: 10 days ago
JSON representation

Conress is containerized cypress

Awesome Lists containing this project

README

        

# Cypress container image

This repository contains Dockerfiles for building a Fedora based container image with installed
Cypress binary, Google Chrome and Mozilla Firefox browsers as welll as minimal amount of required
dependencies.

## Building arguments

`FIREFOX_VERSION` - desired version of Mozilla Firefox.

`CHROME_VERSION` - desired version of Google Chrome.

`CYPRESS_VERSION` - desired version of Cypress binary.

## Tags

You can pull the image from here:

`quay.io/redhatqe/cypress:latest`

All tags are available on this page:

## Usage

Mount a directory with the application source code and run Cypress using `startcypress`
command:

```sh
podman run -it --rm -p 5999:5999 --shm-size=2g -w /mnt -v .:/mnt quay.io/redhatqe/cypress:latest bash
startcypress open
```

`startcypress` starts and stops `Xvnc`, `fluxbox` and `Cypress` in the right order. It passes all
provided arguments to `Cypress`.

To interact with the [Test Runner](https://on.cypress.io/test-runner) connect via VNC to `Xvnc`
server in the container on port `5999`.