Skip to content

Commit fb4802f

Browse files
committed
Content assertion fix for Selenium 3.14.0
1 parent 477cad6 commit fb4802f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

atest/acceptance/keywords/content_assertions.robot

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Resource ../resource.robot
66

77
*** Test Cases ***
88
Location Should Be
9-
[Documentation] LOG 2:3 Current location is '${FRONT PAGE}'.
9+
[Documentation] LOG 2:4 Current location is '${FRONT PAGE}'.
1010
Location Should Be ${FRONT PAGE}
1111
Location Should Be ${FRONT PAGE} message=taco
1212
Location Should Be ${FRONT PAGE} message=None
@@ -22,7 +22,7 @@ Location Should Be
2222

2323

2424
Location Should Contain
25-
[Documentation] LOG 2:3 Current location contains 'html'.
25+
[Documentation] LOG 2:4 Current location contains 'html'.
2626
Location Should Contain html
2727
Location Should Contain html message=foobar
2828
Location Should Contain html message=None
@@ -38,7 +38,7 @@ Location Should Contain
3838

3939

4040
Title Should Be
41-
[Documentation] LOG 2:3 Page title is '(root)/index.html'.
41+
[Documentation] LOG 2:4 Page title is '(root)/index.html'.
4242
Title Should Be (root)/index.html
4343
Run Keyword And Expect Error
4444
... Title should have been 'not a title' but was '(root)/index.html'.
@@ -49,8 +49,8 @@ Title Should Be
4949

5050

5151
Page Should Contain
52-
[Documentation] LOG 2:5 Current page contains text 'needle'.
53-
... LOG 4.1:10 REGEXP: (?i)<html.*</html>
52+
[Documentation] LOG 2:7 Current page contains text 'needle'.
53+
... LOG 4.1:14 REGEXP: (?i)<html.*</html>
5454
Page Should Contain needle
5555
Page Should Contain This is the haystack
5656
Run Keyword And Expect Error
@@ -63,7 +63,7 @@ Page Should Contain with text having internal elements
6363
Page Should Contain Relative with text after
6464

6565
Page Should Contain With Custom Log Level
66-
[Documentation] LOG 2.1:10 DEBUG REGEXP: (?i)<html.*</html>
66+
[Documentation] LOG 2.1:14 DEBUG REGEXP: (?i)<html.*</html>
6767
Run Keyword And Expect Error
6868
... Page should have contained text 'non existing text' but did not.
6969
... Page Should Contain non existing text DEBUG
@@ -81,15 +81,15 @@ Page Should Contain With Frames
8181
Page Should Contain You're looking at right.
8282

8383
Page Should Not Contain
84-
[Documentation] LOG 2:8 Current page does not contain text 'non existing text'.
85-
... LOG 3.1:7 REGEXP: (?i)<html.*</html>
84+
[Documentation] LOG 2:11 Current page does not contain text 'non existing text'.
85+
... LOG 3.1:10 REGEXP: (?i)<html.*</html>
8686
Page Should Not Contain non existing text
8787
Run Keyword And Expect Error
8888
... Page should not have contained text 'needle'.
8989
... Page Should Not Contain needle
9090

9191
Page Should Not Contain With Custom Log Level
92-
[Documentation] LOG 2.1:7 DEBUG REGEXP: (?i)<html.*</html>
92+
[Documentation] LOG 2.1:10 DEBUG REGEXP: (?i)<html.*</html>
9393
Run Keyword And Expect Error
9494
... Page should not have contained text 'needle'.
9595
... Page Should Not Contain needle DEBUG
@@ -199,7 +199,7 @@ Get Text
199199
... Get Text missing_id
200200

201201
Page Should Contain Checkbox
202-
[Documentation] LOG 2:5 Current page contains checkbox 'can_send_email'.
202+
[Documentation] LOG 2:7 Current page contains checkbox 'can_send_email'.
203203
[Setup] Go To Page "forms/prefilled_email_form.html"
204204
Page Should Contain Checkbox can_send_email
205205
Page Should Contain Checkbox xpath=//input[@type='checkbox' and @name='can_send_sms']
@@ -208,7 +208,7 @@ Page Should Contain Checkbox
208208
... Page Should Contain Checkbox non-existing
209209

210210
Page Should Not Contain Checkbox
211-
[Documentation] LOG 2:5 Current page does not contain checkbox 'non-existing'.
211+
[Documentation] LOG 2:7 Current page does not contain checkbox 'non-existing'.
212212
[Setup] Go To Page "forms/prefilled_email_form.html"
213213
Page Should Not Contain Checkbox non-existing
214214
Run Keyword And Expect Error
@@ -298,7 +298,7 @@ Page Should Not Contain Text Field
298298
... Page Should Not Contain Text Field website
299299

300300
TextField Should Contain
301-
[Documentation] LOG 2:7 Text field 'name' contains text ''.
301+
[Documentation] LOG 2:10 Text field 'name' contains text ''.
302302
[Setup] Go To Page "forms/email_form.html"
303303
TextField Should contain name ${EMPTY}
304304
TextField Should contain website ${EMPTY}
@@ -314,7 +314,7 @@ TextField Should Contain
314314
... TextField Should contain website https://w3.org
315315

316316
TextField Value Should Be
317-
[Documentation] LOG 2:7 Content of text field 'name' is ''.
317+
[Documentation] LOG 2:10 Content of text field 'name' is ''.
318318
[Setup] Go To Page "forms/email_form.html"
319319
textfield Value Should Be name ${EMPTY}
320320
Input Text name my name

0 commit comments

Comments
 (0)