@@ -7,7 +7,7 @@ Resource ../resource.robot
7
7
*** Test Cases ***
8
8
Title Should Be
9
9
[Tags] NoGrid
10
- [Documentation] LOG 2 :4 Page title is '(root)/index.html'.
10
+ [Documentation] LOG 1 :4 Page title is '(root)/index.html'.
11
11
Title Should Be (root)/index.html
12
12
Run Keyword And Expect Error
13
13
... Title should have been 'not a title' but was '(root)/index.html'.
@@ -20,9 +20,9 @@ Page Should Contain
20
20
[Tags] NoGrid
21
21
[Documentation] The last step fails and doesn't contain the html content.
22
22
... FAIL Page should have contained text 'non existing text' but did not.
23
- ... LOG 2 :7 Current page contains text 'needle'.
24
- ... LOG 3 :7 INFO Current page contains text 'This is the haystack'.
25
- ... LOG 4 :14 FAIL Page should have contained text 'non existing text' but did not.
23
+ ... LOG 1 :7 Current page contains text 'needle'.
24
+ ... LOG 2 :7 INFO Current page contains text 'This is the haystack'.
25
+ ... LOG 3 :14 FAIL Page should have contained text 'non existing text' but did not.
26
26
Page Should Contain needle
27
27
Page Should Contain This is the haystack
28
28
Page Should Contain non existing text
@@ -41,22 +41,22 @@ Page Should Contain With Custom Log Level DEBUG
41
41
[Tags] NoGrid
42
42
[Documentation] Html content is shown at DEBUG level.
43
43
... FAIL Page should have contained text 'non existing text' but did not.
44
- ... LOG 2 :14 DEBUG REGEXP: (?i)<html.*</html>
45
- ... LOG 2 :15 FAIL Page should have contained text 'non existing text' but did not.
44
+ ... LOG 1 :14 DEBUG REGEXP: (?i)<html.*</html>
45
+ ... LOG 1 :15 FAIL Page should have contained text 'non existing text' but did not.
46
46
Page Should Contain non existing text DEBUG
47
47
48
48
Page Should Contain With Custom Log Level TRACE
49
49
[Tags] NoGrid
50
50
[Documentation] Html content is shown at DEBUG level.
51
51
... FAIL Page should have contained text 'non existing text' but did not.
52
- ... LOG 3 :15 TRACE REGEXP: (?i)<html.*</html>
53
- ... LOG 3 :16 FAIL Page should have contained text 'non existing text' but did not.
52
+ ... LOG 2 :15 TRACE REGEXP: (?i)<html.*</html>
53
+ ... LOG 2 :16 FAIL Page should have contained text 'non existing text' but did not.
54
54
Set Log Level TRACE
55
55
Page Should Contain non existing text TRACE
56
56
[Teardown] Set Log Level DEBUG
57
57
58
58
Page Should Contain With Disabling Source Logging
59
- [Documentation] LOG 3 :2 NONE
59
+ [Documentation] LOG TEARDOWN :2 NONE
60
60
Set Log Level INFO
61
61
Run Keyword And Expect Error
62
62
... Page should have contained text 'non existing text' but did not.
@@ -71,20 +71,20 @@ Page Should Not Contain
71
71
[Tags] NoGrid
72
72
[Documentation] Default log level does not have html output.
73
73
... FAIL Page should not have contained text 'needle'.
74
- ... LOG 2 :11 Current page does not contain text 'non existing text'.
75
- ... LOG 3 :10 FAIL Page should not have contained text 'needle'.
74
+ ... LOG 1 :11 Current page does not contain text 'non existing text'.
75
+ ... LOG 2 :10 FAIL Page should not have contained text 'needle'.
76
76
Page Should Not Contain non existing text
77
77
Page Should Not Contain needle
78
78
79
79
Page Should Not Contain With Custom Log Level
80
80
[Tags] NoGrid
81
- [Documentation] LOG 2 .1:10 DEBUG REGEXP: (?i)<html.*</html>
81
+ [Documentation] LOG 1 .1:10 DEBUG REGEXP: (?i)<html.*</html>
82
82
Run Keyword And Expect Error
83
83
... Page should not have contained text 'needle'.
84
84
... Page Should Not Contain needle DEBUG
85
85
86
86
Page Should Not Contain With Disabling Source Logging
87
- [Documentation] LOG 3 :2 NONE
87
+ [Documentation] LOG TEARDOWN :2 NONE
88
88
Set Log Level INFO
89
89
Run Keyword And Expect Error
90
90
... Page should not have contained text 'needle'.
@@ -103,7 +103,7 @@ Page Should Contain Element With Custom Message
103
103
... Page Should Contain Element invalid Custom error message
104
104
105
105
Page Should Contain Element With Disabling Source Logging
106
- [Documentation] LOG 3 :2 NONE
106
+ [Documentation] LOG TEARDOWN :2 NONE
107
107
Set Log Level INFO
108
108
Run Keyword And Expect Error
109
109
... Page should have contained element 'non-existent' but did not.
@@ -117,7 +117,7 @@ Page Should Not Contain Element
117
117
... Page Should Not Contain Element some_id
118
118
119
119
Page Should Not Contain Element With Disabling Source Logging
120
- [Documentation] LOG 3 :2 NONE
120
+ [Documentation] LOG TEARDOWN :2 NONE
121
121
Set Log Level INFO
122
122
Run Keyword And Expect Error
123
123
... Page should not have contained element 'some_id'.
@@ -189,7 +189,7 @@ Get Text
189
189
190
190
Page Should Contain Checkbox
191
191
[Tags] NoGrid
192
- [Documentation] LOG 2 :7 Current page contains checkbox 'can_send_email'.
192
+ [Documentation] LOG 1 :7 Current page contains checkbox 'can_send_email'.
193
193
[Setup] Go To Page "forms/prefilled_email_form.html"
194
194
Page Should Contain Checkbox can_send_email
195
195
Page Should Contain Checkbox xpath=//input[@type='checkbox' and @name='can_send_sms']
@@ -199,7 +199,7 @@ Page Should Contain Checkbox
199
199
200
200
Page Should Not Contain Checkbox
201
201
[Tags] NoGrid
202
- [Documentation] LOG 2 :7 Current page does not contain checkbox 'non-existing'.
202
+ [Documentation] LOG 1 :7 Current page does not contain checkbox 'non-existing'.
203
203
[Setup] Go To Page "forms/prefilled_email_form.html"
204
204
Page Should Not Contain Checkbox non-existing
205
205
Run Keyword And Expect Error
@@ -290,7 +290,7 @@ Page Should Not Contain Text Field
290
290
291
291
TextField Should Contain
292
292
[Tags] NoGrid
293
- [Documentation] LOG 2 :10 Text field 'name' contains text ''.
293
+ [Documentation] LOG 1 :10 Text field 'name' contains text ''.
294
294
[Setup] Go To Page "forms/email_form.html"
295
295
TextField Should contain name ${EMPTY }
296
296
TextField Should contain website ${EMPTY }
@@ -307,7 +307,7 @@ TextField Should Contain
307
307
308
308
TextField Value Should Be
309
309
[Tags] NoGrid
310
- [Documentation] LOG 2 :10 Content of text field 'name' is ''.
310
+ [Documentation] LOG 1 :10 Content of text field 'name' is ''.
311
311
[Setup] Go To Page "forms/email_form.html"
312
312
textfield Value Should Be name ${EMPTY }
313
313
Input Text name my name
0 commit comments