mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2026-03-14 05:03:49 +08:00
test(e2e): follow-up fixes for post-merge copilot review feedback
This commit is contained in:
15
.github/workflows/nightly-e2e.yml
vendored
15
.github/workflows/nightly-e2e.yml
vendored
@@ -55,10 +55,6 @@ jobs:
|
||||
npm ci
|
||||
npx playwright install --with-deps chromium
|
||||
|
||||
- name: Generate E2E fixtures
|
||||
working-directory: tests/e2e
|
||||
run: npm run gen:all
|
||||
|
||||
- name: Start fixture server
|
||||
run: |
|
||||
cd tests/e2e/fixtures
|
||||
@@ -97,20 +93,13 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Run smoke suite
|
||||
working-directory: tests/e2e
|
||||
env:
|
||||
KK_BASE_URL: http://127.0.0.1:8012
|
||||
FIXTURE_BASE_URL: http://127.0.0.1:18080
|
||||
run: npm run test:smoke
|
||||
|
||||
- name: Run perf suite
|
||||
- name: Run nightly E2E suites
|
||||
working-directory: tests/e2e
|
||||
env:
|
||||
KK_BASE_URL: http://127.0.0.1:8012
|
||||
FIXTURE_BASE_URL: http://127.0.0.1:18080
|
||||
E2E_MAX_PREVIEW_MS: 20000
|
||||
run: npm run test:perf
|
||||
run: npm run test:ci
|
||||
|
||||
- name: Upload Playwright report
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user