Skip to content

Chore/pw e2e

Chore/pw e2e #8

Triggered via pull request January 27, 2024 13:37
Status Failure
Total duration 3m 26s
Artifacts

e2e_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 3 warnings, and 1 notice
[chromium] › e2eTests/02-teamsOperations.spec.ts:9:9 › TeamsPage › Teams operations: <anonymous>#L3466
1) [chromium] › e2eTests/02-teamsOperations.spec.ts:9:9 › TeamsPage › Teams operations ─────────── Error: expect.not.toBeVisible: Error: "right-of" engine expects a selector list and optional maximum distance in pixels at Object.matches (<anonymous>:3466:15) at <anonymous>:3314:21 at SelectorEvaluatorImpl._cached (<anonymous>:3116:20) at SelectorEvaluatorImpl._callMatches (<anonymous>:3313:17) at SelectorEvaluatorImpl._matchesEngine (<anonymous>:3300:19) at <anonymous>:3198:19 at SelectorEvaluatorImpl._cached (<anonymous>:3116:20) at SelectorEvaluatorImpl._matchesSimple (<anonymous>:3192:17) at <anonymous>:3259:20 at SelectorEvaluatorImpl._cached (<anonymous>:3116:20) Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for locator(':text("test user name"):right-of span[data-tid=\'Delete user test user name\']') at Object.matches (/home/runner/work/web2.0/web2.0/<anonymous>:3466:15) at /home/runner/work/web2.0/web2.0/<anonymous>:3314:21 at SelectorEvaluatorImpl._cached (/home/runner/work/web2.0/web2.0/<anonymous>:3116:20) at SelectorEvaluatorImpl._callMatches (/home/runner/work/web2.0/web2.0/<anonymous>:3313:17) at SelectorEvaluatorImpl._matchesEngine (/home/runner/work/web2.0/web2.0/<anonymous>:3300:19) at /home/runner/work/web2.0/web2.0/<anonymous>:3198:19 at SelectorEvaluatorImpl._cached (/home/runner/work/web2.0/web2.0/<anonymous>:3116:20) at SelectorEvaluatorImpl._matchesSimple (/home/runner/work/web2.0/web2.0/<anonymous>:3192:17) at /home/runner/work/web2.0/web2.0/<anonymous>:3259:20 at SelectorEvaluatorImpl._cached (/home/runner/work/web2.0/web2.0/<anonymous>:3116:20) at /home/runner/work/web2.0/web2.0/playwright/e2eTests/02-teamsOperations.spec.ts:50:19 at /home/runner/work/web2.0/web2.0/playwright/e2eTests/02-teamsOperations.spec.ts:43:9
[chromium] › e2eTests/02-teamsOperations.spec.ts:9:9 › TeamsPage › Teams operations: playwright/e2eTests/02-teamsOperations.spec.ts#L1
1) [chromium] › e2eTests/02-teamsOperations.spec.ts:9:9 › TeamsPage › Teams operations ─────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › e2eTests/02-teamsOperations.spec.ts:9:9 › TeamsPage › Teams operations: playwright/e2eTests/02-teamsOperations.spec.ts#L14
1) [chromium] › e2eTests/02-teamsOperations.spec.ts:9:9 › TeamsPage › Teams operations ─────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByText('Add team') 12 | await teamsPage.gotoTeamsPage(); 13 | await expect(page).toHaveURL("/teams"); > 14 | await teamsPage.addTeamButton.click(); | ^ 15 | await teamsPage.nameInput("Team name").fill(TEAM_NAME); 16 | await teamsPage.teamDescription.fill(TEAM_DESCRIPTION); 17 | await teamsPage.previewButton.click(); at /home/runner/work/web2.0/web2.0/playwright/e2eTests/02-teamsOperations.spec.ts:14:43 at /home/runner/work/web2.0/web2.0/playwright/e2eTests/02-teamsOperations.spec.ts:11:9
[chromium] › e2eTests/02-teamsOperations.spec.ts:9:9 › TeamsPage › Teams operations: playwright/e2eTests/02-teamsOperations.spec.ts#L19
1) [chromium] › e2eTests/02-teamsOperations.spec.ts:9:9 › TeamsPage › Teams operations ─────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: getByText('test team description') resolved to 2 elements: 1) <p>test team description changed</p> aka getByText('test team description changed') 2) <p>test team description</p> aka getByText('test team description', { exact: true }) Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('test team description') 17 | await teamsPage.previewButton.click(); 18 | await expect(teamsPage.nameInput("Team name")).toHaveAttribute("value", TEAM_NAME); > 19 | await expect(page.getByText(TEAM_DESCRIPTION)).toBeVisible(); | ^ 20 | 21 | Promise.all([ 22 | await page.locator("[data-tid='Confirm add team']").click(), at /home/runner/work/web2.0/web2.0/playwright/e2eTests/02-teamsOperations.spec.ts:19:60 at /home/runner/work/web2.0/web2.0/playwright/e2eTests/02-teamsOperations.spec.ts:11:9
E2E tests
Process completed with exit code 1.
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
1 failed [chromium] › e2eTests/02-teamsOperations.spec.ts:9:9 › TeamsPage › Teams operations ──────────── 2 passed (54.1s)