Skip to content

Commit

Permalink
Fixed snapshot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwilbrink committed Jun 11, 2024
1 parent 015e493 commit 2fe4c39
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
export const snapshots = {};

snapshots["subnetwork-editor with child GSE elements looks like the latest snapshot"] =
`<action-pane label="StationBus — desc
(8-MMS — 100.0 b/s)">
`<action-pane
label="StationBus — desc
(8-MMS — 100.0 b/s)"
tabindex="0"
>
<abbr
slot="action"
title="[edit]"
Expand All @@ -29,6 +32,7 @@ snapshots["subnetwork-editor with child GSE elements looks like the latest snaps
<action-pane
id="iedSection"
label="GOOSE_Publisher"
tabindex="0"
>
<connectedap-editor>
</connectedap-editor>
Expand All @@ -45,8 +49,11 @@ snapshots["subnetwork-editor with child GSE elements looks like the latest snaps
/* end snapshot subnetwork-editor with child GSE elements looks like the latest snapshot */

snapshots["subnetwork-editor with child SMV elements looks like the latest snapshot"] =
`<action-pane label="ProcessBus1
(8-MMS — 100 b/s)">
`<action-pane
label="ProcessBus1
(8-MMS — 100 b/s)"
tabindex="0"
>
<abbr
slot="action"
title="[edit]"
Expand All @@ -72,6 +79,7 @@ snapshots["subnetwork-editor with child SMV elements looks like the latest snaps
<action-pane
id="iedSection"
label="GOOSE_Publisher"
tabindex="0"
>
<connectedap-editor class="disabled">
</connectedap-editor>
Expand All @@ -85,6 +93,7 @@ snapshots["subnetwork-editor with child SMV elements looks like the latest snaps
<action-pane
id="iedSection"
label="SMV_Publisher"
tabindex="0"
>
<connectedap-editor>
</connectedap-editor>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
export const snapshots = {};

snapshots["subnetwork-104-container looks like the latest snapshot"] =
`<action-pane label=" F1 —
(104)">
`<action-pane
label=" F1 —
(104)"
tabindex="0"
>
<abbr
slot="action"
title="[add]"
Expand All @@ -15,6 +18,7 @@ snapshots["subnetwork-104-container looks like the latest snapshot"] =
<action-pane
id="iedSection"
label="B1"
tabindex="0"
>
<connectedap-104-editor class="disabled">
</connectedap-104-editor>
Expand All @@ -24,6 +28,7 @@ snapshots["subnetwork-104-container looks like the latest snapshot"] =
<action-pane
id="iedSection"
label="B2"
tabindex="0"
>
<connectedap-104-editor class="disabled">
</connectedap-104-editor>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ snapshots["extref-later-binding-list for Sampled Value Control when SVC has no s
aria-disabled="false"
graphic="large"
mwc-list-item=""
tabindex="-1"
tabindex="0"
twoline=""
value="SMV_Subscriber>>Overvoltage> PTRC 1>AmpSv;TCTR2/AmpSv/instMag.i[0]"
>
Expand Down Expand Up @@ -265,7 +265,7 @@ snapshots["extref-later-binding-list for Sampled Value Control when SVC has a si
aria-disabled="false"
graphic="large"
mwc-list-item=""
tabindex="-1"
tabindex="0"
twoline=""
value="SMV_Subscriber>>Overvoltage> PTRC 1>AmpSv;TCTR1/AmpSv/instMag.i[0]"
>
Expand Down Expand Up @@ -497,7 +497,7 @@ snapshots["extref-later-binding-list when SVC has a multiple subscriptions looks
aria-disabled="false"
graphic="large"
mwc-list-item=""
tabindex="-1"
tabindex="0"
twoline=""
value="SMV_Subscriber>>Overvoltage> PTRC 1>AmpSv;TCTR1/AmpSv/q[0]"
>
Expand Down Expand Up @@ -793,7 +793,7 @@ snapshots["extref-later-binding-list for GOOSE Control when GSEControl has no su
aria-disabled="false"
graphic="large"
mwc-list-item=""
tabindex="-1"
tabindex="0"
twoline=""
value="GOOSE_Subscriber>>Earth_Switch> CILO 1>Pos;CSWI1/Pos/stVal[0]"
>
Expand Down Expand Up @@ -915,7 +915,7 @@ snapshots["extref-later-binding-list for GOOSE Control when GSEControl has a sin
aria-disabled="false"
graphic="large"
mwc-list-item=""
tabindex="-1"
tabindex="0"
twoline=""
value="GOOSE_Subscriber>>Earth_Switch> CSWI 1>Pos;CSWI1/Pos/stVal[0]"
>
Expand Down Expand Up @@ -1071,7 +1071,7 @@ snapshots["extref-later-binding-list when GSEControl has a multiple subscription
aria-disabled="false"
graphic="large"
mwc-list-item=""
tabindex="-1"
tabindex="0"
twoline=""
value="GOOSE_Subscriber>>Earth_Switch> CILO 1>Pos;CSWI1/Pos/q[0]"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ snapshots["for Sampled Value Control when SVC has no subscriptions looks like th
aria-disabled="false"
graphic="large"
mwc-list-item=""
tabindex="-1"
tabindex="0"
twoline=""
value="SMV_Subscriber1>>Overvoltage"
>
Expand Down Expand Up @@ -241,7 +241,7 @@ snapshots["for Sampled Value Control when SVC has a single subscriptions looks l
aria-disabled="false"
graphic="large"
mwc-list-item=""
tabindex="-1"
tabindex="0"
twoline=""
value="SMV_Subscriber1>>Overvoltage"
>
Expand Down Expand Up @@ -430,7 +430,7 @@ snapshots["when SVC has a multiple subscriptions looks like the latest snapshot,
aria-disabled="false"
graphic="large"
mwc-list-item=""
tabindex="-1"
tabindex="0"
twoline=""
value="SMV_Subscriber1>>Overvoltage"
>
Expand Down Expand Up @@ -649,7 +649,7 @@ snapshots["for GOOSE Control when GSEControl has no subscriptions looks like the
disabled=""
graphic="large"
mwc-list-item=""
tabindex="-1"
tabindex="0"
twoline=""
value="GOOSE_Subscriber1>>Earth_Switch"
>
Expand Down Expand Up @@ -822,7 +822,7 @@ snapshots["for GOOSE Control when GSEControl has a single subscription looks lik
aria-disabled="false"
graphic="large"
mwc-list-item=""
tabindex="-1"
tabindex="0"
twoline=""
value="GOOSE_Subscriber2>>Earth_Switch"
>
Expand Down Expand Up @@ -1012,7 +1012,7 @@ snapshots["when GSEControl has a multiple subscriptions looks like the latest sn
disabled=""
graphic="large"
mwc-list-item=""
tabindex="-1"
tabindex="0"
twoline=""
value="GOOSE_Subscriber1>>Earth_Switch"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const snapshots = {};
snapshots["Clone Redirection UI triggered by bay-editor looks like the latest snapshot"] =
`<mwc-dialog
heading="[substation.clone.redirect]"
open=""
stacked=""
>
<wizard-textfield
Expand Down Expand Up @@ -100,6 +101,7 @@ snapshots["Clone Redirection UI triggered by bay-editor looks like the latest sn
snapshots["Clone Redirection UI triggered by voltage-level-editor looks like the latest snapshot"] =
`<mwc-dialog
heading="[substation.clone.redirect]"
open=""
stacked=""
>
<wizard-textfield
Expand Down Expand Up @@ -196,6 +198,7 @@ snapshots["Clone Redirection UI triggered by voltage-level-editor looks like the
snapshots["Clone Redirection UI triggered by substation-editor looks like the latest snapshot"] =
`<mwc-dialog
heading="[substation.clone.redirect]"
open=""
stacked=""
>
<wizard-textfield
Expand Down

0 comments on commit 2fe4c39

Please sign in to comment.