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

https://github.com/thunder/admin-theme-testing

Visual regression testing for drupal admin themes
https://github.com/thunder/admin-theme-testing

Last synced: 3 days ago
JSON representation

Visual regression testing for drupal admin themes

Awesome Lists containing this project

README

          

## 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```