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
When I'm trying to find this component by props 'position' in the following way:
cy.react('', { props: { id: 'googlemap' } }).nthNode(0).getReact('', { props: { polygon: { position: [{lat: 43.49140034397328, lng: -114.28001545783025}, {lat: 43.49062198584881, lng: -114.27894257422429}, {lat: 43.48984361769324, lng: -114.28001545783025}] } } }) I receive error that component is not found. Although when I'm trying to find the same component in a different way:
cy.react('', { props: { id: 'googlemap' } }).nthNode(0).getReact('', { props: { polygon: { type: 'polygon' } } }) - everything is Ok.
I think the problem is with the value type which is array of objects. I have similar case but when I pass as a value a single object not an array of them, and in that case component is found.
Could you please inestigate the case and probably fix it?
The text was updated successfully, but these errors were encountered:
Hi.
I have following component in application:
When I'm trying to find this component by props 'position' in the following way:
cy.react('', { props: { id: 'googlemap' } }).nthNode(0).getReact('', { props: { polygon: { position: [{lat: 43.49140034397328, lng: -114.28001545783025}, {lat: 43.49062198584881, lng: -114.27894257422429}, {lat: 43.48984361769324, lng: -114.28001545783025}] } } }) I receive error that component is not found. Although when I'm trying to find the same component in a different way:
cy.react('', { props: { id: 'googlemap' } }).nthNode(0).getReact('', { props: { polygon: { type: 'polygon' } } }) - everything is Ok.
I think the problem is with the value type which is array of objects. I have similar case but when I pass as a value a single object not an array of them, and in that case component is found.
Could you please inestigate the case and probably fix it?
The text was updated successfully, but these errors were encountered: