Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

mobomo/cypress-test-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobomo Cypress Test Development Environment

Based on the mobomo/cypress-test-runner image, and provides a web based VS Code IDE to natively develop and debug Cypress/Cucumber tests for any project.

Docker Compose Example

version: "3.9"
services:
  test-dev:
    image: mobomo/cypress-test-env:latestS
    ports:
      - 8000:8000
    networks:
      - cypress
    volumes:
      - server-data:/mnt/server-data
      - ./tests:/app/app
      - ./reports:/app/reportsS
volumes:
  server-data:
networks:
  cypress:

The mounted volumes include:

  • server-data: a persistent volume to store the vscode server binary and data.
  • ./tests: which is the folder containing the test code
  • ./reports: The location that the cypress test reports need to be written out to.
  • (Not included in example) a cypress.config.js cypress configuration can be mounted at /app/cypress.config.js to override the default container configuration.

Connecting to the environment

The container exposes port 8000. Browse to http://localhost:8000/?workspace=/app/testing.code-workspace which will load the appropriately pre-configured workspace where the test code can be created/edited and ran.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published