enhancement: fix Cetelem bank transations #17746
Workflow file for this run
This file contains hidden or 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: E2E Tests | |
on: | |
pull_request: | |
env: | |
GITHUB_PR_NUMBER: ${{github.event.pull_request.number}} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
netlify: | |
name: Wait for Netlify build to finish | |
runs-on: ubuntu-latest | |
outputs: | |
netlify_url: ${{ steps.netlify.outputs.url }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- name: Wait for Netlify build to finish | |
id: netlify | |
env: | |
COMMIT_SHA: ${{ github.event.pull_request.head.sha }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: ./.github/actions/netlify-wait-for-build | |
functional: | |
name: Functional | |
needs: netlify | |
runs-on: ubuntu-latest | |
container: | |
image: mcr.microsoft.com/playwright:v1.56.0-jammy | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- name: Run E2E Tests on Netlify URL | |
run: yarn e2e | |
env: | |
E2E_START_URL: ${{ needs.netlify.outputs.netlify_url }} | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: desktop-client-test-results | |
path: packages/desktop-client/test-results/ | |
retention-days: 30 | |
overwrite: true | |
functional-desktop-app: | |
name: Functional Desktop App | |
runs-on: ubuntu-latest | |
container: | |
image: mcr.microsoft.com/playwright:v1.56.0-jammy | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- name: Run Desktop app E2E Tests | |
run: | | |
xvfb-run --auto-servernum --server-args="-screen 0 1920x1080x24" -- yarn e2e:desktop | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: desktop-app-test-results | |
path: packages/desktop-electron/e2e/test-results/ | |
retention-days: 30 | |
overwrite: true | |
vrt: | |
name: Visual regression | |
needs: netlify | |
runs-on: ubuntu-latest | |
container: | |
image: mcr.microsoft.com/playwright:v1.56.0-jammy | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- name: Run VRT Tests on Netlify URL | |
run: yarn vrt | |
env: | |
E2E_START_URL: ${{ needs.netlify.outputs.netlify_url }} | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: desktop-client-test-results | |
path: packages/desktop-client/test-results/ | |
retention-days: 30 | |
overwrite: true |