fix: Replace tests with playwright (30-search/30-search--search.cy.ts) #13103
Annotations
10 errors, 2 warnings, and 2 notices
apps/app/playwright/30-search/search.spec.ts#L1
1) [chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ────────────────────────
Test timeout of 30000ms exceeded.
|
apps/app/playwright/30-search/search.spec.ts#L6
1) [chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('rebuild-index-button')
- locator resolved to <button disabled type="submit" class="btn btn-primary" data-testid="rebuild-index-button">Rebuild index</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #22
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying cl
|
apps/app/playwright/30-search/search.spec.ts#L1
1) [chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
apps/app/playwright/30-search/search.spec.ts#L6
1) [chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('rebuild-index-button')
- locator resolved to <button disabled type="submit" class="btn btn-primary" data-testid="rebuild-index-button">Rebuild index</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #22
- waiting 500ms
- wait
|
apps/app/playwright/30-search/search.spec.ts#L1
1) [chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
apps/app/playwright/30-search/search.spec.ts#L6
1) [chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('rebuild-index-button')
- locator resolved to <button disabled type="submit" class="btn btn-primary" data-testid="rebuild-index-button">Rebuild index</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #22
- waiting 500ms
- wait
|
apps/app/playwright/30-search/search.spec.ts#L17
2) [chromium] › 30-search/search.spec.ts:11: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')
15 | // Confirm search result elements are visible
16 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 17 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
18 | await expect(page.getByTestId('search-result-content')).toBeVisible();
19 | await expect(page.locator('.wiki')).toBeVisible();
20 | });
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:17:56
|
apps/app/playwright/30-search/search.spec.ts#L17
2) [chromium] › 30-search/search.spec.ts:11: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')
15 | // Confirm search result elements are visible
16 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 17 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
18 | await expect(page.getByTestId('search-result-content')).toBeVisible();
19 | await expect(page.locator('.wiki')).toBeVisible();
20 | });
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:17:56
|
apps/app/playwright/30-search/search.spec.ts#L17
2) [chromium] › 30-search/search.spec.ts:11: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')
15 | // Confirm search result elements are visible
16 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 17 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
18 | await expect(page.getByTestId('search-result-content')).toBeVisible();
19 | await expect(page.locator('.wiki')).toBeVisible();
20 | });
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:17:56
|
apps/app/playwright/30-search/search.spec.ts#L29
3) [chromium] › 30-search/search.spec.ts:23: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')
27 | // Confirm search result elements are visible
28 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 29 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
30 | await expect(page.getByTestId('search-result-content')).toBeVisible();
31 | await expect(page.locator('.wiki')).toBeVisible();
32 |
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:29:56
|
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/[chromium] › 60-home/home.spec.ts#L1
apps/app/[chromium] › 60-home/home.spec.ts took 15.9s
|
14 failed
[chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ─────────────────────────
[chromium] › 30-search/search.spec.ts:11:5 › Search page with "q" param is successfully loaded ─
[chromium] › 30-search/search.spec.ts:23:5 › checkboxes behaviors ──────────────────────────────
[chromium] › 30-search/search.spec.ts:87:7 › Search all pages › Search all pages by tag is successfully loaded
[chromium] › 30-search/search.spec.ts:125:7 › Sort with dropdown › Open sort dropdown ──────────
[chromium] › 30-search/search.spec.ts:129:7 › Sort with dropdown › Sort by relevance ───────────
[chromium] › 30-search/search.spec.ts:141:7 › Sort with dropdown › Sort by creation date ───────
[chromium] › 30-search/search.spec.ts:153:7 › Sort with dropdown › Sort by last update date ────
[chromium] › 30-search/search.spec.ts:178:7 › Search and use › Successfully the dropdown is opened
[chromium] › 30-search/search.spec.ts:182:7 › Search and use › Successfully add bookmark ───────
[chromium] › 30-search/search.spec.ts:193:7 › Search and use › Successfully open duplicate modal
[chromium] › 30-search/search.spec.ts:203:7 › Search and use › Successfully open move/rename modal
[chromium] › 30-search/search.spec.ts:213:7 › Search and use › Successfully open delete modal ──
[chromium] › 30-search/search.spec.ts:224:5 › Search current tree by word is successfully loaded
1 flaky
[chromium] › 30-search/search.spec.ts:74:7 › Search all pages › Successfully created tags ──────
1 did not run
28 passed (9.1m)
|
|
This job failed
Loading