I am using the a tool provided by saucelabs to create a user test.
I have a div containing an image and when you hover over it a box displaying where your magnifying appears and that area is then displayed to the right
The aim of the test is to verify when a user hovers over my main image a second div is displayed showing a magnified version of that image
So far I have created a test that passes but while I can see the magnification area over the image there is no image being displayed to the right of that. So in my eyes thats failing
Why is the test passing if the image is not being displayed?
NB
My last command is waitForVisible (which passes) and reading the documentation it states
Determines if the specified element is visible. An element can be rendered invisible by setting the CSS "visibility" property to "hidden", or the "display" property to "none", either for the element itself or one of its ancestors. This method will fail if the element is not present.