@@ -33,7 +33,7 @@ TestCase001-02
33
33
Set Test Variable ${scltype } CID
34
34
35
35
Open Menu Save project
36
- Add to CoMPAS MiniGrid.scd ${sclname } ${scltype } 1.0.0
36
+ Add to CoMPAS MiniGrid ${sclname } ${scltype } 1.0.0
37
37
38
38
Select Tab Substation
39
39
Get Text ${substation-editor-selector } section > h1:has-text("Sub1")
@@ -51,7 +51,7 @@ TestCase001-03
51
51
Set Test Variable ${scltype } CID
52
52
53
53
Open Menu Save project
54
- Add to CoMPAS MiniGrid.scd ${sclname } ${scltype } 1.0.0
54
+ Add to CoMPAS MiniGrid ${sclname } ${scltype } 1.0.0
55
55
56
56
Close OpenSCD
57
57
Open OpenSCD and Login
@@ -75,7 +75,7 @@ TestCase001-04
75
75
Set Test Variable ${scltype } CID
76
76
77
77
Open Menu Save project
78
- Add to CoMPAS MiniGrid.scd ${sclname } ${scltype } 1.0.0
78
+ Add to CoMPAS MiniGrid ${sclname } ${scltype } 1.0.0
79
79
80
80
Open Menu Save project
81
81
Save to local file ${sclname } ${scltype }
@@ -94,12 +94,13 @@ TestCase001-05
94
94
Set Test Variable ${scltype } CID
95
95
96
96
Open Menu Save project
97
- Get Text ${dialog-selector } compas-save mwc-textfield#name input == MiniGrid.scd
98
- Fill Text ${dialog-selector } compas-save mwc-textfield#name input ${sclname }
99
- Click ${dialog-selector } compas-save compas-scltype-radiogroup mwc-list > mwc-radio-list-item[value="${scltype } "]
100
- Click ${dialog-selector } mwc-button[slot="primaryAction"] > button
97
+ Get Text mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input == MiniGrid
98
+ Fill Text mwc-dialog#compas-save-dlg > compas-save mwc-textfield#name label > input ${sclname }
99
+ Click mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select
100
+ Click mwc-dialog#compas-save-dlg > compas-save compas-scltype-select mwc-select > mwc-list-item[value="${scltype } "]
101
+ Click mwc-dialog#compas-save-dlg > mwc-button[slot="primaryAction"] > button
101
102
Wait until executed
102
- Click ${ dialog-selector } mwc-button[slot="secondaryAction"] > button
103
+ Click mwc- dialog#compas-save-dlg > mwc-button[slot="secondaryAction"] > button
103
104
Wait for dialog is closed
104
105
Close Menu
105
106
0 commit comments