Skip to content

Commit 5b4b54c

Browse files
authored
Improve tests (robotframework#1138)
Improving test for click element and for mouse over.
1 parent f449c97 commit 5b4b54c

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

atest/acceptance/keywords/click_element.robot

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ Click Element Error
2121
[Setup] Go To Page "javascript/click.html"
2222
Click Element id:äääääää
2323

24+
Click Element Error 2
25+
[Documentation] FAIL Element with locator 'id:鱼鱼鱼鱼' not found.
26+
[Setup] Go To Page "javascript/click.html"
27+
Click Element id:鱼鱼鱼鱼
28+
29+
Click Element Error 3
30+
[Documentation] FAIL Element with locator '鱼在天空中飞翔' not found.
31+
[Setup] Go To Page "javascript/click.html"
32+
Click Element 鱼在天空中飞翔
33+
2434
Double Click Element Error
2535
[Documentation] FAIL Element with locator 'id:öööö' not found.
2636
[Setup] Go To Page "javascript/click.html"

atest/acceptance/keywords/mouse.robot

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ Mouse Over
1313
... Element with locator 'not_there' not found.
1414
... Mouse Over not_there
1515

16+
Mouse Over Error
17+
[Tags] Known Issue Safari
18+
Mouse Over el_for_mouseover
19+
Textfield Value Should Be el_for_mouseover mouseover el_for_mouseover
20+
Run Keyword And Expect Error
21+
... Element with locator '鱼在天空中飞翔' not found.
22+
... Mouse Over 鱼在天空中飞翔
23+
1624
Mouse Out
1725
[Tags] Known Issue Safari
1826
Mouse Out el_for_mouseout

0 commit comments

Comments
 (0)