Closed
Description
cypress-testing-library
version: 5.1.1node
version: 12.4.0npm
(oryarn
) version: 1.21.1 (yarn)
Relevant code or config
describe('anonymous calculator', () => {
it('can make calculations', () => {
cy.visit('/')
.findByText(/^1$/)
.click()
.findByText(/^\+$/)
.click()
.findByText(/^2$/)
.click()
.findByText(/^=$/)
.click()
.findByTestId('total')
.should('have.text', '3')
})
})
What you did: Attempted to run tjs/cypress-04 branch of https://github.com/kentcdodds/jest-cypress-react-babel-webpack/tree/tjs/cypress-04
What happened:
Reproduction repository:
https://github.com/kentcdodds/jest-cypress-react-babel-webpack/tree/tjs/cypress-04
Problem description:
TypeError: container.querySelectorAll is not a function
Suggested solution:
--