jeudi 3 octobre 2019

Testcafe ignore overlaying element


Problem: Cannot find Canvas due to overlaying polyline that follows cursor position inside canvas.

Target element: Canvas

Overlaying element: polyline

Possible solution: Ignore polyline element??


Explanation:

This polyline blocks the underlaying element (canvas) which causes TestCafe to not see the canvas on click.

TestCafe waits until the waiting time is over and will click on the given location when done waiting. This causes the test to succeed. But there is a big delay because of this.

Adjusting the waiting time cannot be done due to other steps in the test that need the waiting time.

Unfortunately I cannot share the project due to medical environment.

Please help.


Kind reguards

Aucun commentaire:

Enregistrer un commentaire