File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -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 ${sclname } ${scltype } 1.0.0
36
+ Add to CoMPAS MiniGrid.scd ${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 ${sclname } ${scltype } 1.0.0
54
+ Add to CoMPAS MiniGrid.scd ${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 ${sclname } ${scltype } 1.0.0
78
+ Add to CoMPAS MiniGrid.scd ${sclname } ${scltype } 1.0.0
79
79
80
80
Open Menu Save project
81
81
Save to local file ${sclname } ${scltype }
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Initialize Versions
34
34
Set Test Variable ${scltype } CID
35
35
36
36
Open Menu Save project
37
- Add to CoMPAS ${sclname } ${scltype } 1.0.0
37
+ Add to CoMPAS MiniGrid.scd ${sclname } ${scltype } 1.0.0
38
38
39
39
Select Tab CoMPAS Versions
40
40
Get Element Count ${compas-versions-editor-selector } mwc-list > mwc-check-list-item == 1
Original file line number Diff line number Diff line change @@ -22,8 +22,10 @@ Open from CoMPAS
22
22
Close Menu
23
23
24
24
Add to CoMPAS
25
- [Arguments] ${name } ${type } ${expectedVersion }
26
- Fill Text ${dialog-selector } #wizard-content > compas-save #name label > input ${name } -${current-date }
25
+ [Arguments] ${initialValue } ${name } ${type } ${expectedVersion }
26
+ # Make sure the initial value is entered. so we can continue.
27
+ Get Text ${dialog-selector } compas-save mwc-textfield#name input == ${initialValue }
28
+ Fill Text ${dialog-selector } compas-save mwc-textfield#name input ${name } -${current-date }
27
29
Click ${dialog-selector } compas-save compas-scltype-radiogroup mwc-list > mwc-radio-list-item[value="${type.upper() } "]
28
30
Click ${dialog-selector } mwc-button[slot="primaryAction"] > button
29
31
Wait for dialog is closed
You can’t perform that action at this time.
0 commit comments