Chore/pw e2e refactor #18
Annotations
5 errors, 2 warnings, and 1 notice
Run tests:
playwright/e2eTests/notificationsOperations.spec.ts#L1
1) [chromium] › e2eTests/notificationsOperations.spec.ts:26:1 › Add delivery channel ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while setting up "notificationsPage".
|
Run tests:
playwright/pages/notifications.page.ts#L32
1) [chromium] › e2eTests/notificationsOperations.spec.ts:26:1 › Add delivery channel ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: Test timeout of 30000ms exceeded.
Call log:
- navigating to "http://localhost:9000/settings", waiting until "load"
at pages/notifications.page.ts:32
30 |
31 | async gotoNotificationsPage(): Promise<void> {
> 32 | await this.page.goto("/settings");
| ^
33 | }
34 | }
35 |
at NotificationsPage.gotoNotificationsPage (/home/runner/work/web2.0/web2.0/playwright/pages/notifications.page.ts:32:25)
at Object.notificationsPage (/home/runner/work/web2.0/web2.0/playwright/e2eTests/notificationsOperations.spec.ts:19:33)
|
Run tests:
playwright/e2eTests/notificationsOperations.spec.ts#L1
2) [chromium] › e2eTests/notificationsOperations.spec.ts:55:1 › Add subscription ─────────────────
Test timeout of 30000ms exceeded.
|
Run tests:
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
|
Run tests:
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
|
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/.
|
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/
|
Run tests
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.5m)
|
The logs for this run have expired and are no longer available.
Loading