File tree Expand file tree Collapse file tree 5 files changed +6
-10
lines changed Expand file tree Collapse file tree 5 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 1
1
*** Settings ***
2
2
Suite Setup Setup Suite For Screenshots notebook
3
- Test Setup Run Keywords Capture Lab Log Before Test Try to Close All Tabs
3
+ Test Setup Try to Close All Tabs
4
4
Resource Keywords.robot
5
5
6
6
*** Test Cases ***
Original file line number Diff line number Diff line change 1
1
*** Settings ***
2
2
Suite Setup Setup Suite For Screenshots diagnostics_panel
3
3
Resource ../Keywords.robot
4
- Test Setup Run Keywords Capture Lab Log Before Test Gently Reset Workspace
4
+ Test Setup Gently Reset Workspace
5
5
6
6
*** Variables ***
7
7
${EXPECTED_COUNT } 1
Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ Triggers Completer On Dot
93
93
94
94
*** Keywords ***
95
95
Setup Completion Test
96
- Capture Lab Log Before Test
97
96
Setup Notebook Python Completion.ipynb
98
97
99
98
Get Cell Editor Content
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Setup Server and Browser
23
23
${cmd } = Create Lab Launch Command ${root }
24
24
Set Screenshot Directory ${OUTPUT DIR }${/ } screenshots
25
25
Set Global Variable ${LAB LOG } ${OUTPUT DIR }${/ } lab.log
26
- Set Global Variable ${PREVIOUS LAB LOG TEXT } ${ EMPTY }
26
+ Set Global Variable ${PREVIOUS LAB LOG LENGTH } 0
27
27
${server } = Start Process ${cmd } shell=yes env:HOME=${home } cwd=${home } stdout=${LAB LOG }
28
28
... stderr=STDOUT
29
29
Set Global Variable ${SERVER } ${server }
@@ -67,14 +67,11 @@ Tear Down Everything
67
67
Terminate All Processes
68
68
Terminate All Processes kill=${True }
69
69
70
- Capture Lab Log Before Test
70
+ Lab Log Should Not Contain Known Error Messages
71
71
${log } = Get File ${LAB LOG }
72
+ ${test log } = Set Variable ${log[${PREVIOUS LAB LOG LENGTH }:] }
72
73
${length } = Get Length ${log }
73
74
Set Global Variable ${PREVIOUS LAB LOG LENGTH } ${length }
74
-
75
- Lab Log Should Not Contain Known Error Messages
76
- ${log } = Get File ${LAB LOG }
77
- ${test log } = Set Variable ${log[:${PREVIOUS LAB LOG LENGTH }] }
78
75
Should Not Contain Any ${test log } @{KNOWN BAD ERRORS } msg=${test log }
79
76
80
77
Wait For Splash
Original file line number Diff line number Diff line change 1
1
*** Settings ***
2
2
Suite Setup Setup Server and Browser
3
3
Suite Teardown Tear Down Everything
4
- Test Setup Run Keywords Capture Lab Log Before Test Reset Application State
4
+ Test Setup Reset Application State
5
5
Test Teardown Lab Log Should Not Contain Known Error Messages
6
6
Force Tags os:${OS.lower() } py:${PY }
7
7
Resource Keywords.robot
You can’t perform that action at this time.
0 commit comments