File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
integration-testing/include Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ Documentation Generic variables and Keywords to work with the OpenSCD CoMPAS C
7
7
Resource ./general-config.robot
8
8
Resource ./general-openscd.robot
9
9
10
+ *** Variables ***
11
+ ${compas-save-dialog-selector } div#menuContent mwc-dialog#compas-save-dlg
12
+
10
13
*** Keywords ***
11
14
Initialize and Start OpenSCD
12
15
Set global variables
@@ -26,6 +29,7 @@ Open from CoMPAS
26
29
Add to CoMPAS
27
30
[Arguments] ${initialValue } ${name } ${type } ${expectedVersion }
28
31
# Make sure the initial value is entered. so we can continue.
32
+ Wait for compas save dialog
29
33
Get Text div#menuContent mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input == ${initialValue }
30
34
# Sleep 1s test
31
35
Fill Text div#menuContent mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input ${name } -${current-date }
@@ -102,3 +106,6 @@ Select label
102
106
Click ${dialog } compas-scl-list oscd-filter-button#labelsFilter > mwc-dialog#filterDialog mwc-formfield > mwc-checkbox
103
107
Click ${dialog } compas-scl-list oscd-filter-button#labelsFilter > mwc-check-list-item[value="${label } "]
104
108
Click ${dialog } compas-scl-list oscd-filter-button#labelsFilter > mwc-dialog#filterDialog > mwc-button[slot="primaryAction"] > button
109
+
110
+ Wait for compas save dialog
111
+ Wait Until Element Is Visible ${compas-save-dialog-selector }
You can’t perform that action at this time.
0 commit comments