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
Hello,
I need dire help on how to use the mapbox instance (getMap()) in cypress for tests, after initializing.
I initialised it, like so, and send it as props, after saving it to state, to my different components in my app for use:
Now, I wish I could send this to my cypress spec file, but that does not work. Could you suggest any means by which I can do this, or better still test mapbox events and interactions in cypress?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I need dire help on how to use the mapbox instance (
getMap()
) in cypress for tests, after initializing.I initialised it, like so, and send it as props, after saving it to state, to my different components in my app for use:
Now, I wish I could send this to my cypress spec file, but that does not work. Could you suggest any means by which I can do this, or better still test mapbox events and interactions in cypress?
Beta Was this translation helpful? Give feedback.
All reactions