Skip to content

Feat/christmas mood #299

Feat/christmas mood

Feat/christmas mood #299

Triggered via pull request December 4, 2024 12:44
Status Failure
Total duration 3m 35s
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/e2eTests/triggerOperations.spec.ts#L38
2) [chromium] › e2eTests/triggerOperations.spec.ts:35:1 › Add trigger ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Add Trigger' }) - locator resolved to <a href="/trigger/new" data-tid="Add Trigger" class…>Add Trigger</a> - attempting click action - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying - locator resolved to <a href="/trigger/new" data-tid="Add Trigger" class…>Add Trigger</a> - attempting click action - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying - locator resolved to <a tabindex="-1" href="/trigger/new" origin-tabinde…>Add Trigger</a> - attempting click action - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying - locator resolved to <a href="/trigger/new" data-tid="Add Trigger" class…>Add Trigger</a> - locator resolved to <a tabindex="-1" href="/trigger/new" origin-tabinde…>Add Trigger</a> - locator resolved to <a tabindex="-1" href="/trigger/new" origin-tabinde…>Add Trigger</a> - locator resolved to <a href="/trigger/new" data-tid="Add Trigger" class…>Add Trigger</a> - attempting click action - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying - locator resolved to <a href="/trigger/new" data-tid="Add Trigger" class…>Add Trigger</a> - attempting click action - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying - locator resolved to <a href="/trigger/new" data-tid="Add Trigger" class…>Add Trigger</a> - locator resolved to <a tabindex="-1" href="/trigger/new" origin-tabinde…>Add Trigger</a> - locator resolved to <a href="/trigger/new" data-tid="Add Trigger" class…>Add Trigger</a> - locator resolved to <a href="/trigger/new" data-tid="Add Trigger" class…>Add Trigger</a> - attempting click action - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying - locator resolved to <a href="/trigger/new" data-tid="Add Trigger" class…>Add Trigger</a> - attempting click action - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying 36 | const mainPage = new MainPage(page); 37 | await mainPage.gotoMainPage(); > 38 | await mainPage.addTriggerButton.click(); | ^ 39 | await expect(page).toHaveURL("/trigger/new"); 40 | 41 | const triggerForm = new TriggerForm(page); at /home/runner/work/web2.0/web2.0/playwright/e2eTests/triggerOperations.spec.ts:38:37
[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 › Set maintenance to 15 min Error: expect(received).toEqual(expected) // deep equality Expected: 1733317359 Received: 1733317360 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#L82
3) [chromium] › e2eTests/triggerOperations.spec.ts:61:1 › Set trigger maintenance for all intervals › Set maintenance to 15 min Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: 1733317395 Received: 1733317396 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
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 (1.0m)

Artifacts

Produced during runtime
Name Size
test-results
466 KB