fix: Replace tests with playwright (30-search/30-search--search.cy.ts) #13106
Annotations
10 errors, 2 warnings, and 1 notice
apps/app/playwright/30-search/search.spec.ts#L1
1) [firefox] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ─────────────────────────
Test timeout of 30000ms exceeded.
|
apps/app/playwright/30-search/search.spec.ts#L8
1) [firefox] › 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) [firefox] › 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#L8
1) [firefox] › 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) [firefox] › 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#L8
1) [firefox] › 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#L19
2) [firefox] › 30-search/search.spec.ts:13: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')
17 | // Confirm search result elements are visible
18 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 19 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
20 | await expect(page.getByTestId('search-result-content')).toBeVisible();
21 | await expect(page.locator('.wiki')).toBeVisible();
22 | });
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:19:56
|
apps/app/playwright/30-search/search.spec.ts#L19
2) [firefox] › 30-search/search.spec.ts:13: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')
17 | // Confirm search result elements are visible
18 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 19 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
20 | await expect(page.getByTestId('search-result-content')).toBeVisible();
21 | await expect(page.locator('.wiki')).toBeVisible();
22 | });
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:19:56
|
apps/app/playwright/30-search/search.spec.ts#L19
2) [firefox] › 30-search/search.spec.ts:13: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')
17 | // Confirm search result elements are visible
18 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 19 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
20 | await expect(page.getByTestId('search-result-content')).toBeVisible();
21 | await expect(page.locator('.wiki')).toBeVisible();
22 | });
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:19:56
|
apps/app/playwright/30-search/search.spec.ts#L31
3) [firefox] › 30-search/search.spec.ts:25: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')
29 | // Confirm search result elements are visible
30 | await expect(page.getByTestId('search-result-base')).toBeVisible();
> 31 | await expect(page.getByTestId('search-result-list')).toBeVisible();
| ^
32 | await expect(page.getByTestId('search-result-content')).toBeVisible();
33 | await expect(page.locator('.wiki')).toBeVisible();
34 |
at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:31: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/[firefox] › 60-home/home.spec.ts#L1
apps/app/[firefox] › 60-home/home.spec.ts took 15.7s
|
14 failed
[firefox] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ──────────────────────────
[firefox] › 30-search/search.spec.ts:13:5 › Search page with "q" param is successfully loaded ──
[firefox] › 30-search/search.spec.ts:25:5 › checkboxes behaviors ───────────────────────────────
[firefox] › 30-search/search.spec.ts:89:7 › Search all pages › Search all pages by tag is successfully loaded
[firefox] › 30-search/search.spec.ts:127:7 › Sort with dropdown › Open sort dropdown ───────────
[firefox] › 30-search/search.spec.ts:131:7 › Sort with dropdown › Sort by relevance ────────────
[firefox] › 30-search/search.spec.ts:143:7 › Sort with dropdown › Sort by creation date ────────
[firefox] › 30-search/search.spec.ts:155:7 › Sort with dropdown › Sort by last update date ─────
[firefox] › 30-search/search.spec.ts:180:7 › Search and use › Successfully the dropdown is opened
[firefox] › 30-search/search.spec.ts:184:7 › Search and use › Successfully add bookmark ────────
[firefox] › 30-search/search.spec.ts:195:7 › Search and use › Successfully open duplicate modal
[firefox] › 30-search/search.spec.ts:205:7 › Search and use › Successfully open move/rename modal
[firefox] › 30-search/search.spec.ts:215:7 › Search and use › Successfully open delete modal ───
[firefox] › 30-search/search.spec.ts:226:5 › Search current tree by word is successfully loaded
1 flaky
[firefox] › 30-search/search.spec.ts:76:7 › Search all pages › Successfully created tags ───────
1 did not run
28 passed (9.1m)
|
This job failed
Loading