Skip to content

Commit 6395a1b

Browse files
committed
try different reload approach
1 parent 12c9d93 commit 6395a1b

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

atest/07_Configuration.robot

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,17 @@ Settings Should Change Editor Diagnostics
6464
Lab Command ${save command}
6565
Ensure Sidebar Is Closed
6666
Capture Page Screenshot 03-settings-changed.png
67-
Run Keyword If ${needs reload} Reload Page
68-
Open Diagnostics Panel
67+
Run Keyword If ${needs reload} Reload After Configuration ${language} ${file}
6968
Wait Until Page Contains Element ${after diagnostic} timeout=30s
7069
Capture Page Screenshot 04-configured-diagnostic-found.png
7170
[Teardown] Clean Up After Working with File and Settings ${file}
71+
72+
73+
Reload After Configuration
74+
[Arguments] ${language} ${file}
75+
Reload Page
76+
Wait Until Keyword Succeeds 3x 5s Wait For Splash
77+
Reset Application State
78+
Prepare File for Editing ${language} config ${file}
79+
Wait Until Fully Initialized
80+
Open Diagnostics Panel

0 commit comments

Comments
 (0)