feat: integrate visual testing #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Visual testing | |
on: | |
workflow_run: | |
workflows: ['AWS Amplify Console Web Preview'] | |
types: | |
- completed | |
workflow_dispatch: | |
repository_dispatch: | |
types: [run_visual_testing] | |
pull_request: | |
branches: [main] | |
jobs: | |
visual-testing: | |
runs-on: ubuntu-latest | |
container: cypress/included:cypress-13.6.4-node-20.11.0-chrome-121.0.6167.85-1-ff-120.0-edge-121.0.2277.83-1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run visual testing | |
run: cypress run --browser chrome --config viewportWidth=1024,viewportHeight=768 |