toHaveAttribute was merged in but there is no documentation for it. https://github.com/testing-library/react-testing-library/pull/44 <!-- HI! PLEASE STOP TO READ THIS!! IF YOU DO NOT FOLLOW THE INSTRUCTIONS, YOUR ISSUE WILL LIKELY BE CLOSED. Thanks for your interest in the project. We appreciate bugs filed and PRs submitted! - Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file). - Please review the Issues policies before filing an issue: 🐛 Bugs: File an issue for bugs, missing documentation, or unexpected behavior. 💡 Feature Requests: File an issue to suggest new features. Vote on feature requests by adding a 👍. This helps maintainers prioritize what to work on. ❓ Questions: For questions related to using the library, please visit a support community instead of filing an issue on GitHub. * React Spectrum https://spectrum.chat/react-testing-library * Reactiflux on Discord https://www.reactiflux.com * Stack Overflow https://stackoverflow.com/questions/tagged/react-testing-library **ISSUES WHICH ARE QUESTIONS WILL BE CLOSED** - Please fill out this template with all the relevant information so we can understand what's going on and fix the issue. - If you're issue is regarding one of the query APIs (`getByText`, `getByLabelText`, etc), then please file it on the `dom-testing-library` repository instead. If you file it here it will be closed. Thanks :) We'll probably ask you to submit the fix (after giving some direction). If you've never done that before, that's great! Check this free short video tutorial to learn how: http://kcd.im/pull-request --> - `react-testing-library` version: - `react` version: - `node` version: - `npm` (or `yarn`) version: Relevant code or config ```javascript ``` What you did: What happened: <!-- Please provide the full error message/screenshots/anything --> Reproduction repository: <!-- If possible, please create a repository that reproduces the issue with the minimal amount of code possible. You may fork the template here: https://github.com/alexkrolick/dom-testing-library-template Or if you can, try to reproduce the issue in a codesandbox. You can fork the one here: https://codesandbox.io/s/5z6x4r7n0p --> Problem description: <!-- Please describe why the current behavior is a problem --> Suggested solution: <!-- It's ok if you don't have a suggested solution, but it really helps if you could do a little digging to come up with some suggestion of how to improve things. -->