Skip to content

Feat/dark theme

Feat/dark theme #302

Triggered via pull request December 6, 2024 09:24
Status Failure
Total duration 3m 33s
Artifacts 1

e2e_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 notice
[cleanup db] › e2eTests/global.teardown.ts:3:8 › Deleting tag: playwright/e2eTests/global.teardown.ts#L5
1) [cleanup db] › e2eTests/global.teardown.ts:3:8 › Deleting tag ───────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 400 3 | cleanup("Deleting tag", async ({ request }) => { 4 | const response = await request.delete("/api/tag/testTag"); > 5 | expect(response.status()).toBe(200); | ^ 6 | }); 7 | at /home/runner/work/web2.0/web2.0/playwright/e2eTests/global.teardown.ts:5:31
[cleanup db] › e2eTests/global.teardown.ts:3:8 › Deleting tag: playwright/e2eTests/global.teardown.ts#L5
1) [cleanup db] › e2eTests/global.teardown.ts:3:8 › Deleting tag ───────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 400 3 | cleanup("Deleting tag", async ({ request }) => { 4 | const response = await request.delete("/api/tag/testTag"); > 5 | expect(response.status()).toBe(200); | ^ 6 | }); 7 | at /home/runner/work/web2.0/web2.0/playwright/e2eTests/global.teardown.ts:5:31
[cleanup db] › e2eTests/global.teardown.ts:3:8 › Deleting tag: playwright/e2eTests/global.teardown.ts#L5
1) [cleanup db] › e2eTests/global.teardown.ts:3:8 › Deleting tag ───────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 400 3 | cleanup("Deleting tag", async ({ request }) => { 4 | const response = await request.delete("/api/tag/testTag"); > 5 | expect(response.status()).toBe(200); | ^ 6 | }); 7 | at /home/runner/work/web2.0/web2.0/playwright/e2eTests/global.teardown.ts:5:31
[chromium] › e2eTests/triggerOperations.spec.ts:35:1 › Add trigger: playwright/e2eTests/triggerOperations.spec.ts#L1
2) [chromium] › e2eTests/triggerOperations.spec.ts:35:1 › Add trigger ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › e2eTests/triggerOperations.spec.ts:35:1 › Add trigger: playwright/pages/main.page.ts#L17
2) [chromium] › e2eTests/triggerOperations.spec.ts:35:1 › Add trigger ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: Test timeout of 30000ms exceeded. Call log: - navigating to "http://localhost:9000/", waiting until "load" at pages/main.page.ts:17 15 | 16 | async gotoMainPage(): Promise<void> { > 17 | await this.page.goto("/"); | ^ 18 | } 19 | } 20 | at MainPage.gotoMainPage (/home/runner/work/web2.0/web2.0/playwright/pages/main.page.ts:17:25) at /home/runner/work/web2.0/web2.0/playwright/e2eTests/triggerOperations.spec.ts:37:20
[chromium] › e2eTests/triggerOperations.spec.ts:61:1 › Set trigger maintenance for all intervals: playwright/e2eTests/triggerOperations.spec.ts#L82
3) [chromium] › e2eTests/triggerOperations.spec.ts:61:1 › Set trigger maintenance for all intervals Error: expect(received).toEqual(expected) // deep equality Expected: 1733480851 Received: 1733480852 80 | const requestBody = JSON.parse(setMaintenanceRequest.postData() || "{}"); 81 | expect(requestBody).not.toBeNull(); > 82 | expect(requestBody.trigger).toEqual(expectedTriggerTime); | ^ 83 | 84 | if (maintenance === Maintenance.off) { 85 | await expect(page.getByText("Maintenance")).toBeVisible(); at /home/runner/work/web2.0/web2.0/playwright/e2eTests/triggerOperations.spec.ts:82:41 at /home/runner/work/web2.0/web2.0/playwright/e2eTests/triggerOperations.spec.ts:69:9
[chromium] › e2eTests/triggerOperations.spec.ts:61:1 › Set trigger maintenance for all intervals: playwright/e2eTests/triggerOperations.spec.ts#L64
3) [chromium] › e2eTests/triggerOperations.spec.ts:61:1 › Set trigger maintenance for all intervals Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByText('test trigger name') resolved to 2 elements: 1) <div class="src-Components-TriggerListItem-TriggerLis…>test trigger name</div> aka getByRole('link', { name: 'test trigger name testmetric' }).first() 2) <div class="src-Components-TriggerListItem-TriggerLis…>test trigger name</div> aka getByRole('link', { name: 'test trigger name testmetric' }).nth(1) Call log: - waiting for getByText('test trigger name') 62 | const mainPage = new MainPage(page); 63 | await mainPage.gotoMainPage(); > 64 | await page.getByText(triggerName).click(); | ^ 65 | 66 | const triggerInfoPage = new TriggerInfoPage(page); 67 | at /home/runner/work/web2.0/web2.0/playwright/e2eTests/triggerOperations.spec.ts:64:39
E2E tests
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed [cleanup db] › e2eTests/global.teardown.ts:3:8 › Deleting tag ────────────────────────────────── 2 flaky [chromium] › e2eTests/triggerOperations.spec.ts:35:1 › Add trigger ───────────────────────────── [chromium] › e2eTests/triggerOperations.spec.ts:61:1 › Set trigger maintenance for all intervals 3 skipped 16 passed (59.5s)

Artifacts

Produced during runtime
Name Size
test-results
414 KB