Skip to content

Commit 6bb1aac

Browse files
committed
Speed up tests by not reloading page within suites
1 parent 538c1f1 commit 6bb1aac

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

atest/Keywords.resource

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ Reset Application State
142142
Try to Close All Tabs
143143
Accept Default Dialog Option
144144
Ensure All Kernels Are Shut Down
145-
Lab Command Reset Application State
146-
Wait Until Keyword Succeeds 3x 5s Wait For Splash
145+
Accept Default Dialog Option
147146

148147
Accept Default Dialog Option
149148
[Documentation] Accept a dialog, if it exists
@@ -153,11 +152,9 @@ Accept Default Dialog Option
153152
Ensure All Kernels Are Shut Down
154153
Enter Command Name Shut Down All Kernels
155154
${els} = Get WebElements ${CMD PALETTE ITEM ACTIVE}
156-
IF ${els.__len__()} Click Element ${CMD PALETTE ITEM ACTIVE}
157-
${accept} = Set Variable css:.jp-mod-accept.jp-mod-warn
158155
IF ${els.__len__()}
159-
Wait Until Page Contains Element ${accept}
160-
Click Element ${accept}
156+
Click Element ${CMD PALETTE ITEM ACTIVE}
157+
Accept Default Dialog Option
161158
END
162159

163160
Open Command Palette

0 commit comments

Comments
 (0)