Describe the bug
I am trying to use the new Interactive API to test the behavior of a button.
It seems that every keyboard command is automatically released even when using the {Enter>} syntax.
Reproduction
https://github.com/edoardocavazza/vitest-keyboard
System Info
System:
OS: macOS 14.2.1
CPU: (10) arm64 Apple M1 Max
Memory: 261.33 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
pnpm: 8.6.3 - ~/Library/pnpm/pnpm
bun: 1.0.30 - ~/.bun/bin/bun
Browsers:
Chrome: 126.0.6478.127
Safari: 17.2.1
npmPackages:
@vitest/browser: ^2.0.1 => 2.0.1
vitest: ^2.0.1 => 2.0.1
Used Package Manager
npm
Validations
Describe the bug
I am trying to use the new Interactive API to test the behavior of a button.
It seems that every keyboard command is automatically released even when using the
{Enter>}syntax.Reproduction
https://github.com/edoardocavazza/vitest-keyboard
System Info
System: OS: macOS 14.2.1 CPU: (10) arm64 Apple M1 Max Memory: 261.33 MB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node Yarn: 1.22.22 - /opt/homebrew/bin/yarn npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm pnpm: 8.6.3 - ~/Library/pnpm/pnpm bun: 1.0.30 - ~/.bun/bin/bun Browsers: Chrome: 126.0.6478.127 Safari: 17.2.1 npmPackages: @vitest/browser: ^2.0.1 => 2.0.1 vitest: ^2.0.1 => 2.0.1Used Package Manager
npm
Validations