Scenario:
- Testing web application using Protractor
- Element needs to be clicked on to open another page
- Designed the test to have one click on the element
Issue: Sometimes elements needs one click and the test passes but if I run it again the same element needs double clicks
This is causing my test to fails randomly
I verified this by changing the command to have a double click in protractor and it passed.
This is causing inconsistency as I don't know when the element needs one or double clicks.
Any Suggestion is appreciated?