@@ -10,10 +10,12 @@ Test Setup Initialize and Start OpenSCD
10
10
Test Teardown Make screenshot and Stop OpenSCD
11
11
12
12
*** Variables ***
13
- ${substation1 } _af9a4ae3-ba2e-4c34-8e47-5af894ee20f4
14
- ${substation1VoltageLevel } ${substation1 } >S1 110kV
15
- ${substation3 } _974565b1-ac55-4901-9f48-afc7ef5486df
16
- ${substation3VoltageLevel } ${substation3 } >S3 110kV
13
+ ${single-line-diagram-selector } oscd-plugin631642fb644970bc
14
+
15
+ ${substation1 } _af9a4ae3-ba2e-4c34-8e47-5af894ee20f4
16
+ ${substation1VoltageLevel } ${substation1 } >S1 110kV
17
+ ${substation3 } _974565b1-ac55-4901-9f48-afc7ef5486df
18
+ ${substation3VoltageLevel } ${substation3 } >S3 110kV
17
19
18
20
*** Keywords ***
19
21
Execute SCL Auto Alignment
@@ -29,14 +31,14 @@ Execute SCL Auto Alignment
29
31
Select SLD Substation
30
32
[Arguments] ${id }
31
33
# First click on the selectbox to open the dropdown box, to make the values visible.
32
- Click single-line-diagram-plugin mwc-select[id="substationSelector"]
34
+ Click ${ single-line-diagram-selector } mwc-select[id="substationSelector"]
33
35
# Now we can select the correct substation.
34
- Click single-line-diagram-plugin mwc-select[id="substationSelector"] > mwc-list-item[value="${id } "]
36
+ Click ${ single-line-diagram-selector } mwc-select[id="substationSelector"] > mwc-list-item[value="${id } "]
35
37
36
38
Check X/Y Coordinates
37
39
[Arguments] ${id } ${x } ${y }
38
- Get Attribute single-line-diagram-plugin svg g[id="${id } "] sxy:x == ${x }
39
- Get Attribute single-line-diagram-plugin svg g[id="${id } "] sxy:y == ${y }
40
+ Get Attribute ${ single-line-diagram-selector } svg g[id="${id } "] sxy:x == ${x }
41
+ Get Attribute ${ single-line-diagram-selector } svg g[id="${id } "] sxy:y == ${y }
40
42
41
43
*** Test Cases ***
42
44
TestCase004-01
0 commit comments