cypress: how to mock useTranslation in test?
I want to ask that I have a component EmailSignUpView
that use react-intl
to translate text content.
cypress: Failed to load resource when the component is with image url
I’m new with cypress and encounter a issue when doing the component test
I have a component “Hero” which the props is as below
timed out retrying after 4000ms: expected to find element, but never found it
I am trying to wirte integration test for a react component using Cypress. I can login and open dialog which is a form. However i am unable to select an option, as seen below. Overall i have run this test several times, and only two or three times it was passed, but 99% of the times it failed.