fix: Replace tests with playwright (30-search/30-search--search.cy.ts) #13125
Annotations
10 errors, 3 warnings, and 2 notices
apps/app/playwright/22-sharelink/access-to-sharelink.spec.ts#L1
1) [chromium] › 22-sharelink/access-to-sharelink.spec.ts:22:7 › Access to sharelink by guest › The sharelink page is successfully loaded
Test timeout of 30000ms exceeded.
|
apps/app/playwright/utils/Login.ts#L19
1) [chromium] › 22-sharelink/access-to-sharelink.spec.ts:22:7 › Access to sharelink by guest › The sharelink page is successfully loaded
Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/admin" until "load"
============================================================
at utils/Login.ts:19
17 | }
18 |
> 19 | await page.waitForURL('/admin');
| ^
20 | await expect(page).toHaveTitle(/Wiki Management Homepage/);
21 |
22 | // End of authentication steps.
at login (/__w/growi/growi/apps/app/playwright/utils/Login.ts:19:14)
at /__w/growi/growi/apps/app/playwright/22-sharelink/access-to-sharelink.spec.ts:35:5
|
apps/app/playwright/23-editor/saving.spec.ts#L18
2) [chromium] › 23-editor/saving.spec.ts:11:5 › Successfully create page under specific path ─────
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('page-create-modal')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('page-create-modal')
16 |
17 | await page.keyboard.press(openPageCreateModalShortcutKey);
> 18 | await expect(page.getByTestId('page-create-modal')).toBeVisible();
| ^
19 | page.getByTestId('page-create-modal').locator('.rbt-input-main').fill(newPagePath);
20 | page.getByTestId('btn-create-page-under-below').click();
21 | await page.getByTestId('view-button').click();
at /__w/growi/growi/apps/app/playwright/23-editor/saving.spec.ts:18:55
|
apps/app/playwright/23-editor/saving.spec.ts#L18
2) [chromium] › 23-editor/saving.spec.ts:11:5 › Successfully create page under specific path ─────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('page-create-modal')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('page-create-modal')
16 |
17 | await page.keyboard.press(openPageCreateModalShortcutKey);
> 18 | await expect(page.getByTestId('page-create-modal')).toBeVisible();
| ^
19 | page.getByTestId('page-create-modal').locator('.rbt-input-main').fill(newPagePath);
20 | page.getByTestId('btn-create-page-under-below').click();
21 | await page.getByTestId('view-button').click();
at /__w/growi/growi/apps/app/playwright/23-editor/saving.spec.ts:18:55
|
apps/app/playwright/23-editor/saving.spec.ts#L18
2) [chromium] › 23-editor/saving.spec.ts:11:5 › Successfully create page under specific path ─────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('page-create-modal')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByTestId('page-create-modal')
16 |
17 | await page.keyboard.press(openPageCreateModalShortcutKey);
> 18 | await expect(page.getByTestId('page-create-modal')).toBeVisible();
| ^
19 | page.getByTestId('page-create-modal').locator('.rbt-input-main').fill(newPagePath);
20 | page.getByTestId('btn-create-page-under-below').click();
21 | await page.getByTestId('view-button').click();
at /__w/growi/growi/apps/app/playwright/23-editor/saving.spec.ts:18:55
|
apps/app/playwright/23-editor/saving.spec.ts#L1
3) [chromium] › 23-editor/saving.spec.ts:28:5 › Successfully updating a page using a shortcut on a previously created page
Test timeout of 30000ms exceeded.
|
apps/app/playwright/23-editor/saving.spec.ts#L36
3) [chromium] › 23-editor/saving.spec.ts:28:5 › Successfully updating a page using a shortcut on a previously created page
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('editor-button')
34 |
35 | // 1st
> 36 | await page.getByTestId('editor-button').click();
| ^
37 | await expect(page.getByTestId('grw-editor-navbar-bottom')).toBeVisible();
38 | await appendTextToEditorUntilContains(page, body1);
39 | await page.keyboard.press(savePageShortcutKey);
at /__w/growi/growi/apps/app/playwright/23-editor/saving.spec.ts:36:43
|
apps/app/playwright/23-editor/saving.spec.ts#L1
3) [chromium] › 23-editor/saving.spec.ts:28:5 › Successfully updating a page using a shortcut on a previously created page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
apps/app/playwright/23-editor/saving.spec.ts#L36
3) [chromium] › 23-editor/saving.spec.ts:28:5 › Successfully updating a page using a shortcut on a previously created page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByTestId('editor-button')
34 |
35 | // 1st
> 36 | await page.getByTestId('editor-button').click();
| ^
37 | await expect(page.getByTestId('grw-editor-navbar-bottom')).toBeVisible();
38 | await appendTextToEditorUntilContains(page, body1);
39 | await page.keyboard.press(savePageShortcutKey);
at /__w/growi/growi/apps/app/playwright/23-editor/saving.spec.ts:36:43
|
apps/app/playwright/23-editor/saving.spec.ts#L1
3) [chromium] › 23-editor/saving.spec.ts:28:5 › Successfully updating a page using a shortcut on a previously created page
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v2, 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/
|
|
30 failed
[chromium] › 22-sharelink/access-to-sharelink.spec.ts:22:7 › Access to sharelink by guest › The sharelink page is successfully loaded
[chromium] › 23-editor/saving.spec.ts:11:5 › Successfully create page under specific path ──────
[chromium] › 23-editor/saving.spec.ts:28:5 › Successfully updating a page using a shortcut on a previously created page
[chromium] › 23-editor/template-modal.spec.ts:3:5 › Successfully select template and template locale
[chromium] › 23-editor/with-navigation.spec.ts:11:5 › should not be cleared and should prevent GrantSelector from modified
[chromium] › 23-editor/with-navigation.spec.ts:65:5 › Successfully updating the page body ──────
[chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ─────────────────────────
[chromium] › 30-search/search.spec.ts:16:5 › Search page with "q" param is successfully loaded ─
[chromium] › 40-admin/access-to-admin-page.spec.ts:3:5 › admin is successfully loaded ──────────
[chromium] › 40-admin/access-to-admin-page.spec.ts:10:5 › admin/app is successfully loaded ─────
[chromium] › 40-admin/access-to-admin-page.spec.ts:20:5 › admin/security is successfully loaded
[chromium] › 40-admin/access-to-admin-page.spec.ts:28:5 › admin/markdown is successfully loaded
[chromium] › 40-admin/access-to-admin-page.spec.ts:35:5 › admin/customize is successfully loaded
[chromium] › 40-admin/access-to-admin-page.spec.ts:41:5 › admin/importer is successfully loaded
[chromium] › 40-admin/access-to-admin-page.spec.ts:47:5 › admin/export is successfully loaded ──
[chromium] › 40-admin/access-to-admin-page.spec.ts:53:5 › admin/notification is successfully loaded
[chromium] › 40-admin/access-to-admin-page.spec.ts:61:5 › admin/slack-integration is successfully loaded
[chromium] › 40-admin/access-to-admin-page.spec.ts:69:5 › admin/slack-integration-legacy is successfully loaded
[chromium] › 40-admin/access-to-admin-page.spec.ts:75:5 › admin/users is successfully loaded ───
[chromium] › 40-admin/access-to-admin-page.spec.ts:82:5 › admin/user-groups is successfully loaded
[chromium] › 40-admin/access-to-admin-page.spec.ts:89:5 › admin/search is successfully loaded ──
[chromium] › 60-home/home.spec.ts:4:5 › Visit User home ────────────────────────────────────────
[chromium] › 60-home/home.spec.ts:16:5 › Vist User settings ────────────────────────────────────
[chromium] › 60-home/home.spec.ts:28:5 › Open questionnaire modal ──────────────────────────────
[chromium] › 60-home/home.spec.ts:40:5 › Access User information ───────────────────────────────
[chromium] › 60-home/home.spec.ts:51:5 › Access External account ───────────────────────────────
[chromium] › 60-home/home.spec.ts:67:5 › Access Password setting ───────────────────────────────
[chromium] › 60-home/home.spec.ts:88:5 › Access API setting ────────────────────────────────────
[chromium] › 60-home/home.spec.ts:100:5 › Access In-App Notification setting ───────────────────
[chromium] › 60-home/home.spec.ts:112:5 › Acccess Other setting ────────────────────────────────
1 flaky
[chromium] › 22-sharelink/access-to-sharelink.spec.ts:8:7 › Access to sharelink by guest › Prepare sharelink
5 passed (23.9m)
|
|
This job failed
Loading