Skip to content

Chore/pw e2e refactor #20

Chore/pw e2e refactor

Chore/pw e2e refactor #20

Triggered via pull request February 8, 2024 06:47
Status Success
Total duration 3m 47s
Artifacts 1

e2e_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 2 warnings, and 1 notice
[chromium-all] › e2eTests/triggerOperations.spec.ts:27:1 › Add trigger: playwright/e2eTests/triggerOperations.spec.ts#L1
1) [chromium-all] › e2eTests/triggerOperations.spec.ts:27:1 › Add trigger ──────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium-all] › e2eTests/triggerOperations.spec.ts:27:1 › Add trigger: playwright/e2eTests/triggerOperations.spec.ts#L30
1) [chromium-all] › 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> - 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> - 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> 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
[chromium-all] › e2eTests/triggerOperations.spec.ts:52:1 › Duplicate trigger: playwright/e2eTests/triggerOperations.spec.ts#L1
2) [chromium-all] › e2eTests/triggerOperations.spec.ts:52:1 › Duplicate trigger ────────────────── Test timeout of 30000ms exceeded.
[chromium-all] › e2eTests/triggerOperations.spec.ts:52:1 › Duplicate trigger: playwright/e2eTests/triggerOperations.spec.ts#L60
2) [chromium-all] › e2eTests/triggerOperations.spec.ts:52:1 › Duplicate trigger ────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByText('test trigger name') 58 | const mainPage = new MainPage(page); 59 | await mainPage.gotoMainPage(); > 60 | await page.getByText(triggerName).click(); | ^ 61 | 62 | const triggerInfoPage = new TriggerInfoPage(page); 63 | await triggerInfoPage.menuListButton.click(); at /home/runner/work/web2.0/web2.0/playwright/e2eTests/triggerOperations.spec.ts:60:39
[chromium-all] › e2eTests/triggerOperations.spec.ts:52:1 › Duplicate trigger: playwright/e2eTests/triggerOperations.spec.ts#L60
2) [chromium-all] › e2eTests/triggerOperations.spec.ts:52:1 › Duplicate trigger ────────────────── 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') 58 | const mainPage = new MainPage(page); 59 | await mainPage.gotoMainPage(); > 60 | await page.getByText(triggerName).click(); | ^ 61 | 62 | const triggerInfoPage = new TriggerInfoPage(page); 63 | await triggerInfoPage.menuListButton.click(); at /home/runner/work/web2.0/web2.0/playwright/e2eTests/triggerOperations.spec.ts:60:39
E2E tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v2, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2E tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
🎭 Playwright Run Summary
2 flaky [chromium-all] › e2eTests/triggerOperations.spec.ts:27:1 › Add trigger ───────────────────────── [chromium-all] › e2eTests/triggerOperations.spec.ts:52:1 › Duplicate trigger ─────────────────── 2 skipped 10 passed (1.4m)

Artifacts

Produced during runtime
Name Size
test-results Expired
905 KB