Closed basickarl closed 2 weeks ago
Only "user actions" are slowed down, see this list.
That is interesting! We are using a locator click event:
We are triggering this via the following command: await page.getByTestId('ndl-drawer-close-button').click();
Would this not constitute as being a "user action"?
Version
1.43.1
Steps to reproduce
launch options object (file: playwright-component-testing.config.ts):
command run:
npx --no playwright test -c playwright-component-testing.config.ts audit --workers 1 --project='chromium' --trace='on' --ui
Result in UI:
Expected behavior
Every playwright command slows down by 2000ms (e.g.
page.exposeFunction
etc.) .Actual behavior
Only the before hooks seems to slow down by 2000ms.
Additional context
using @playwright/experimental-ct-react
Been reading https://playwright.dev/docs/debug#headed-mode and I'm seeming to follow what it says or?
Environment