Skip to content

thunder/admin-theme-testing

Repository files navigation

Installation

nvm use && npm ci

Set LFS filter for local development repository

After repository is cloned, it's preferred to setup LFS filter for screenshots folder. It can be done once with following line: cypress/snapshots/** filter=lfs diff=lfs merge=lfs -text

After that following line should be executed to get all existing screenshots from repository: git lfs pull

Every following git pull/push should work properly with LFS integration, as long .gitattributes is in local repository.

Usage

Run debugging GUI. npx cypress open

Update reference images on local environment. docker run -it -v $PWD:/e2e -w /e2e cypress/included:9.2.1 --spec cypress/integration/*.spec.js --browser chrome --env updateSnapshots=true

docker run -it -v $PWD:/e2e -w /e2e cypress/included:9.2.1 --spec cypress/integration/*.spec.js --browser firefox --env updateSnapshots=true

About

Visual regression testing for drupal admin themes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published