diff --git a/.github/workflows/e2e-cypress-tests.yml b/.github/workflows/e2e-cypress-tests.yml new file mode 100644 index 000000000..2940bc832 --- /dev/null +++ b/.github/workflows/e2e-cypress-tests.yml @@ -0,0 +1,34 @@ +name: End to End Cypress Test + +on: + push: + branches: + - test/cypress + paths: + - "frontend/**" + +jobs: + cypress-run: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Cypress.io + uses: cypress-io/github-action@v6.5.0 + + - name: Upload Cypress screenshots + uses: actions/upload-artifact@v3 + if: failure() + with: + name: cypress-screenshots + path: cypress/screenshots + if-no-files-found: ignore + + - name: Upload Cypress videos + uses: actions/upload-artifact@v3 + with: + name: cypress-videos + path: cypress/videos + if-no-files-found: ignore