docs(headless commerce SSR): copy common codes/sample between NextJS & Remix #25598
Annotations
1 error and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/search/atomic-did-you-mean/e2e/page-object.ts#L14
1) [chromium] › components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:13:3 › with an automatic query correction › search box should contain the corrected query
Error: "Target page, context or browser has been closed
Call log:
- → POST https://searchuisamples.org.coveo.com/rest/search/v2?organizationId=searchuisamples
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.33 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- accept-language: en-US
- authorization: ***
- content-type: application/json
- origin: http://localhost:4400
- referer: http://localhost:4400/
- sec-ch-ua: "HeadlessChrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
- content-length: 914
" while running route callback.
Consider awaiting `await page.unrouteAll({ behavior: 'ignoreErrors' })`
before the end of the test to ignore remaining routes in flight.
at components/search/atomic-did-you-mean/e2e/page-object.ts:14
12 | '**/search/v2?organizationId=searchuisamples',
13 | async (route) => {
> 14 | const response = await route.fetch();
| ^
15 | const body = await response.json();
16 | body.queryCorrection = {
17 | correctedQuery: 'coveo',
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-did-you-mean/e2e/page-object.ts:14:38
|
Run /./.github/actions/playwright-atomic
1 flaky
[chromium] › components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:13:3 › with an automatic query correction › search box should contain the corrected query
8 skipped
14 passed (23.8s)
|
Loading