You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi i am trying to test this website https://www.retrospected.com/
but i am unable to do it because their react components are of forwardref type and that is why this cypress is giving an error. is their any way to access these kind of components because i need to test this site using react components props etc i am attaching two pictures one with the error and one with the website type of components please check and tell me the solution.
my test case type is
describe('It should validate cypress react selector', () => {
before(() => {
cy.visit('https://www.retrospected.com/');
cy.waitForReact(5000);
});
I have the same problem atm. The thing is, property "children" is not really a string. If you use cy.getReact(...).getProps() you'll see, it is an array of all children and the are objects themselves. I think it is a problem when using Material UI like your example website does and also my project.
hi i am trying to test this website https://www.retrospected.com/
but i am unable to do it because their react components are of forwardref type and that is why this cypress is giving an error. is their any way to access these kind of components because i need to test this site using react components props etc i am attaching two pictures one with the error and one with the website type of components please check and tell me the solution.
my test case type is
describe('It should validate cypress react selector', () => {
before(() => {
cy.visit('https://www.retrospected.com/');
cy.waitForReact(5000);
});
cy.react('Anonymous', { props: { children: 'Login' } }).click();


});
The text was updated successfully, but these errors were encountered: