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
When Im trying to run: const screen = await takeScreenshot('something') expect(screen).toMatchBaseline()
I get this error again and again:
Additional info: Im able to press a button with testID in my app and moving forward to the next screen.
The text was updated successfully, but these errors were encountered:
Hey @NetanelH2 This is not the fix but setting jest timeout might help.
jest.setTimeout(50000); describe('<Login/>', () => { it('takes a screenshot of the Login screen', async () => { await toExist('LoginWithEmailButton'); await press('LoginWithEmailButton'); const screen = await takeScreenshot('login'); await toExist('goBackTestID'); await press('goBackTestID'); expect(screen).toMatchBaseline(); }); });
Sorry, something went wrong.
No branches or pull requests
When Im trying to run:
const screen = await takeScreenshot('something')
expect(screen).toMatchBaseline()
Additional info:
Im able to press a button with testID in my app and moving forward to the next screen.
The text was updated successfully, but these errors were encountered: