[BUG] $attrs
doesn't include event handlers in pass through component in Playwright component testing in Vue 3
#23526
Labels
System info
Source code
Link to the GitHub repository with the repro
https://github.com/segevfiner/playwright-ct-vue-on-issue
Steps
pnpm i
pnpm test:unit
, it passes, there is anonFoo
property in$attrs
pnpm test-ct
, it fails, there is noonFoo
property in$attrs
, and it doesn't format theconsole.log
message as the browser does (Handles%o
and so on), just prints the arguments verbatim.Expected
For event handlers specified in component testing and propagated via
$attrs
to work.Actual
They don't work. (But they do in vitest)
The text was updated successfully, but these errors were encountered: