Skip to content

sitecrafting/lando-node-cypress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lando-node-cypress

Run Cypress inside a Lando-compatible Node container.

This image satisfies two simple requirements:

To that end, lando-node-cypress is extremely minimal, replicating the Lando- native Node service image but also including xvfb, which is required for Cypress's headless browser testing.

Usage

docker run -it sitecrafting/lando-node-cypress:8.11

Example Landofile

NOTE: this syntax is for Lando 3.0.0-rc.2 and above. See Updating to 3.0.0-rc.2+ for details.

name: lando-node-cypress-example
recipe: lamp
config:
  php: '7.0'

services:
  cypress:
    type: node:8

    run:
      # This assumes you have declared `cypress` as a dependency in package.json
      - yarn cypress install

    overrides:
      image: 'sitecrafting/lando-node-cypress:8.11'

About

Run Cypress inside a Lando-compatible Node container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published