fix: Replace tests with playwright (30-search/30-search--search.cy.ts) #13112
ci-app-prod.yml
on: pull_request
test-prod-node18
/
build-prod
2m 29s
test-prod-node20
/
build-prod
2m 49s
test-prod-node18
/
launch-prod
1m 30s
Matrix: test-prod-node18 / run-cypress
Matrix: test-prod-node18 / run-playwright
Matrix: test-prod-node20 / run-cypress
Matrix: test-prod-node20 / run-playwright
run-reg-suit-node20
/
run-reg-suit
3m 9s
Annotations
12 errors, 7 warnings, and 7 notices
[chromium] › 30-search/search.spec.ts:13:5 › Search page with "q" param is successfully loaded:
apps/app/playwright/30-search/search.spec.ts#L21
1) [chromium] › 30-search/search.spec.ts:13:5 › Search page with "q" param is successfully loaded
Error: Timed out 7000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.search-result-list')
Expected string: "0 pages"
Received string: "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
Call log:
- expect.toContainText with timeout 7000ms
- waiting for locator('.search-result-list')
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected p
|
[chromium] › 30-search/search.spec.ts:13:5 › Search page with "q" param is successfully loaded:
apps/app/playwright/30-search/search.spec.ts#L21
1) [chromium] › 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).toContainText(expected)
Locator: locator('.search-result-list')
Expected string: "0 pages"
Received string: "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
Call log:
- expect.toContainText with timeout 7000ms
- waiting for locator('.search-result-list')
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLas
|
[chromium] › 30-search/search.spec.ts:13:5 › Search page with "q" param is successfully loaded:
apps/app/playwright/30-search/search.spec.ts#L21
1) [chromium] › 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).toContainText(expected)
Locator: locator('.search-result-list')
Expected string: "0 pages"
Received string: "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
Call log:
- expect.toContainText with timeout 7000ms
- waiting for locator('.search-result-list')
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLast update datetuneinclude /userinclude /trashdeletekeyboard_arrow_downSelect alldeleteDelete selected pagesprogress_activity"
- locator resolved to <div id="search-result-list" class="flex-expand-vert border boder-gray search-result-list">…</div>
- unexpected value "searchsortSort by relevanceexpand_moreSort by relevanceCreation dateLas
|
test-prod-node20 / run-playwright (chromium, 2/2)
Process completed with exit code 1.
|
test-prod-node20 / run-cypress (50)
Cypress tests: 1 failed
|
[webkit] › 20-basic-features/presentation.spec.ts:3:5 › Presentation:
apps/app/playwright/20-basic-features/presentation.spec.ts#L19
1) [webkit] › 20-basic-features/presentation.spec.ts:3:5 › Presentation ──────────────────────────
Error: Timed out 7000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('application').getByRole('heading', { level: 1 })
Expected pattern: /What can you do with GROWI?/
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 7000ms
- waiting for getByRole('application').getByRole('heading', { level: 1 })
17 | // check the content of the h1
18 | await expect(page.getByRole('application').getByRole('heading', { level: 1 }))
> 19 | .toHaveText(/What can you do with GROWI?/);
| ^
20 |
21 | // forward the slide with button
22 | await page.getByRole('application').getByLabel('next slide').click();
at /__w/growi/growi/apps/app/playwright/20-basic-features/presentation.spec.ts:19:6
|
test-prod-node20 / run-playwright (firefox, 2/2)
Canceling since a higher priority waiting request for 'Node CI for app production-refs/pull/9017/merge' exists
|
test-prod-node20 / run-playwright (firefox, 2/2)
The operation was canceled.
|
test-prod-node20 / run-playwright (chromium, 1/2)
Canceling since a higher priority waiting request for 'Node CI for app production-refs/pull/9017/merge' exists
|
test-prod-node20 / run-playwright (chromium, 1/2)
The operation was canceled.
|
test-prod-node20 / run-playwright (webkit, 2/2)
Canceling since a higher priority waiting request for 'Node CI for app production-refs/pull/9017/merge' exists
|
test-prod-node20 / run-playwright (webkit, 2/2)
The operation was canceled.
|
test-prod-node18 / build-prod
No files were found with the provided path: apps/app/.next/analyze/client.html
apps/app/.next/analyze/server.html. No artifacts will be uploaded.
|
test-prod-node20 / build-prod
No files were found with the provided path: apps/app/.next/analyze/client.html
apps/app/.next/analyze/server.html. No artifacts will be uploaded.
|
Slow Test:
apps/app/[firefox] › 20-basic-features/access-to-page.spec.ts#L1
apps/app/[firefox] › 20-basic-features/access-to-page.spec.ts took 39.9s
|
test-prod-node20 / run-playwright (chromium, 2/2)
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/
|
Slow Test:
apps/app/[chromium] › 60-home/home.spec.ts#L1
apps/app/[chromium] › 60-home/home.spec.ts took 16.2s
|
test-prod-node20 / run-cypress (50)
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/
|
Slow Test:
apps/app/[webkit] › 20-basic-features/access-to-page.spec.ts#L1
apps/app/[webkit] › 20-basic-features/access-to-page.spec.ts took 40.7s
|
🎭 Playwright Run Summary
3 passed (12.4s)
|
🎭 Playwright Run Summary
36 passed (1.7m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › 30-search/search.spec.ts:13:5 › Search page with "q" param is successfully loaded ─
34 passed (1.6m)
|
🎭 Playwright Run Summary
1 passed (9.0s)
|
🎭 Playwright Run Summary
3 passed (12.3s)
|
🎭 Playwright Run Summary
1 flaky
[webkit] › 20-basic-features/presentation.spec.ts:3:5 › Presentation ───────────────────────────
35 passed (1.9m)
|
🎭 Playwright Run Summary
1 passed (9.4s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Production Files (node18.x)
Expired
|
108 MB |
|
Production Files (node20.x)
Expired
|
116 MB |
|
cypress-report-21
Expired
|
28.2 KB |
|
cypress-report-30
Expired
|
3.26 MB |
|
cypress-report-50
Expired
|
1.69 MB |
|