fix: able to edit and preview when we have no content #12523
Annotations
10 errors, 2 warnings, and 1 notice
Run snippets tests:
packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts#L1
1) [react] › advanced-child.spec.ts:38:3 › Editable Regions in Custom Components › Display content for the clicked tab and hide the other
Test timeout of 30000ms exceeded.
|
Run snippets tests:
packages/sdks-tests/src/helpers/index.ts#L114
1) [react] › advanced-child.spec.ts:38:3 › Editable Regions in Custom Components › Display content for the clicked tab and hide the other
Error: expect(locator).toBeVisible()
Locator: locator('[builder-path="component.options.tabList.0.children"]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 30000ms
- waiting for locator('[builder-path="component.options.tabList.0.children"]')
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" bu
|
Run snippets tests:
packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts#L1
1) [react] › advanced-child.spec.ts:38:3 › Editable Regions in Custom Components › Display content for the clicked tab and hide the other
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
Run snippets tests:
packages/sdks-tests/src/helpers/index.ts#L114
1) [react] › advanced-child.spec.ts:38:3 › Editable Regions in Custom Components › Display content for the clicked tab and hide the other
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: locator('[builder-path="component.options.tabList.0.children"]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 30000ms
- waiting for locator('[builder-path="component.options.tabList.0.children"]')
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected va
|
Run snippets tests:
packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts#L1
1) [react] › advanced-child.spec.ts:38:3 › Editable Regions in Custom Components › Display content for the clicked tab and hide the other
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
Run snippets tests:
packages/sdks-tests/src/helpers/index.ts#L114
1) [react] › advanced-child.spec.ts:38:3 › Editable Regions in Custom Components › Display content for the clicked tab and hide the other
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: locator('[builder-path="component.options.tabList.0.children"]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 30000ms
- waiting for locator('[builder-path="component.options.tabList.0.children"]')
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected value "hidden"
- locator resolved to <div builder-path="component.options.tabList.0.children" builder-parent-id="builder-30430fe9d49b403aa99fb139846351f3" class="builder-blocks no-blocks props-blocks-wrapper-215a41e0"></div>
- unexpected va
|
Run snippets tests:
packages/sdks-tests/src/snippet-tests/editable-regions.spec.ts#L18
2) [react] › editable-regions.spec.ts:5:3 › Adding advanced child blocks in custom components › should render a div with two columns with builder-path attr
Error: expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 0
16 | const count = divs.length;
17 |
> 18 | expect(count).toBe(2);
| ^
19 | });
20 |
21 | test('should render a div with two columns with placeholder text', async ({
at /home/runner/work/builder/builder/packages/sdks-tests/src/snippet-tests/editable-regions.spec.ts:18:19
|
Run snippets tests:
packages/sdks-tests/src/snippet-tests/editable-regions.spec.ts#L18
2) [react] › editable-regions.spec.ts:5:3 › Adding advanced child blocks in custom components › should render a div with two columns with builder-path attr
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 0
16 | const count = divs.length;
17 |
> 18 | expect(count).toBe(2);
| ^
19 | });
20 |
21 | test('should render a div with two columns with placeholder text', async ({
at /home/runner/work/builder/builder/packages/sdks-tests/src/snippet-tests/editable-regions.spec.ts:18:19
|
Run snippets tests:
packages/sdks-tests/src/snippet-tests/editable-regions.spec.ts#L18
2) [react] › editable-regions.spec.ts:5:3 › Adding advanced child blocks in custom components › should render a div with two columns with builder-path attr
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 0
16 | const count = divs.length;
17 |
> 18 | expect(count).toBe(2);
| ^
19 | });
20 |
21 | test('should render a div with two columns with placeholder text', async ({
at /home/runner/work/builder/builder/packages/sdks-tests/src/snippet-tests/editable-regions.spec.ts:18:19
|
Run snippets tests:
packages/sdks-tests/src/snippet-tests/editable-regions.spec.ts#L1
3) [react] › editable-regions.spec.ts:21:3 › Adding advanced child blocks in custom components › should render a div with two columns with placeholder text
Test timeout of 30000ms exceeded.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "angular-snippet-playwright-report", "angular-ssr-snippet-playwright-report", "nuxt-playwright-report", "react-sdk-next-pages-snippet-playwright-report", "react-snippet-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 snippets tests
3 failed
[react] › advanced-child.spec.ts:38:3 › Editable Regions in Custom Components › Display content for the clicked tab and hide the other
[react] › editable-regions.spec.ts:5:3 › Adding advanced child blocks in custom components › should render a div with two columns with builder-path attr
[react] › editable-regions.spec.ts:21:3 › Adding advanced child blocks in custom components › should render a div with two columns with placeholder text
16 skipped
14 passed (3.3m)
|
Loading