fix: Replace tests with playwright (30-search/30-search--search.cy.ts) #13101
Annotations
10 errors, 2 warnings, and 1 notice
apps/app/playwright/30-search/search.spec.ts#L9
1) [firefox] › 30-search/search.spec.ts:3:5 › Search page with "q" param is successfully loaded ──
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('search-result-list')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('search-result-list')
7 | // Confirm search result elements are visible
8 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 9 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
10 | await expect(page.getByTestId('search-result-content')).toBeVisible();
11 | await expect(page.locator('.wiki')).toBeVisible();
12 | });
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:9:56
|
apps/app/playwright/30-search/search.spec.ts#L9
1) [firefox] › 30-search/search.spec.ts:3:5 › Search page with "q" param is successfully loaded ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('search-result-list')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('search-result-list')
7 | // Confirm search result elements are visible
8 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 9 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
10 | await expect(page.getByTestId('search-result-content')).toBeVisible();
11 | await expect(page.locator('.wiki')).toBeVisible();
12 | });
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:9:56
|
apps/app/playwright/30-search/search.spec.ts#L9
1) [firefox] › 30-search/search.spec.ts:3:5 › Search page with "q" param is successfully loaded ──
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('search-result-list')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('search-result-list')
7 | // Confirm search result elements are visible
8 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 9 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
10 | await expect(page.getByTestId('search-result-content')).toBeVisible();
11 | await expect(page.locator('.wiki')).toBeVisible();
12 | });
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:9:56
|
apps/app/playwright/30-search/search.spec.ts#L21
2) [firefox] › 30-search/search.spec.ts:15:5 › checkboxes behaviors ──────────────────────────────
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('search-result-list')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('search-result-list')
19 | // Confirm search result elements are visible
20 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 21 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
22 | await expect(page.getByTestId('search-result-content')).toBeVisible();
23 | await expect(page.locator('.wiki')).toBeVisible();
24 |
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:21:56
|
apps/app/playwright/30-search/search.spec.ts#L21
2) [firefox] › 30-search/search.spec.ts:15:5 › checkboxes behaviors ──────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('search-result-list')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('search-result-list')
19 | // Confirm search result elements are visible
20 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 21 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
22 | await expect(page.getByTestId('search-result-content')).toBeVisible();
23 | await expect(page.locator('.wiki')).toBeVisible();
24 |
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:21:56
|
apps/app/playwright/30-search/search.spec.ts#L21
2) [firefox] › 30-search/search.spec.ts:15:5 › checkboxes behaviors ──────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('search-result-list')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('search-result-list')
19 | // Confirm search result elements are visible
20 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 21 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
22 | await expect(page.getByTestId('search-result-content')).toBeVisible();
23 | await expect(page.locator('.wiki')).toBeVisible();
24 |
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:21:56
|
apps/app/playwright/30-search/search.spec.ts#L90
3) [firefox] › 30-search/search.spec.ts:79:7 › Search all pages › Search all pages by tag is successfully loaded
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('search-result-list')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('search-result-list')
88 | // Confirm search result elements are visible
89 | const searchResultList = page.getByTestId('search-result-list');
> 90 | await expect(searchResultList).toBeVisible();
| ^
91 | await expect(searchResultList.locator('li')).toHaveCount(1);
92 | });
93 |
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:90:36
|
apps/app/playwright/30-search/search.spec.ts#L110
4) [firefox] › 30-search/search.spec.ts:117:7 › Sort with dropdown › Open sort dropdown ──────────
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('search-result-list')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('search-result-list')
108 |
109 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 110 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
111 | await expect(page.getByTestId('search-result-content')).toBeVisible();
112 |
113 | // open sort dropdown
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:110:58
|
apps/app/playwright/30-search/search.spec.ts#L110
4) [firefox] › 30-search/search.spec.ts:117:7 › Sort with dropdown › Open sort dropdown ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('search-result-list')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('search-result-list')
108 |
109 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 110 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
111 | await expect(page.getByTestId('search-result-content')).toBeVisible();
112 |
113 | // open sort dropdown
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:110:58
|
apps/app/playwright/30-search/search.spec.ts#L110
4) [firefox] › 30-search/search.spec.ts:117:7 › Sort with dropdown › Open sort dropdown ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('search-result-list')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('search-result-list')
108 |
109 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 110 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
111 | await expect(page.getByTestId('search-result-content')).toBeVisible();
112 |
113 | // open sort dropdown
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:110:58
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: weseek/ghaction-slack-notification@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
apps/app/[firefox] › 60-home/home.spec.ts#L1
apps/app/[firefox] › 60-home/home.spec.ts took 16.3s
|
13 failed
[firefox] › 30-search/search.spec.ts:3:5 › Search page with "q" param is successfully loaded ───
[firefox] › 30-search/search.spec.ts:15:5 › checkboxes behaviors ───────────────────────────────
[firefox] › 30-search/search.spec.ts:79:7 › Search all pages › Search all pages by tag is successfully loaded
[firefox] › 30-search/search.spec.ts:117:7 › Sort with dropdown › Open sort dropdown ───────────
[firefox] › 30-search/search.spec.ts:121:7 › Sort with dropdown › Sort by relevance ────────────
[firefox] › 30-search/search.spec.ts:133:7 › Sort with dropdown › Sort by creation date ────────
[firefox] › 30-search/search.spec.ts:145:7 › Sort with dropdown › Sort by last update date ─────
[firefox] › 30-search/search.spec.ts:170:7 › Search and use › Successfully the dropdown is opened
[firefox] › 30-search/search.spec.ts:174:7 › Search and use › Successfully add bookmark ────────
[firefox] › 30-search/search.spec.ts:185:7 › Search and use › Successfully open duplicate modal
[firefox] › 30-search/search.spec.ts:195:7 › Search and use › Successfully open move/rename modal
[firefox] › 30-search/search.spec.ts:205:7 › Search and use › Successfully open delete modal ───
[firefox] › 30-search/search.spec.ts:216:5 › Search current tree by word is successfully loaded
1 flaky
[firefox] › 30-search/search.spec.ts:66:7 › Search all pages › Successfully created tags ───────
1 did not run
28 passed (7.7m)
|
This job failed
Loading