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
In some cases, elements in shadowDom will fail even though they are hidden.
Fails with Error: expected section#activity[hidden] to not be displayed, but it was as 😠
Error: expected section#activity[hidden] to not be displayed, but it was as
test('Auth view should be visible by default', () => { initialState.$.activity.should.not.be.displayed; });
Passes! 🍻
// NOTE: Passes! test('Auth view should be visible by default', () => { window.getComputedStyle(initialState.$.activity).display.should.contain('none'); });
I propose changing chai-dom.js:279 to:
actual = el.style.display || window.getComputedStyle(el).display;
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
In some cases, elements in shadowDom will fail even though they are hidden.
Fails with
Error: expected section#activity[hidden] to not be displayed, but it was as
😠Passes! 🍻
I propose changing chai-dom.js:279 to:
The text was updated successfully, but these errors were encountered: