Skip to content

Commit dbdd55b

Browse files
committed
get more e2e logs
1 parent ecc7c19 commit dbdd55b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/e2e.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: npm ci
3131
working-directory: tests-e2e
3232
- name: Install Playwright Browsers
33-
run: npx playwright install --with-deps
33+
run: npx playwright install chromium --with-deps
3434
working-directory: tests-e2e
3535
- name: Install Composer dependencies
3636
run: composer install
@@ -54,5 +54,7 @@ jobs:
5454
if: ${{ !cancelled() }}
5555
with:
5656
name: playwright-report
57-
path: tests-e2e/playwright-report/
57+
path: |
58+
tests-e2e/playwright-report/
59+
tests-e2e/site/storage/logs/
5860
retention-days: 30

tests-e2e/helpers.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ export async function init(page: Page, options?: InitOptions) {
1414
? Object.fromEntries(Object.entries(options.session).map(([k, v]) => [`session[${k}]`, v]))
1515
: null,
1616
});
17-
const response = await page.goto(`/e2e/init?${query}`, { waitUntil: 'commit' });
17+
const response = await page.goto(`/e2e/init?${query}`, {
18+
// waitUntil: 'commit'
19+
});
1820
expect(response?.ok(), 'Init ok').toBe(true);
1921
});
2022
}

0 commit comments

Comments
 (0)