Adapted expected errors in end2end test for click-element.

This commit is contained in:
Nicholas Schwab 2022-04-06 20:09:03 +02:00
parent e6083ac7eb
commit 709592b46a
1 changed files with 2 additions and 2 deletions

View File

@ -479,12 +479,12 @@ Feature: Various utility commands.
Scenario: Clicking an element with invalid position
When I open data/click_element.html
And I run :click-element position 20.42
Then the error "'20.42' is not a valid point!" should be shown
Then the error "'20.42' is not a valid point: String 20.42 does not match X,Y" should be shown
Scenario: Clicking an element with non-integer position
When I open data/click_element.html
And I run :click-element position 20,42.001
Then the error "'20,42.001' is not a valid point!" should be shown
Then the error "'20,42.001' is not a valid point: String 20,42.001 does not match X,Y" should be shown
Scenario: Clicking on focused element when there is none
When I open data/click_element.html