sfuet3r
sfuet3r
Would anyone have any idea why https://github.com/microsoft/playwright/issues/6347#issuecomment-965887758 approach wouldn't work with component testing? Replacing `@playwright/test` with `@playwright/experimental-ct-react`, `addInitScript` is executed but `sinon` is not present. Is there some limitation with...
I think this relates to how the context is defined in the [ComponentFixtures (mount)](https://github.com/microsoft/playwright/blob/main/packages/playwright-test/src/mount.ts#L30-L51). So for component testing I found a simpler solution by adding sinon.js to the [playwright/index.ts](https://playwright.dev/docs/next/test-components#playwrightindexts): ```TypeScript...