Skip to content

Add mobile playwright testing #1111

Add mobile playwright testing

Add mobile playwright testing #1111

Triggered via pull request May 30, 2025 15:01
Status Failure
Total duration 5m 40s
Artifacts 1

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
[chromium] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button: tests/e2e/NewOrgModal.spec.ts#L17
1) [chromium] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button Error: A snapshot doesn't exist at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts-snapshots/no-new-org-button-chromium-linux.png, writing actual. 15 | const response = await page.goto("http://localhost:1234"); 16 | expect(response?.status()).toBeLessThan(400); > 17 | await expect(page).toHaveScreenshot("no-new-org-button.png", { | ^ 18 | maxDiffPixels: 100, 19 | }); 20 | at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts:17:5
[chromium] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button: tests/e2e/NewOrgModal.spec.ts#L41
2) [chromium] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button Error: A snapshot doesn't exist at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts-snapshots/new-org-button-chromium-linux.png, writing actual. 39 | const response = await page.goto("http://localhost:1234"); 40 | expect(response?.status()).toBeLessThan(400); > 41 | await expect(page).toHaveScreenshot("new-org-button.png", { | ^ 42 | maxDiffPixels: 100, 43 | }); 44 | at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts:41:5
[firefox] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button: tests/e2e/NewOrgModal.spec.ts#L17
3) [firefox] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button Error: A snapshot doesn't exist at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts-snapshots/no-new-org-button-firefox-linux.png, writing actual. 15 | const response = await page.goto("http://localhost:1234"); 16 | expect(response?.status()).toBeLessThan(400); > 17 | await expect(page).toHaveScreenshot("no-new-org-button.png", { | ^ 18 | maxDiffPixels: 100, 19 | }); 20 | at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts:17:5
[firefox] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button: tests/e2e/NewOrgModal.spec.ts#L41
4) [firefox] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button Error: A snapshot doesn't exist at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts-snapshots/new-org-button-firefox-linux.png, writing actual. 39 | const response = await page.goto("http://localhost:1234"); 40 | expect(response?.status()).toBeLessThan(400); > 41 | await expect(page).toHaveScreenshot("new-org-button.png", { | ^ 42 | maxDiffPixels: 100, 43 | }); 44 | at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts:41:5
[webkit] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button: tests/e2e/NewOrgModal.spec.ts#L17
5) [webkit] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button Error: A snapshot doesn't exist at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts-snapshots/no-new-org-button-webkit-linux.png, writing actual. 15 | const response = await page.goto("http://localhost:1234"); 16 | expect(response?.status()).toBeLessThan(400); > 17 | await expect(page).toHaveScreenshot("no-new-org-button.png", { | ^ 18 | maxDiffPixels: 100, 19 | }); 20 | at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts:17:5
[webkit] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button: tests/e2e/NewOrgModal.spec.ts#L41
6) [webkit] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button Error: A snapshot doesn't exist at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts-snapshots/new-org-button-webkit-linux.png, writing actual. 39 | const response = await page.goto("http://localhost:1234"); 40 | expect(response?.status()).toBeLessThan(400); > 41 | await expect(page).toHaveScreenshot("new-org-button.png", { | ^ 42 | maxDiffPixels: 100, 43 | }); 44 | at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts:41:5
[Mobile Safari] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button: tests/e2e/NewOrgModal.spec.ts#L17
7) [Mobile Safari] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button Error: A snapshot doesn't exist at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts-snapshots/no-new-org-button-Mobile-Safari-linux.png, writing actual. 15 | const response = await page.goto("http://localhost:1234"); 16 | expect(response?.status()).toBeLessThan(400); > 17 | await expect(page).toHaveScreenshot("no-new-org-button.png", { | ^ 18 | maxDiffPixels: 100, 19 | }); 20 | at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts:17:5
[Mobile Safari] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button: tests/e2e/NewOrgModal.spec.ts#L41
8) [Mobile Safari] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button Error: A snapshot doesn't exist at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts-snapshots/new-org-button-Mobile-Safari-linux.png, writing actual. 39 | const response = await page.goto("http://localhost:1234"); 40 | expect(response?.status()).toBeLessThan(400); > 41 | await expect(page).toHaveScreenshot("new-org-button.png", { | ^ 42 | maxDiffPixels: 100, 43 | }); 44 | at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts:41:5
[Mobile Chrome] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button: tests/e2e/NewOrgModal.spec.ts#L17
9) [Mobile Chrome] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button Error: A snapshot doesn't exist at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts-snapshots/no-new-org-button-Mobile-Chrome-linux.png, writing actual. 15 | const response = await page.goto("http://localhost:1234"); 16 | expect(response?.status()).toBeLessThan(400); > 17 | await expect(page).toHaveScreenshot("no-new-org-button.png", { | ^ 18 | maxDiffPixels: 100, 19 | }); 20 | at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts:17:5
[Mobile Chrome] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button: tests/e2e/NewOrgModal.spec.ts#L41
10) [Mobile Chrome] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button Error: A snapshot doesn't exist at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts-snapshots/new-org-button-Mobile-Chrome-linux.png, writing actual. 39 | const response = await page.goto("http://localhost:1234"); 40 | expect(response?.status()).toBeLessThan(400); > 41 | await expect(page).toHaveScreenshot("new-org-button.png", { | ^ 42 | maxDiffPixels: 100, 43 | }); 44 | at /home/runner/work/share-ui/share-ui/tests/e2e/NewOrgModal.spec.ts:41:5
🎭 Playwright Run Summary
10 failed [chromium] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button [chromium] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button [firefox] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button [firefox] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button [webkit] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button [webkit] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button [Mobile Safari] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button [Mobile Safari] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button [Mobile Chrome] › tests/e2e/NewOrgModal.spec.ts:14:7 › without being signed in › can *NOT* see the 'New Org' button [Mobile Chrome] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button 1 flaky [Mobile Safari] › tests/e2e/NewOrgModal.spec.ts:38:7 › while being signed in › can see the 'New Org' button 163 passed (3.3m)

Artifacts

Produced during runtime
Name Size Digest
failed-snapshots Expired
1.93 MB
sha256:86c5cae23c2c0e4dbabc64f86894454671e87aaa4f9b7f6f2f3b6dccc1eb1c93