Skip to content

fix[sdks]: locale prop to resolve localized values correctly #12768

fix[sdks]: locale prop to resolve localized values correctly

fix[sdks]: locale prop to resolve localized values correctly #12768

Triggered via pull request December 12, 2024 10:17
Status Failure
Total duration 9m 34s
Artifacts 5

ci.yml

on: pull_request
Matrix: build
Matrix: Gen 1 React SDK
Matrix: Gen 1 SDK Snippets
Matrix: Gen 2 SDK Snippets
Matrix: Gen 2 SDKs
Fit to window
Zoom out
Zoom in

Annotations

16 errors, 74 warnings, and 35 notices
Gen 1 React SDK (gen1-next)
Process completed with exit code 1.
[solid] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop: packages/sdks-tests/src/e2e-tests/localization.spec.ts#L1
1) [solid] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop ─────── Test timeout of 30000ms exceeded.
[solid] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop: packages/sdks-tests/src/e2e-tests/localization.spec.ts#L18
1) [solid] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop ─────── Error: page.waitForEvent: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for event "console" ============================================================ 16 | 17 | test('locale is not passed from the prop', async ({ page }) => { > 18 | const msgPromise = page.waitForEvent('console', msg => msg.text().includes(LOCALE_WARNING)); | ^ 19 | 20 | await page.goto('/localization-locale-not-passed'); 21 | at /home/runner/work/builder/builder/packages/sdks-tests/src/e2e-tests/localization.spec.ts:18:29
Gen 2 SDKs (solid)
Process completed with exit code 1.
[solid-start] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop: packages/sdks-tests/src/e2e-tests/localization.spec.ts#L1
1) [solid-start] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop ─ Test timeout of 30000ms exceeded.
[solid-start] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop: packages/sdks-tests/src/e2e-tests/localization.spec.ts#L18
1) [solid-start] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop ─ Error: page.waitForEvent: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for event "console" ============================================================ 16 | 17 | test('locale is not passed from the prop', async ({ page }) => { > 18 | const msgPromise = page.waitForEvent('console', msg => msg.text().includes(LOCALE_WARNING)); | ^ 19 | 20 | await page.goto('/localization-locale-not-passed'); 21 | at /home/runner/work/builder/builder/packages/sdks-tests/src/e2e-tests/localization.spec.ts:18:29
Gen 2 SDKs (solid-start)
Process completed with exit code 1.
[react-native] › localization.spec.ts:9:3 › Localization › locale is passed from the prop: packages/sdks-tests/src/e2e-tests/localization.spec.ts#L1
1) [react-native] › localization.spec.ts:9:3 › Localization › locale is passed from the prop ───── Test timeout of 30000ms exceeded.
[react-native] › localization.spec.ts:9:3 › Localization › locale is passed from the prop: packages/sdks-tests/src/e2e-tests/localization.spec.ts#L12
1) [react-native] › localization.spec.ts:9:3 › Localization › locale is passed from the prop ───── Error: locator.getAttribute: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.builder-image') 10 | await page.goto('/localization-locale-passed'); 11 | const text = page.locator(`text=${HI_IN_TEXT}`); > 12 | const src = await page.locator('.builder-image')?.getAttribute('src'); | ^ 13 | await expect(text).toBeVisible(); 14 | expect(src).toBe(HI_IN_IMAGE); 15 | }); at /home/runner/work/builder/builder/packages/sdks-tests/src/e2e-tests/localization.spec.ts:12:55
Gen 2 SDKs (react-native)
Process completed with exit code 1.
[qwik-city] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop: packages/sdks-tests/src/e2e-tests/localization.spec.ts#L1
1) [qwik-city] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop ─── Test timeout of 30000ms exceeded.
[qwik-city] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop: packages/sdks-tests/src/e2e-tests/localization.spec.ts#L18
1) [qwik-city] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop ─── Error: page.waitForEvent: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for event "console" ============================================================ 16 | 17 | test('locale is not passed from the prop', async ({ page }) => { > 18 | const msgPromise = page.waitForEvent('console', msg => msg.text().includes(LOCALE_WARNING)); | ^ 19 | 20 | await page.goto('/localization-locale-not-passed'); 21 | at /home/runner/work/builder/builder/packages/sdks-tests/src/e2e-tests/localization.spec.ts:18:29
Gen 2 SDKs (qwik-city)
Process completed with exit code 1.
[nextjs-sdk-next-app] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop: packages/sdks-tests/src/e2e-tests/localization.spec.ts#L1
1) [nextjs-sdk-next-app] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop Test timeout of 30000ms exceeded.
[nextjs-sdk-next-app] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop: packages/sdks-tests/src/e2e-tests/localization.spec.ts#L18
1) [nextjs-sdk-next-app] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop Error: page.waitForEvent: Test timeout of 30000ms exceeded. =========================== logs =========================== waiting for event "console" ============================================================ 16 | 17 | test('locale is not passed from the prop', async ({ page }) => { > 18 | const msgPromise = page.waitForEvent('console', msg => msg.text().includes(LOCALE_WARNING)); | ^ 19 | 20 | await page.goto('/localization-locale-not-passed'); 21 | at /home/runner/work/builder/builder/packages/sdks-tests/src/e2e-tests/localization.spec.ts:18:29
Gen 2 SDKs (nextjs-sdk-next-app)
Process completed with exit code 1.
build (widgets)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (widgets)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (webcomponents)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (webcomponents)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Gen 1 SDK Core
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 1 React SDK (gen1-next)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 1 SDK Snippets (gen1-react)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 1 SDK Snippets (gen1-next)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (react)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 1 SDK Snippets (gen1-remix)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (react-sdk-next-pages)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (nuxt)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDKs checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (solid)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (hydrogen)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (svelte)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (vue)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (nextjs-sdk-next-app)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (react-sdk-next-app)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (angular)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (qwik-city)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (sveltekit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (angular-ssr)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDK Snippets (react-native)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 1 React SDK (gen1-remix)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 2 SDKs (react)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Gen 1 React SDK (gen1-react)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[gen1-react] › link-component.spec.ts#L1
packages/sdks-tests/[gen1-react] › link-component.spec.ts took 16.9s
Gen 2 SDKs (remix)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[remix] › link-component.spec.ts#L1
packages/sdks-tests/[remix] › link-component.spec.ts took 16.5s
Gen 2 SDKs (solid)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[solid] › localization.spec.ts#L1
packages/sdks-tests/[solid] › localization.spec.ts took 30.3s
Slow Test: packages/sdks-tests/[solid] › link-component.spec.ts#L1
packages/sdks-tests/[solid] › link-component.spec.ts took 16.6s
Gen 2 SDKs (solid-start)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[solid-start] › localization.spec.ts#L1
packages/sdks-tests/[solid-start] › localization.spec.ts took 30.3s
Slow Test: packages/sdks-tests/[solid-start] › link-component.spec.ts#L1
packages/sdks-tests/[solid-start] › link-component.spec.ts took 16.8s
Gen 2 SDKs (react-sdk-next-app)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[react-sdk-next-app] › link-component.spec.ts#L1
packages/sdks-tests/[react-sdk-next-app] › link-component.spec.ts took 16.8s
Gen 2 SDKs (react-sdk-next-pages)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[react-sdk-next-pages] › link-component.spec.ts#L1
packages/sdks-tests/[react-sdk-next-pages] › link-component.spec.ts took 16.9s
Gen 2 SDKs (vue)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[vue] › link-component.spec.ts#L1
packages/sdks-tests/[vue] › link-component.spec.ts took 16.7s
Gen 2 SDKs (angular-ssr)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[angular-ssr] › link-component.spec.ts#L1
packages/sdks-tests/[angular-ssr] › link-component.spec.ts took 17.6s
Slow Test: packages/sdks-tests/[angular-ssr] › editing.spec.ts#L1
packages/sdks-tests/[angular-ssr] › editing.spec.ts took 15.6s
Gen 2 SDKs (hydrogen)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[hydrogen] › link-component.spec.ts#L1
packages/sdks-tests/[hydrogen] › link-component.spec.ts took 16.7s
Gen 2 SDKs (svelte)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[svelte] › link-component.spec.ts#L1
packages/sdks-tests/[svelte] › link-component.spec.ts took 16.9s
Gen 2 SDKs (angular)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[angular] › link-component.spec.ts#L1
packages/sdks-tests/[angular] › link-component.spec.ts took 18.1s
Slow Test: packages/sdks-tests/[angular] › editing.spec.ts#L1
packages/sdks-tests/[angular] › editing.spec.ts took 16.8s
Slow Test: packages/sdks-tests/[angular] › blocks.spec.ts#L1
packages/sdks-tests/[angular] › blocks.spec.ts took 15.7s
Gen 2 SDKs (sveltekit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[sveltekit] › link-component.spec.ts#L1
packages/sdks-tests/[sveltekit] › link-component.spec.ts took 16.8s
Gen 2 SDKs (react-native)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[react-native] › large-reactive-state.spec.ts#L1
packages/sdks-tests/[react-native] › large-reactive-state.spec.ts took 19.3s
Slow Test: packages/sdks-tests/[react-native] › link-component.spec.ts#L1
packages/sdks-tests/[react-native] › link-component.spec.ts took 18.2s
Slow Test: packages/sdks-tests/[react-native] › editing.spec.ts#L1
packages/sdks-tests/[react-native] › editing.spec.ts took 15.6s
Gen 2 SDKs (nuxt)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[nuxt] › link-component.spec.ts#L1
packages/sdks-tests/[nuxt] › link-component.spec.ts took 17.1s
Gen 2 SDKs (qwik-city)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[qwik-city] › localization.spec.ts#L1
packages/sdks-tests/[qwik-city] › localization.spec.ts took 30.3s
Slow Test: packages/sdks-tests/[qwik-city] › link-component.spec.ts#L1
packages/sdks-tests/[qwik-city] › link-component.spec.ts took 17.3s
Slow Test: packages/sdks-tests/[qwik-city] › editing.spec.ts#L1
packages/sdks-tests/[qwik-city] › editing.spec.ts took 16.5s
Slow Test: packages/sdks-tests/[qwik-city] › symbols.spec.ts#L1
packages/sdks-tests/[qwik-city] › symbols.spec.ts took 16.4s
Slow Test: packages/sdks-tests/[qwik-city] › ab-test.spec.ts#L1
packages/sdks-tests/[qwik-city] › ab-test.spec.ts took 15.3s
Gen 2 SDKs (nextjs-sdk-next-app)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: packages/sdks-tests/[nextjs-sdk-next-app] › accordion.spec.ts#L1
packages/sdks-tests/[nextjs-sdk-next-app] › accordion.spec.ts took 1.0m
Slow Test: packages/sdks-tests/[nextjs-sdk-next-app] › localization.spec.ts#L1
packages/sdks-tests/[nextjs-sdk-next-app] › localization.spec.ts took 30.2s
Slow Test: packages/sdks-tests/[nextjs-sdk-next-app] › large-reactive-state.spec.ts#L1
packages/sdks-tests/[nextjs-sdk-next-app] › large-reactive-state.spec.ts took 24.2s
Slow Test: packages/sdks-tests/[nextjs-sdk-next-app] › link-component.spec.ts#L1
packages/sdks-tests/[nextjs-sdk-next-app] › link-component.spec.ts took 17.1s
Slow Test: packages/sdks-tests/[nextjs-sdk-next-app] › symbols.spec.ts#L1
packages/sdks-tests/[nextjs-sdk-next-app] › symbols.spec.ts took 16.2s
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "nextjs-sdk-next-app-playwright-report", "qwik-city-playwright-report", "react-native-playwright-report", "solid-playwright-report", "solid-start-playwright-report". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
18 skipped 16 passed (13.6s)
🎭 Playwright Run Summary
23 skipped 11 passed (14.0s)
🎭 Playwright Run Summary
17 skipped 17 passed (13.2s)
🎭 Playwright Run Summary
19 skipped 15 passed (15.0s)
🎭 Playwright Run Summary
23 skipped 11 passed (12.0s)
🎭 Playwright Run Summary
23 skipped 11 passed (11.5s)
🎭 Playwright Run Summary
23 skipped 11 passed (12.0s)
🎭 Playwright Run Summary
23 skipped 11 passed (13.6s)
🎭 Playwright Run Summary
23 skipped 11 passed (11.3s)
🎭 Playwright Run Summary
23 skipped 11 passed (12.1s)
🎭 Playwright Run Summary
24 skipped 10 passed (13.1s)
🎭 Playwright Run Summary
23 skipped 11 passed (12.7s)
🎭 Playwright Run Summary
1 skipped 33 passed (31.9s)
🎭 Playwright Run Summary
23 skipped 11 passed (26.8s)
🎭 Playwright Run Summary
23 skipped 11 passed (11.3s)
🎭 Playwright Run Summary
1 skipped 33 passed (26.9s)
🎭 Playwright Run Summary
23 skipped 11 passed (15.5s)
🎭 Playwright Run Summary
40 skipped 58 did not run 104 passed (2.0m)
🎭 Playwright Run Summary
24 skipped 178 passed (3.0m)
🎭 Playwright Run Summary
38 skipped 164 passed (3.4m)
🎭 Playwright Run Summary
38 skipped 164 passed (3.0m)
🎭 Playwright Run Summary
1 failed [solid] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop ──────── 40 skipped 161 passed (3.3m)
🎭 Playwright Run Summary
1 failed [solid-start] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop ── 43 skipped 158 passed (3.1m)
🎭 Playwright Run Summary
38 skipped 164 passed (3.2m)
🎭 Playwright Run Summary
36 skipped 166 passed (3.3m)
🎭 Playwright Run Summary
49 skipped 153 passed (3.3m)
🎭 Playwright Run Summary
74 skipped 128 passed (2.6m)
🎭 Playwright Run Summary
38 skipped 164 passed (3.4m)
🎭 Playwright Run Summary
40 skipped 162 passed (3.5m)
🎭 Playwright Run Summary
72 skipped 130 passed (3.1m)
🎭 Playwright Run Summary
40 skipped 162 passed (3.4m)
🎭 Playwright Run Summary
1 failed [react-native] › localization.spec.ts:9:3 › Localization › locale is passed from the prop ────── 101 skipped 100 passed (3.2m)
🎭 Playwright Run Summary
48 skipped 154 passed (5.4m)
🎭 Playwright Run Summary
1 failed [qwik-city] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop ──── 45 skipped 156 passed (5.3m)
🎭 Playwright Run Summary
1 failed [nextjs-sdk-next-app] › localization.spec.ts:17:3 › Localization › locale is not passed from the prop 55 skipped 146 passed (5.8m)

Artifacts

Produced during runtime
Name Size
nextjs-sdk-next-app-playwright-report
116 MB
qwik-city-playwright-report
343 MB
react-native-playwright-report
11.9 MB
solid-playwright-report
52.5 MB
solid-start-playwright-report
104 MB