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
77Resource ./general-config.robot
88Resource ./general-openscd.robot
99
10+ *** Variables ***
11+ ${compas-save-dialog-selector } div#menuContent mwc-dialog#compas-save-dlg
12+
1013*** Keywords ***
1114Initialize and Start OpenSCD
1215 Set global variables
@@ -26,6 +29,7 @@ Open from CoMPAS
2629Add to CoMPAS
2730 [Arguments] ${initialValue } ${name } ${type } ${expectedVersion }
2831 # Make sure the initial value is entered. so we can continue.
32+ Wait for compas save dialog
2933 Get Text div#menuContent mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input == ${initialValue }
3034 # Sleep 1s test
3135 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
102106 Click ${dialog } compas-scl-list oscd-filter-button#labelsFilter > mwc-dialog#filterDialog mwc-formfield > mwc-checkbox
103107 Click ${dialog } compas-scl-list oscd-filter-button#labelsFilter > mwc-check-list-item[value="${label } "]
104108 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