fix: Replace tests with playwright (30-search/30-search--search.cy.ts) #13109
Annotations
10 errors, 2 warnings, and 1 notice
apps/app/playwright/30-search/search.spec.ts#L37
1) [webkit] › 30-search/search.spec.ts:30: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')
35 | await expect(page.getByTestId('search-result-base')).toBeVisible();
36 |
> 37 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
38 | await expect(page.getByTestId('search-result-content')).toBeVisible();
39 | await expect(page.locator('.wiki')).toBeVisible();
40 | });
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:37:56
|
apps/app/playwright/30-search/search.spec.ts#L37
1) [webkit] › 30-search/search.spec.ts:30: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')
35 | await expect(page.getByTestId('search-result-base')).toBeVisible();
36 |
> 37 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
38 | await expect(page.getByTestId('search-result-content')).toBeVisible();
39 | await expect(page.locator('.wiki')).toBeVisible();
40 | });
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:37:56
|
apps/app/playwright/30-search/search.spec.ts#L37
1) [webkit] › 30-search/search.spec.ts:30: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')
35 | await expect(page.getByTestId('search-result-base')).toBeVisible();
36 |
> 37 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
38 | await expect(page.getByTestId('search-result-content')).toBeVisible();
39 | await expect(page.locator('.wiki')).toBeVisible();
40 | });
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:37:56
|
apps/app/playwright/30-search/search.spec.ts#L49
2) [webkit] › 30-search/search.spec.ts:43: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')
47 | // Confirm search result elements are visible
48 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 49 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
50 | await expect(page.getByTestId('search-result-content')).toBeVisible();
51 | await expect(page.locator('.wiki')).toBeVisible();
52 |
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:49:56
|
apps/app/playwright/30-search/search.spec.ts#L49
2) [webkit] › 30-search/search.spec.ts:43: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')
47 | // Confirm search result elements are visible
48 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 49 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
50 | await expect(page.getByTestId('search-result-content')).toBeVisible();
51 | await expect(page.locator('.wiki')).toBeVisible();
52 |
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:49:56
|
apps/app/playwright/30-search/search.spec.ts#L49
2) [webkit] › 30-search/search.spec.ts:43: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')
47 | // Confirm search result elements are visible
48 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 49 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
50 | await expect(page.getByTestId('search-result-content')).toBeVisible();
51 | await expect(page.locator('.wiki')).toBeVisible();
52 |
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:49:56
|
apps/app/playwright/30-search/search.spec.ts#L138
3) [webkit] › 30-search/search.spec.ts:145: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')
136 |
137 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 138 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
139 | await expect(page.getByTestId('search-result-content')).toBeVisible();
140 |
141 | // open sort dropdown
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:138:58
|
apps/app/playwright/30-search/search.spec.ts#L138
3) [webkit] › 30-search/search.spec.ts:145: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')
136 |
137 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 138 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
139 | await expect(page.getByTestId('search-result-content')).toBeVisible();
140 |
141 | // open sort dropdown
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:138:58
|
apps/app/playwright/30-search/search.spec.ts#L138
3) [webkit] › 30-search/search.spec.ts:145: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')
136 |
137 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 138 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
139 | await expect(page.getByTestId('search-result-content')).toBeVisible();
140 |
141 | // open sort dropdown
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:138:58
|
apps/app/playwright/30-search/search.spec.ts#L138
4) [webkit] › 30-search/search.spec.ts:149:7 › Sort with dropdown › Sort by relevance ────────────
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')
136 |
137 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 138 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
139 | await expect(page.getByTestId('search-result-content')).toBeVisible();
140 |
141 | // open sort dropdown
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:138: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/[webkit] › 60-home/home.spec.ts#L1
apps/app/[webkit] › 60-home/home.spec.ts took 16.1s
|
12 failed
[webkit] › 30-search/search.spec.ts:30:5 › Search page with "q" param is successfully loaded ───
[webkit] › 30-search/search.spec.ts:43:5 › checkboxes behaviors ────────────────────────────────
[webkit] › 30-search/search.spec.ts:145:7 › Sort with dropdown › Open sort dropdown ────────────
[webkit] › 30-search/search.spec.ts:149:7 › Sort with dropdown › Sort by relevance ─────────────
[webkit] › 30-search/search.spec.ts:160:7 › Sort with dropdown › Sort by creation date ─────────
[webkit] › 30-search/search.spec.ts:171:7 › Sort with dropdown › Sort by last update date ──────
[webkit] › 30-search/search.spec.ts:195:7 › Search and use › Successfully the dropdown is opened
[webkit] › 30-search/search.spec.ts:199:7 › Search and use › Successfully add bookmark ─────────
[webkit] › 30-search/search.spec.ts:210:7 › Search and use › Successfully open duplicate modal ─
[webkit] › 30-search/search.spec.ts:220:7 › Search and use › Successfully open move/rename modal
[webkit] › 30-search/search.spec.ts:230:7 › Search and use › Successfully open delete modal ────
[webkit] › 30-search/search.spec.ts:241:5 › Search current tree by word is successfully loaded ─
30 passed (6.5m)
|
This job failed
Loading