fix[gen2-sdks]: updating code doesn't reflect changes in VE and angular sdk nativeElement not found #13458
Annotations
3 errors, 2 warnings, and 1 notice
Run E2E tests:
packages/sdks-tests/src/e2e-tests/blocks.spec.ts#L594
1) [react-sdk-next-15-app] › blocks.spec.ts:590:5 › Blocks › Custom Code › should update DOM when custom code is rendered
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('#myPara')
Expected string: "hello"
Received string: "Hello there, I am custom HTML code!"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('#myPara')
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "Hello there, I am custom HTML code!"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "Hello there, I am custom HTML code!"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "Hello there, I am custom HTML code!"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "Hello there, I am custom HTML code!"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "Hello there, I am custom HTML code!"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "Hello there, I am custom HTML code!"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "Hello there, I am custom HTML code!"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "Hello there, I am custom HTML code!"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "Hello there, I am custom HTML code!"
592 | await page.goto('/custom-code-dom-update');
593 |
> 594 | await expect(page.locator('#myPara')).toHaveText('hello');
| ^
595 | await expect(page.locator('#myPara')).toHaveCSS('background-color', 'rgb(0, 128, 0)');
596 | });
597 |
at /home/runner/work/builder/builder/packages/sdks-tests/src/e2e-tests/blocks.spec.ts:594:45
|
Run E2E tests:
packages/sdks-tests/src/e2e-tests/blocks.spec.ts#L613
2) [react-sdk-next-15-app] › blocks.spec.ts:598:5 › Blocks › Custom Code › visual editing updates dom in real time
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('iframe').contentFrame().getByText('hello')
Expected string: "rgb(0, 128, 0)"
Received string: "rgba(0, 0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('iframe').contentFrame().getByText('hello')
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "rgba(0, 0, 0, 0)"
- locator resolved to <p id="myPara">Hello there, I am custom HTML code!</p>
- unexpected value "rgba(0, 0, 0, 0)"
611 | });
612 | await page.frameLocator('iframe').getByText('hello').waitFor();
> 613 | await expect(page.frameLocator('iframe').getByText('hello')).toHaveCSS(
| ^
614 | 'background-color',
615 | 'rgb(0, 128, 0)'
616 | );
at /home/runner/work/builder/builder/packages/sdks-tests/src/e2e-tests/blocks.spec.ts:613:68
|
Run E2E tests
Process completed with exit code 1.
|
Run E2E tests:
packages/sdks-tests/[react-sdk-next-15-app] › ab-test.spec.ts#L1
packages/sdks-tests/[react-sdk-next-15-app] › ab-test.spec.ts took 24.6s
|
Run E2E tests:
packages/sdks-tests/[react-sdk-next-15-app] › link-component.spec.ts#L1
packages/sdks-tests/[react-sdk-next-15-app] › link-component.spec.ts took 16.7s
|
Run E2E tests
2 failed
[react-sdk-next-15-app] › blocks.spec.ts:590:5 › Blocks › Custom Code › should update DOM when custom code is rendered
[react-sdk-next-15-app] › blocks.spec.ts:598:5 › Blocks › Custom Code › visual editing updates dom in real time
39 skipped
181 passed (3.3m)
|
Loading