Skip to content

Chore/pw e2e

Chore/pw e2e #23

Triggered via pull request February 9, 2024 11:17
Status Success
Total duration 5m 11s
Artifacts

e2e_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 2 warnings, and 1 notice
[chromium] › e2eTests/notificationsOperations.spec.ts:28:1 › Add trigger: playwright/e2eTests/notificationsOperations.spec.ts#L1
1) [chromium] › e2eTests/notificationsOperations.spec.ts:28:1 › Add trigger ────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › e2eTests/notificationsOperations.spec.ts:28:1 › Add trigger: playwright/e2eTests/notificationsOperations.spec.ts#L32
1) [chromium] › e2eTests/notificationsOperations.spec.ts:28: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 is visible, enabled and stable - scrolling into view if needed - 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> 30 | const triggerForm = new TriggerForm(page); 31 | await mainPage.gotoMainPage(); > 32 | await mainPage.addTriggerButton.click(); | ^ 33 | await expect(page).toHaveURL("/trigger/new"); 34 | await triggerForm.triggerNameField.fill("test trigger name"); 35 | await triggerForm.descriptionField.fill("test trigger description"); at /home/runner/work/web2.0/web2.0/playwright/e2eTests/notificationsOperations.spec.ts:32:37
[chromium] › e2eTests/notificationsOperations.spec.ts:75:1 › Add subscription: playwright/e2eTests/notificationsOperations.spec.ts#L1
2) [chromium] › e2eTests/notificationsOperations.spec.ts:75:1 › Add subscription ───────────────── Test timeout of 30000ms exceeded.
[chromium] › e2eTests/notificationsOperations.spec.ts:75:1 › Add subscription: playwright/e2eTests/notificationsOperations.spec.ts#L81
2) [chromium] › e2eTests/notificationsOperations.spec.ts:75:1 › Add subscription ───────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-tid=\'Tag testTag\']') 79 | await page.locator(`button:has-text("${channelAccountNameEdited}")`).click(); 80 | await page.locator("[data-tid='Tag dropdown select']").click(); > 81 | await page.locator(`[data-tid='Tag ${tag}']`).click(); | ^ 82 | await notificationsPage.modalActionDeliveryChannelButton("Add").click(); 83 | }); 84 | at /home/runner/work/web2.0/web2.0/playwright/e2eTests/notificationsOperations.spec.ts:81:51
[chromium] › e2eTests/notificationsOperations.spec.ts:75:1 › Add subscription: playwright/e2eTests/notificationsOperations.spec.ts#L79
2) [chromium] › e2eTests/notificationsOperations.spec.ts:75:1 › Add subscription ───────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: locator('button:has-text("#testtelegramaccount")') resolved to 2 elements: 1) <button tabindex="-1" class="react-ui-133l4zi" data-tid=…>…</button> aka getByRole('button', { name: '#testtelegramaccount' }).first() 2) <button tabindex="-1" class="react-ui-133l4zi" data-tid=…>…</button> aka getByRole('button', { name: '#testtelegramaccount' }).nth(1) Call log: - waiting for locator('button:has-text("#testtelegramaccount")') 77 | await notificationsPage.addSubscriptionButton.click(); 78 | await notificationsPage.modalSelectDeliveryChannelButton.click(); > 79 | await page.locator(`button:has-text("${channelAccountNameEdited}")`).click(); | ^ 80 | await page.locator("[data-tid='Tag dropdown select']").click(); 81 | await page.locator(`[data-tid='Tag ${tag}']`).click(); 82 | await notificationsPage.modalActionDeliveryChannelButton("Add").click(); at /home/runner/work/web2.0/web2.0/playwright/e2eTests/notificationsOperations.spec.ts:79:74
[chromium] › e2eTests/triggerOperations.spec.ts:27:1 › Add trigger: playwright/e2eTests/triggerOperations.spec.ts#L1
3) [chromium] › e2eTests/triggerOperations.spec.ts:27:1 › Add trigger ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › e2eTests/triggerOperations.spec.ts:27:1 › Add trigger: playwright/e2eTests/triggerOperations.spec.ts#L30
3) [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 is visible, enabled and stable - scrolling into view if needed - 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> - 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="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> - 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] › e2eTests/triggerOperations.spec.ts:52:1 › Duplicate trigger: playwright/e2eTests/triggerOperations.spec.ts#L1
4) [chromium] › e2eTests/triggerOperations.spec.ts:52:1 › Duplicate trigger ────────────────────── Test timeout of 30000ms exceeded.
[chromium] › e2eTests/triggerOperations.spec.ts:52:1 › Duplicate trigger: playwright/e2eTests/triggerOperations.spec.ts#L60
4) [chromium] › 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] › e2eTests/triggerOperations.spec.ts:52:1 › Duplicate trigger: playwright/e2eTests/triggerOperations.spec.ts#L60
4) [chromium] › 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. 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. 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
4 flaky [chromium] › e2eTests/notificationsOperations.spec.ts:28:1 › Add trigger ─────────────────────── [chromium] › e2eTests/notificationsOperations.spec.ts:75:1 › Add subscription ────────────────── [chromium] › e2eTests/triggerOperations.spec.ts:27:1 › Add trigger ───────────────────────────── [chromium] › e2eTests/triggerOperations.spec.ts:52:1 › Duplicate trigger ─────────────────────── 4 skipped 7 passed (2.5m)