mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-29 19:14:22 -05:00
:electron: Playwright testing for electron (#4674)
* playwright testing for electron * pipeline updates * fix normal e2e scripts * fix path to artifact * listing out whats there * attempt to fix ci * umm * again * setting a viewport * window size to be consistent across machine for tests * now it work... Righhttt? * hmm * do it * worflow * will this work * oops * dont skip * trust in the pipeline gods * remove update snapshots, just do it in the pipeline * change name of snapshot to account for os * lint * fix package script
This commit is contained in:
21
.github/workflows/e2e-test.yml
vendored
21
.github/workflows/e2e-test.yml
vendored
@@ -48,6 +48,27 @@ jobs:
|
||||
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.41.1-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
|
||||
|
||||
Reference in New Issue
Block a user