feat/trigger events filters #187
Annotations
8 errors and 1 notice
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
|
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
|
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
|
playwright/e2eTests/triggerOperations.spec.ts#L1
2) [chromium] › e2eTests/triggerOperations.spec.ts:27:1 › Add trigger ────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
playwright/e2eTests/triggerOperations.spec.ts#L30
2) [chromium] › e2eTests/triggerOperations.spec.ts:27: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 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 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 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 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 tabindex="0" href="/trigger/new" data-tid="Add T…>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 tabindex="0" href="/trigger/new" data-tid="Add T…>Add Trigger</a>
- locator resolved to <a tabindex="0" href="/trigger/new" data-tid="Add T…>Add Trigger</a>
- 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 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 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 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 tabindex="-1" href="/trigger/new" origin-tabinde…>Add Trigger</a>
- 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 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
28 | const mainPage = new MainPage(page);
29 | await mainPage.gotoMainPage();
> 30 | await mainPage.addTriggerButton.click();
| ^
31 | await expect(page).toHaveURL("/trigger/new");
32 |
33 | const triggerForm = new TriggerForm(page);
at /home/runner/work/web2.0/web2.0/playwright/e2eTests/triggerOperations.spec.ts:30:37
|
playwright/e2eTests/triggerOperations.spec.ts#L62
3) [chromium] › e2eTests/triggerOperations.spec.ts:54:1 › Duplicate trigger ──────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByText('test trigger name') resolved to 3 elements:
1) <div class="src-Components-TriggerListItem-TriggerLis…>test trigger name changed</div> aka getByRole('link', { name: 'test trigger name changed' })
2) <div class="src-Components-TriggerListItem-TriggerLis…>test trigger name (copy)</div> aka getByRole('link', { name: 'test trigger name (copy)' })
3) <div class="src-Components-TriggerListItem-TriggerLis…>test trigger name</div> aka getByRole('link', { name: 'test trigger name testmetric' })
Call log:
- waiting for getByText('test trigger name')
60 | const mainPage = new MainPage(page);
61 | await mainPage.gotoMainPage();
> 62 | await page.getByText(triggerName).click();
| ^
63 |
64 | const triggerInfoPage = new TriggerInfoPage(page);
65 | await triggerInfoPage.menuListButton.click();
at /home/runner/work/web2.0/web2.0/playwright/e2eTests/triggerOperations.spec.ts:62:39
|
playwright/e2eTests/triggerOperations.spec.ts#L131
4) [chromium] › e2eTests/triggerOperations.spec.ts:87:1 › Edit existing trigger ──────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('test trigger name changed')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('test trigger name changed')
129 |
130 | await expect(page).toHaveURL(`/trigger/${responseJson.id}`);
> 131 | await expect(page.getByText(triggerNameChanged)).toBeVisible();
| ^
132 | await expect(page.getByText(triggerDescriptionChanged)).toBeVisible();
133 | await expect(page.getByText("metric1")).toBeVisible();
134 | await expect(page.getByText("metric3")).toBeVisible();
at /home/runner/work/web2.0/web2.0/playwright/e2eTests/triggerOperations.spec.ts:131:54
|
|
1 failed
[cleanup db] › e2eTests/global.teardown.ts:3:8 › Deleting tag ──────────────────────────────────
3 flaky
[chromium] › e2eTests/triggerOperations.spec.ts:27:1 › Add trigger ─────────────────────────────
[chromium] › e2eTests/triggerOperations.spec.ts:54:1 › Duplicate trigger ───────────────────────
[chromium] › e2eTests/triggerOperations.spec.ts:87:1 › Edit existing trigger ───────────────────
1 skipped
14 passed (1.2m)
|
This job failed
Loading