Skip to content

Chore/pw e2e refactor #16

Chore/pw e2e refactor

Chore/pw e2e refactor #16

Triggered via pull request February 7, 2024 14:08
Status Success
Total duration 3m 58s
Artifacts

e2e_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 3 warnings, and 1 notice
[chromium] › e2eTests/notificationsOperations.spec.ts:26:1 › Add delivery channel: playwright/e2eTests/notificationsOperations.spec.ts#L1
1) [chromium] › e2eTests/notificationsOperations.spec.ts:26:1 › Add delivery channel ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › e2eTests/notificationsOperations.spec.ts:26:1 › Add delivery channel: playwright/e2eTests/notificationsOperations.spec.ts#L32
1) [chromium] › e2eTests/notificationsOperations.spec.ts:26:1 › Add delivery channel ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Add delivery channel', exact: true }) - locator resolved to <button type="button" tabindex="-1" origin-tabindex="0" …>…</button> 30 | notificationsPage, 31 | }) => { > 32 | await notificationsPage.addDeliveryChannelButton.click(); | ^ 33 | await notificationsPage.modalSelectChannelTypeButton.click(); 34 | await page.getByRole("button", { name: `${channelType}` }).click(); 35 | await page.locator(`input:below(:text('${channelType}'))`).fill(channelAccountName); at /home/runner/work/web2.0/web2.0/playwright/e2eTests/notificationsOperations.spec.ts:32:54
[chromium] › e2eTests/notificationsOperations.spec.ts:55:1 › Add subscription: playwright/e2eTests/notificationsOperations.spec.ts#L1
2) [chromium] › e2eTests/notificationsOperations.spec.ts:55:1 › Add subscription ───────────────── Test timeout of 30000ms exceeded.
[chromium] › e2eTests/notificationsOperations.spec.ts:55:1 › Add subscription: playwright/e2eTests/notificationsOperations.spec.ts#L60
2) [chromium] › e2eTests/notificationsOperations.spec.ts:55:1 › Add subscription ───────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-tid=\'Tag testTag\']') 58 | await page.locator(`button:has-text("${channelAccountNameEdited}")`).click(); 59 | await page.locator("[data-tid='Tag dropdown select']").click(); > 60 | await page.locator(`[data-tid='Tag ${tag}']`).click(); | ^ 61 | await notificationsPage.modalActionDeliveryChannelButton("Add").click(); 62 | }); 63 | at /home/runner/work/web2.0/web2.0/playwright/e2eTests/notificationsOperations.spec.ts:60:51
[chromium] › e2eTests/notificationsOperations.spec.ts:55:1 › Add subscription: playwright/e2eTests/notificationsOperations.spec.ts#L58
2) [chromium] › e2eTests/notificationsOperations.spec.ts:55: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")') 56 | await notificationsPage.addSubscriptionButton.click(); 57 | await notificationsPage.modalSelectDeliveryChannelButton.click(); > 58 | await page.locator(`button:has-text("${channelAccountNameEdited}")`).click(); | ^ 59 | await page.locator("[data-tid='Tag dropdown select']").click(); 60 | await page.locator(`[data-tid='Tag ${tag}']`).click(); 61 | await notificationsPage.modalActionDeliveryChannelButton("Add").click(); at /home/runner/work/web2.0/web2.0/playwright/e2eTests/notificationsOperations.spec.ts:58:74
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/
E2E tests
No files were found with the provided path: playwright-report. No artifacts will be uploaded.
🎭 Playwright Run Summary
2 flaky [chromium] › e2eTests/notificationsOperations.spec.ts:26:1 › Add delivery channel ────────────── [chromium] › e2eTests/notificationsOperations.spec.ts:55:1 › Add subscription ────────────────── 2 skipped 10 passed (1.4m)