WIP: variant container for gen2 SDKs #13067
Annotations
7 errors, 3 warnings, and 1 notice
Run E2E tests:
packages/sdks-tests/src/e2e-tests/personalization-container.spec.ts#L100
1) [svelte] › personalization-container.spec.ts:75:7 › Personalization Container › entire page › #1/2: Render default w/ SSR
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('div[builder-content-id]').filter({ hasText: 'Experiment A' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('div[builder-content-id]').filter({ hasText: 'Experiment A' })
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
98 | await expect(page.getByText(TEXTS.DEFAULT_CONTENT).locator('visible=true')).toBeVisible();
99 | await expect(page.getByText(TEXTS.NON_PERSONALIZED).locator('visible=true')).toBeVisible();
> 100 | await expect(page.locator(SELECTOR, { hasText: TEXTS.EXPERIMENT_A })).toBeHidden();
| ^
101 | await expect(page.locator(SELECTOR, { hasText: TEXTS.EXPERIMENT_B })).toBeHidden();
102 | });
103 |
at /home/runner/work/builder/builder/packages/sdks-tests/src/e2e-tests/personalization-container.spec.ts:100:79
|
Run E2E tests:
packages/sdks-tests/src/e2e-tests/personalization-container.spec.ts#L129
2) [svelte] › personalization-container.spec.ts:104:7 › Personalization Container › entire page › #1/2: Render variant A w/ SSR
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('div[builder-content-id]').filter({ hasText: 'Experiment B' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('div[builder-content-id]').filter({ hasText: 'Experiment B' })
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
127 | await expect(page.getByText(TEXTS.EXPERIMENT_A).locator('visible=true')).toBeVisible();
128 | await expect(page.getByText(TEXTS.NON_PERSONALIZED).locator('visible=true')).toBeVisible();
> 129 | await expect(page.locator(SELECTOR, { hasText: TEXTS.EXPERIMENT_B })).toBeHidden();
| ^
130 | await expect(page.locator(SELECTOR, { hasText: TEXTS.DEFAULT_CONTENT })).toBeHidden();
131 | });
132 |
at /home/runner/work/builder/builder/packages/sdks-tests/src/e2e-tests/personalization-container.spec.ts:129:79
|
Run E2E tests:
packages/sdks-tests/src/e2e-tests/personalization-container.spec.ts#L158
3) [svelte] › personalization-container.spec.ts:133:7 › Personalization Container › entire page › #1/2: Render variant B w/ SSR
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('div[builder-content-id]').filter({ hasText: 'Experiment A' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('div[builder-content-id]').filter({ hasText: 'Experiment A' })
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
156 | await expect(page.getByText(TEXTS.EXPERIMENT_B).locator('visible=true')).toBeVisible();
157 | await expect(page.getByText(TEXTS.NON_PERSONALIZED).locator('visible=true')).toBeVisible();
> 158 | await expect(page.locator(SELECTOR, { hasText: TEXTS.EXPERIMENT_A })).toBeHidden();
| ^
159 | await expect(page.locator(SELECTOR, { hasText: TEXTS.DEFAULT_CONTENT })).toBeHidden();
160 | });
161 | }
at /home/runner/work/builder/builder/packages/sdks-tests/src/e2e-tests/personalization-container.spec.ts:158:79
|
Run E2E tests:
packages/sdks-tests/src/e2e-tests/personalization-container.spec.ts#L100
4) [svelte] › personalization-container.spec.ts:75:7 › Personalization Container › entire page › #2/2: Render default w/ SSR
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('div[builder-content-id]').filter({ hasText: 'Experiment A' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('div[builder-content-id]').filter({ hasText: 'Experiment A' })
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
98 | await expect(page.getByText(TEXTS.DEFAULT_CONTENT).locator('visible=true')).toBeVisible();
99 | await expect(page.getByText(TEXTS.NON_PERSONALIZED).locator('visible=true')).toBeVisible();
> 100 | await expect(page.locator(SELECTOR, { hasText: TEXTS.EXPERIMENT_A })).toBeHidden();
| ^
101 | await expect(page.locator(SELECTOR, { hasText: TEXTS.EXPERIMENT_B })).toBeHidden();
102 | });
103 |
at /home/runner/work/builder/builder/packages/sdks-tests/src/e2e-tests/personalization-container.spec.ts:100:79
|
Run E2E tests:
packages/sdks-tests/src/e2e-tests/personalization-container.spec.ts#L129
5) [svelte] › personalization-container.spec.ts:104:7 › Personalization Container › entire page › #2/2: Render variant A w/ SSR
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('div[builder-content-id]').filter({ hasText: 'Experiment B' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('div[builder-content-id]').filter({ hasText: 'Experiment B' })
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
127 | await expect(page.getByText(TEXTS.EXPERIMENT_A).locator('visible=true')).toBeVisible();
128 | await expect(page.getByText(TEXTS.NON_PERSONALIZED).locator('visible=true')).toBeVisible();
> 129 | await expect(page.locator(SELECTOR, { hasText: TEXTS.EXPERIMENT_B })).toBeHidden();
| ^
130 | await expect(page.locator(SELECTOR, { hasText: TEXTS.DEFAULT_CONTENT })).toBeHidden();
131 | });
132 |
at /home/runner/work/builder/builder/packages/sdks-tests/src/e2e-tests/personalization-container.spec.ts:129:79
|
Run E2E tests:
packages/sdks-tests/src/e2e-tests/personalization-container.spec.ts#L158
6) [svelte] › personalization-container.spec.ts:133:7 › Personalization Container › entire page › #2/2: Render variant B w/ SSR
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: locator('div[builder-content-id]').filter({ hasText: 'Experiment A' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for locator('div[builder-content-id]').filter({ hasText: 'Experiment A' })
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
- locator resolved to <div builder-model="page" classname="variant-unique-id" builder-content-id="unique-id">…</div>
- unexpected value "visible"
156 | await expect(page.getByText(TEXTS.EXPERIMENT_B).locator('visible=true')).toBeVisible();
157 | await expect(page.getByText(TEXTS.NON_PERSONALIZED).locator('visible=true')).toBeVisible();
> 158 | await expect(page.locator(SELECTOR, { hasText: TEXTS.EXPERIMENT_A })).toBeHidden();
| ^
159 | await expect(page.locator(SELECTOR, { hasText: TEXTS.DEFAULT_CONTENT })).toBeHidden();
160 | });
161 | }
at /home/runner/work/builder/builder/packages/sdks-tests/src/e2e-tests/personalization-container.spec.ts:158:79
|
Run E2E tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run E2E tests:
packages/sdks-tests/[svelte] › link-component.spec.ts#L1
packages/sdks-tests/[svelte] › link-component.spec.ts took 16.7s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "angular-playwright-report", "nextjs-sdk-next-app-playwright-report", "nuxt-playwright-report", "qwik-city-playwright-report", "react-native-playwright-report", "solid-start-playwright-report", "sveltekit-playwright-report", "svelte-playwright-report", "vue-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/
|
Run E2E tests
6 failed
[svelte] › personalization-container.spec.ts:75:7 › Personalization Container › entire page › #1/2: Render default w/ SSR
[svelte] › personalization-container.spec.ts:104:7 › Personalization Container › entire page › #1/2: Render variant A w/ SSR
[svelte] › personalization-container.spec.ts:133:7 › Personalization Container › entire page › #1/2: Render variant B w/ SSR
[svelte] › personalization-container.spec.ts:75:7 › Personalization Container › entire page › #2/2: Render default w/ SSR
[svelte] › personalization-container.spec.ts:104:7 › Personalization Container › entire page › #2/2: Render variant A w/ SSR
[svelte] › personalization-container.spec.ts:133:7 › Personalization Container › entire page › #2/2: Render variant B w/ SSR
36 skipped
165 passed (3.6m)
|
Loading