We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storybookjs/storybook#27138
<form inert="true"> <input placeholder="not focusable" /> </form>
should not be able to click, focus or write with
await expect(input).toBeEnabled(); await userEvent.type(input, 'can write');
If an element is inert it should fail to write and fail expects
nothing happens
14.5.2
Testing Library framework: @testing-library/[email protected]
JS framework: [email protected]
Test environment: [email protected]
DOM implementation: [email protected]
capricorn86/happy-dom#1422
jsdom/jsdom#3605
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproduction example
storybookjs/storybook#27138
Prerequisites
should not be able to click, focus or write with
Expected behavior
If an element is inert it should fail to write and fail expects
Actual behavior
nothing happens
User-event version
14.5.2
Environment
Testing Library framework: @testing-library/[email protected]
JS framework: [email protected]
Test environment: [email protected]
DOM implementation: [email protected]
Additional context
storybookjs/storybook#27138
capricorn86/happy-dom#1422
jsdom/jsdom#3605
The text was updated successfully, but these errors were encountered: