Prerequisites
Stencil Playwright Version
0.2.1
Current Behavior
Given enough network latency and a 3rd-party Stencil component nested inside a local component, the Page.goto() and/or Page.waitForChanges() methods can return before the 3rd-party Stencil component finishes hydrating.
Expected Behavior
Nested, 3rd-party components are included in the goto() and waitForChanges() waiting.
Steps to Reproduce
- Checkout the repo and switch to the
@stencil/playwright/waitForChanges-nested-sb branch, if needed.
- Run
npm install
- Run
npm run build
- Run
npx playwright install, if needed
- Run
npm run test
- See the
"label with nested component over default network" passes while the "label with nested component over slow network" fails
Code Reproduction URL
http://github.com/nwhittaker/stencil-component/tree/%40stencil/playwright/waitForChanges-nested-sb
Additional Information
No response
Prerequisites
Stencil Playwright Version
0.2.1
Current Behavior
Given enough network latency and a 3rd-party Stencil component nested inside a local component, the
Page.goto()and/orPage.waitForChanges()methods can return before the 3rd-party Stencil component finishes hydrating.Expected Behavior
Nested, 3rd-party components are included in the
goto()andwaitForChanges()waiting.Steps to Reproduce
@stencil/playwright/waitForChanges-nested-sbbranch, if needed.npm installnpm run buildnpx playwright install, if needednpm run test"label with nested component over default network"passes while the"label with nested component over slow network"failsCode Reproduction URL
http://github.com/nwhittaker/stencil-component/tree/%40stencil/playwright/waitForChanges-nested-sb
Additional Information
No response