Skip to content

Commit 8b44cd5

Browse files
committed
Fix failure mode test
1 parent 3ef59e3 commit 8b44cd5

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

atest/_resources/Keywords.resource

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Resource Variables.resource
1616

1717
*** Keywords ***
1818
Setup Server and Browser
19+
[Arguments] ${wait_for_server_log}=${True}
1920
Initialize Global Variables
2021
Create Notebok Server Config
2122
Initialize User Settings
@@ -35,8 +36,10 @@ Setup Server and Browser
3536
... env:HOME=${HOME}
3637
... env:JUPYTER_NO_CONFIG=${EMPTY}
3738
Set Global Variable ${SERVER} ${server}
38-
Wait Until File Contains ${LAB LOG}
39-
... The following Language Servers will be available
39+
IF ${wait_for_server_log}
40+
Wait Until File Contains ${LAB LOG}
41+
... The following Language Servers will be available
42+
END
4043
Open JupyterLab
4144
Read Page Config
4245

atest/suites/04_Interface/BackendFailure.robot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ Handles Server Extension Failure
2424
*** Keywords ***
2525
Setup Missing Extension Test
2626
Set Server Extension State enabled=${False}
27-
Setup Server and Browser
27+
Setup Server and Browser wait_for_server_log=${False}
2828

2929
Teardown Missing Extension Test
3030
Set Server Extension State enabled=${True}
31-
Setup Server and Browser
31+
Setup Server and Browser wait_for_server_log=${True}

0 commit comments

Comments
 (0)