diff --git a/packages/openscd/test/integration/__snapshots__/open-scd.test.snap.js b/packages/openscd/test/integration/__snapshots__/open-scd.test.snap.js
index bc7b0a68dc..5da7ce13fc 100644
--- a/packages/openscd/test/integration/__snapshots__/open-scd.test.snap.js
+++ b/packages/openscd/test/integration/__snapshots__/open-scd.test.snap.js
@@ -96,8 +96,8 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
Open project
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
developer_board
@@ -423,7 +423,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/Substation.js"
+ value="http://localhost:8000/plugins/src/editors/Substation.js"
>
margin
@@ -438,7 +438,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/SingleLineDiagram.js"
+ value="http://localhost:8000/plugins/src/editors/SingleLineDiagram.js"
>
edit
@@ -453,7 +453,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/GooseSubscriberMessageBinding.js"
+ value="http://localhost:8000/plugins/src/editors/GooseSubscriberMessageBinding.js"
>
link
@@ -468,7 +468,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/GooseSubscriberDataBinding.js"
+ value="http://localhost:8000/plugins/src/editors/GooseSubscriberDataBinding.js"
>
link
@@ -484,7 +484,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/GooseSubscriberLaterBinding.js"
+ value="http://localhost:8000/plugins/src/editors/GooseSubscriberLaterBinding.js"
>
link
@@ -499,7 +499,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/SMVSubscriberMessageBinding.js"
+ value="http://localhost:8000/plugins/src/editors/SMVSubscriberMessageBinding.js"
>
link
@@ -514,7 +514,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/SMVSubscriberDataBinding.js"
+ value="http://localhost:8000/plugins/src/editors/SMVSubscriberDataBinding.js"
>
link
@@ -530,7 +530,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/SMVSubscriberLaterBinding.js"
+ value="http://localhost:8000/plugins/src/editors/SMVSubscriberLaterBinding.js"
>
link
@@ -546,7 +546,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/Communication.js"
+ value="http://localhost:8000/plugins/src/editors/Communication.js"
>
settings_ethernet
@@ -561,7 +561,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/Protocol104.js"
+ value="http://localhost:8000/plugins/src/editors/Protocol104.js"
>
settings_ethernet
@@ -577,7 +577,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/Templates.js"
+ value="http://localhost:8000/plugins/src/editors/Templates.js"
>
copy_all
@@ -592,7 +592,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/Publisher.js"
+ value="http://localhost:8000/plugins/src/editors/Publisher.js"
>
publish
@@ -607,7 +607,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/Cleanup.js"
+ value="http://localhost:8000/plugins/src/editors/Cleanup.js"
>
cleaning_services
@@ -646,7 +646,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/OpenProject.js"
+ value="http://localhost:8000/plugins/src/menu/OpenProject.js"
>
folder_open
@@ -662,7 +662,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/NewProject.js"
+ value="http://localhost:8000/plugins/src/menu/NewProject.js"
>
create_new_folder
@@ -693,7 +693,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/SaveProject.js"
+ value="http://localhost:8000/plugins/src/menu/SaveProject.js"
>
save
@@ -715,7 +715,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/validators/ValidateSchema.js"
+ value="http://localhost:8000/plugins/src/validators/ValidateSchema.js"
>
rule_folder
@@ -731,7 +731,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/validators/ValidateTemplates.js"
+ value="http://localhost:8000/plugins/src/validators/ValidateTemplates.js"
>
rule_folder
@@ -768,7 +768,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/ImportIEDs.js"
+ value="http://localhost:8000/plugins/src/menu/ImportIEDs.js"
>
snippet_folder
@@ -783,7 +783,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/menu/VirtualTemplateIED.js"
+ value="http://localhost:8000/plugins/src/menu/VirtualTemplateIED.js"
>
developer_board
@@ -799,7 +799,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/SubscriberInfo.js"
+ value="http://localhost:8000/plugins/src/menu/SubscriberInfo.js"
>
play_circle
@@ -814,7 +814,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/menu/UpdateDescriptionABB.js"
+ value="http://localhost:8000/plugins/src/menu/UpdateDescriptionABB.js"
>
play_circle
@@ -829,7 +829,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/menu/UpdateDescriptionSEL.js"
+ value="http://localhost:8000/plugins/src/menu/UpdateDescriptionSEL.js"
>
play_circle
@@ -845,7 +845,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/Merge.js"
+ value="http://localhost:8000/plugins/src/menu/Merge.js"
>
merge_type
@@ -861,7 +861,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/UpdateSubstation.js"
+ value="http://localhost:8000/plugins/src/menu/UpdateSubstation.js"
>
merge_type
@@ -877,7 +877,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/CompareIED.js"
+ value="http://localhost:8000/plugins/src/menu/CompareIED.js"
>
compare_arrows
@@ -892,7 +892,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/menu/ExportCommunication.js"
+ value="http://localhost:8000/plugins/src/menu/ExportCommunication.js"
>
sim_card_download
@@ -914,7 +914,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/Help.js"
+ value="http://localhost:8000/plugins/src/menu/Help.js"
>
help
@@ -945,7 +945,7 @@ snapshots["open-scd renders menu plugins passed down as props and it looks like
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/SclHistory.js"
+ value="http://localhost:8000/plugins/src/menu/SclHistory.js"
>
history_toggle_off
@@ -1191,8 +1191,8 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
Open project
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
developer_board
@@ -1518,7 +1518,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/Substation.js"
+ value="http://localhost:8000/plugins/src/editors/Substation.js"
>
margin
@@ -1533,7 +1533,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/SingleLineDiagram.js"
+ value="http://localhost:8000/plugins/src/editors/SingleLineDiagram.js"
>
edit
@@ -1548,7 +1548,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/GooseSubscriberMessageBinding.js"
+ value="http://localhost:8000/plugins/src/editors/GooseSubscriberMessageBinding.js"
>
link
@@ -1563,7 +1563,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/GooseSubscriberDataBinding.js"
+ value="http://localhost:8000/plugins/src/editors/GooseSubscriberDataBinding.js"
>
link
@@ -1579,7 +1579,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/GooseSubscriberLaterBinding.js"
+ value="http://localhost:8000/plugins/src/editors/GooseSubscriberLaterBinding.js"
>
link
@@ -1594,7 +1594,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/SMVSubscriberMessageBinding.js"
+ value="http://localhost:8000/plugins/src/editors/SMVSubscriberMessageBinding.js"
>
link
@@ -1609,7 +1609,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/SMVSubscriberDataBinding.js"
+ value="http://localhost:8000/plugins/src/editors/SMVSubscriberDataBinding.js"
>
link
@@ -1625,7 +1625,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/SMVSubscriberLaterBinding.js"
+ value="http://localhost:8000/plugins/src/editors/SMVSubscriberLaterBinding.js"
>
link
@@ -1641,7 +1641,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/Communication.js"
+ value="http://localhost:8000/plugins/src/editors/Communication.js"
>
settings_ethernet
@@ -1656,7 +1656,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/Protocol104.js"
+ value="http://localhost:8000/plugins/src/editors/Protocol104.js"
>
settings_ethernet
@@ -1672,7 +1672,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/Templates.js"
+ value="http://localhost:8000/plugins/src/editors/Templates.js"
>
copy_all
@@ -1687,7 +1687,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/Publisher.js"
+ value="http://localhost:8000/plugins/src/editors/Publisher.js"
>
publish
@@ -1702,7 +1702,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/Cleanup.js"
+ value="http://localhost:8000/plugins/src/editors/Cleanup.js"
>
cleaning_services
@@ -1756,7 +1756,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/OpenProject.js"
+ value="http://localhost:8000/plugins/src/menu/OpenProject.js"
>
folder_open
@@ -1772,7 +1772,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/NewProject.js"
+ value="http://localhost:8000/plugins/src/menu/NewProject.js"
>
create_new_folder
@@ -1788,7 +1788,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/SaveProject.js"
+ value="http://localhost:8000/plugins/src/menu/SaveProject.js"
>
save
@@ -1810,7 +1810,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/validators/ValidateSchema.js"
+ value="http://localhost:8000/plugins/src/validators/ValidateSchema.js"
>
rule_folder
@@ -1826,7 +1826,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/validators/ValidateTemplates.js"
+ value="http://localhost:8000/plugins/src/validators/ValidateTemplates.js"
>
rule_folder
@@ -1848,7 +1848,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/ImportIEDs.js"
+ value="http://localhost:8000/plugins/src/menu/ImportIEDs.js"
>
snippet_folder
@@ -1863,7 +1863,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/menu/VirtualTemplateIED.js"
+ value="http://localhost:8000/plugins/src/menu/VirtualTemplateIED.js"
>
developer_board
@@ -1879,7 +1879,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/SubscriberInfo.js"
+ value="http://localhost:8000/plugins/src/menu/SubscriberInfo.js"
>
play_circle
@@ -1894,7 +1894,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/menu/UpdateDescriptionABB.js"
+ value="http://localhost:8000/plugins/src/menu/UpdateDescriptionABB.js"
>
play_circle
@@ -1909,7 +1909,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/menu/UpdateDescriptionSEL.js"
+ value="http://localhost:8000/plugins/src/menu/UpdateDescriptionSEL.js"
>
play_circle
@@ -1925,7 +1925,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/Merge.js"
+ value="http://localhost:8000/plugins/src/menu/Merge.js"
>
merge_type
@@ -1941,7 +1941,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/UpdateSubstation.js"
+ value="http://localhost:8000/plugins/src/menu/UpdateSubstation.js"
>
merge_type
@@ -1957,7 +1957,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/CompareIED.js"
+ value="http://localhost:8000/plugins/src/menu/CompareIED.js"
>
compare_arrows
@@ -1972,7 +1972,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/menu/ExportCommunication.js"
+ value="http://localhost:8000/plugins/src/menu/ExportCommunication.js"
>
sim_card_download
@@ -1994,7 +1994,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/Help.js"
+ value="http://localhost:8000/plugins/src/menu/Help.js"
>
help
@@ -2010,7 +2010,7 @@ snapshots["open-scd renders editor plugins passed down as props and it looks lik
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/SclHistory.js"
+ value="http://localhost:8000/plugins/src/menu/SclHistory.js"
>
history_toggle_off
@@ -2256,8 +2256,8 @@ snapshots["open-scd layout looks like its snapshot"] =
Open project
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
developer_board
@@ -2583,7 +2583,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/Substation.js"
+ value="http://localhost:8000/plugins/src/editors/Substation.js"
>
margin
@@ -2598,7 +2598,7 @@ snapshots["open-scd layout looks like its snapshot"] =
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/SingleLineDiagram.js"
+ value="http://localhost:8000/plugins/src/editors/SingleLineDiagram.js"
>
edit
@@ -2613,7 +2613,7 @@ snapshots["open-scd layout looks like its snapshot"] =
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/GooseSubscriberMessageBinding.js"
+ value="http://localhost:8000/plugins/src/editors/GooseSubscriberMessageBinding.js"
>
link
@@ -2628,7 +2628,7 @@ snapshots["open-scd layout looks like its snapshot"] =
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/GooseSubscriberDataBinding.js"
+ value="http://localhost:8000/plugins/src/editors/GooseSubscriberDataBinding.js"
>
link
@@ -2644,7 +2644,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/GooseSubscriberLaterBinding.js"
+ value="http://localhost:8000/plugins/src/editors/GooseSubscriberLaterBinding.js"
>
link
@@ -2659,7 +2659,7 @@ snapshots["open-scd layout looks like its snapshot"] =
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/SMVSubscriberMessageBinding.js"
+ value="http://localhost:8000/plugins/src/editors/SMVSubscriberMessageBinding.js"
>
link
@@ -2674,7 +2674,7 @@ snapshots["open-scd layout looks like its snapshot"] =
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/SMVSubscriberDataBinding.js"
+ value="http://localhost:8000/plugins/src/editors/SMVSubscriberDataBinding.js"
>
link
@@ -2690,7 +2690,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/SMVSubscriberLaterBinding.js"
+ value="http://localhost:8000/plugins/src/editors/SMVSubscriberLaterBinding.js"
>
link
@@ -2706,7 +2706,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/Communication.js"
+ value="http://localhost:8000/plugins/src/editors/Communication.js"
>
settings_ethernet
@@ -2721,7 +2721,7 @@ snapshots["open-scd layout looks like its snapshot"] =
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/Protocol104.js"
+ value="http://localhost:8000/plugins/src/editors/Protocol104.js"
>
settings_ethernet
@@ -2737,7 +2737,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/editors/Templates.js"
+ value="http://localhost:8000/plugins/src/editors/Templates.js"
>
copy_all
@@ -2752,7 +2752,7 @@ snapshots["open-scd layout looks like its snapshot"] =
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/Publisher.js"
+ value="http://localhost:8000/plugins/src/editors/Publisher.js"
>
publish
@@ -2767,7 +2767,7 @@ snapshots["open-scd layout looks like its snapshot"] =
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/editors/Cleanup.js"
+ value="http://localhost:8000/plugins/src/editors/Cleanup.js"
>
cleaning_services
@@ -2806,7 +2806,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/OpenProject.js"
+ value="http://localhost:8000/plugins/src/menu/OpenProject.js"
>
folder_open
@@ -2822,7 +2822,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/NewProject.js"
+ value="http://localhost:8000/plugins/src/menu/NewProject.js"
>
create_new_folder
@@ -2838,7 +2838,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/SaveProject.js"
+ value="http://localhost:8000/plugins/src/menu/SaveProject.js"
>
save
@@ -2860,7 +2860,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/validators/ValidateSchema.js"
+ value="http://localhost:8000/plugins/src/validators/ValidateSchema.js"
>
rule_folder
@@ -2876,7 +2876,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/validators/ValidateTemplates.js"
+ value="http://localhost:8000/plugins/src/validators/ValidateTemplates.js"
>
rule_folder
@@ -2898,7 +2898,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/ImportIEDs.js"
+ value="http://localhost:8000/plugins/src/menu/ImportIEDs.js"
>
snippet_folder
@@ -2913,7 +2913,7 @@ snapshots["open-scd layout looks like its snapshot"] =
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/menu/VirtualTemplateIED.js"
+ value="http://localhost:8000/plugins/src/menu/VirtualTemplateIED.js"
>
developer_board
@@ -2929,7 +2929,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/SubscriberInfo.js"
+ value="http://localhost:8000/plugins/src/menu/SubscriberInfo.js"
>
play_circle
@@ -2944,7 +2944,7 @@ snapshots["open-scd layout looks like its snapshot"] =
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/menu/UpdateDescriptionABB.js"
+ value="http://localhost:8000/plugins/src/menu/UpdateDescriptionABB.js"
>
play_circle
@@ -2959,7 +2959,7 @@ snapshots["open-scd layout looks like its snapshot"] =
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/menu/UpdateDescriptionSEL.js"
+ value="http://localhost:8000/plugins/src/menu/UpdateDescriptionSEL.js"
>
play_circle
@@ -2975,7 +2975,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/Merge.js"
+ value="http://localhost:8000/plugins/src/menu/Merge.js"
>
merge_type
@@ -2991,7 +2991,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/UpdateSubstation.js"
+ value="http://localhost:8000/plugins/src/menu/UpdateSubstation.js"
>
merge_type
@@ -3007,7 +3007,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/CompareIED.js"
+ value="http://localhost:8000/plugins/src/menu/CompareIED.js"
>
compare_arrows
@@ -3022,7 +3022,7 @@ snapshots["open-scd layout looks like its snapshot"] =
left=""
mwc-list-item=""
tabindex="-1"
- value="/plugins/src/menu/ExportCommunication.js"
+ value="http://localhost:8000/plugins/src/menu/ExportCommunication.js"
>
sim_card_download
@@ -3044,7 +3044,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/Help.js"
+ value="http://localhost:8000/plugins/src/menu/Help.js"
>
help
@@ -3060,7 +3060,7 @@ snapshots["open-scd layout looks like its snapshot"] =
mwc-list-item=""
selected=""
tabindex="-1"
- value="/plugins/src/menu/SclHistory.js"
+ value="http://localhost:8000/plugins/src/menu/SclHistory.js"
>
history_toggle_off
diff --git a/packages/plugins/test/integration/editors/substation/bay-editor-wizarding.test.ts b/packages/plugins/test/integration/editors/substation/bay-editor-wizarding.test.ts
index 83c914d0d9..6122dbefef 100644
--- a/packages/plugins/test/integration/editors/substation/bay-editor-wizarding.test.ts
+++ b/packages/plugins/test/integration/editors/substation/bay-editor-wizarding.test.ts
@@ -15,10 +15,12 @@ describe('bay-editor wizarding integration', () => {
doc = await fetch('/test/testfiles/valid2007B4.scd')
.then(response => response.text())
.then(str => new DOMParser().parseFromString(str, 'application/xml'));
+
parent = await fixture(
- html``
+ html`
+
+
+ `
);
((
@@ -28,9 +30,11 @@ describe('bay-editor wizarding integration', () => {
)).click();
await parent.updateComplete;
});
+
it('looks like the latest snapshot', async () => {
await expect(parent.wizardUI.dialog).to.equalSnapshot();
});
+
describe('the first input element', () => {
it('edits the attribute name', async () => {
expect(parent.wizardUI.inputs[0].label).to.equal('name');
@@ -45,6 +49,7 @@ describe('bay-editor wizarding integration', () => {
);
});
});
+
describe('the second input element', () => {
it('edits the attribute desc', async () => {
expect(parent.wizardUI.inputs[1].label).to.equal('desc');
@@ -59,4 +64,5 @@ describe('bay-editor wizarding integration', () => {
);
});
});
+
});
diff --git a/packages/plugins/test/integration/validators/ValidateSchema.test.ts b/packages/plugins/test/integration/validators/ValidateSchema.test.ts
index 80c125b656..f08df87e77 100644
--- a/packages/plugins/test/integration/validators/ValidateSchema.test.ts
+++ b/packages/plugins/test/integration/validators/ValidateSchema.test.ts
@@ -22,7 +22,7 @@ describe('ValidateSchema plugin', () => {
`);
element = parent.getActivePlugin();
- element.pluginId = '/plugins/src/validators/ValidateSchema.js';
+ element.pluginId = 'http://localhost:8000/plugins/src/validators/ValidateSchema.js';
await parent.updateComplete;
});
@@ -44,14 +44,14 @@ describe('ValidateSchema plugin', () => {
await parent.updateComplete;
});
- it('zeroissues indication looks like the latest snapshot', async () => {
+ it.only('zeroissues indication looks like the latest snapshot', async () => {
await parent.requestUpdate();
await expect(parent.historyAddon.diagnosticUI).to.equalSnapshot();
});
it('indicates successful schema validation in the diagnoses pane', async () => {
const lastEntry = (
- parent.historyAddon.diagnoses.get('/plugins/src/validators/ValidateSchema.js')
+ parent.historyAddon.diagnoses.get('http://localhost:8000/plugins/src/validators/ValidateSchema.js')
);
expect(lastEntry.length).to.equal(1);
expect(lastEntry[0].title).to.contain(
@@ -66,6 +66,7 @@ describe('ValidateSchema plugin', () => {
'valid2007B XML schema validation successful'
);
});
+
});
describe('for invalid SCL files', () => {
@@ -94,7 +95,7 @@ describe('ValidateSchema plugin', () => {
});
it('create issues in diagnose', async () =>
- expect(parent.historyAddon.diagnoses.get('/plugins/src/validators/ValidateSchema.js'))
+ expect(parent.historyAddon.diagnoses.get('http://localhost:8000/plugins/src/validators/ValidateSchema.js'))
.to.not.be.undefined);
it('generates error messages in the log', async () => {
@@ -105,4 +106,5 @@ describe('ValidateSchema plugin', () => {
);
});
});
+
});
diff --git a/packages/plugins/test/integration/validators/ValidateTemplates.test.ts b/packages/plugins/test/integration/validators/ValidateTemplates.test.ts
index 59ce6b984d..3e1dd8aa1d 100644
--- a/packages/plugins/test/integration/validators/ValidateTemplates.test.ts
+++ b/packages/plugins/test/integration/validators/ValidateTemplates.test.ts
@@ -26,7 +26,7 @@ describe('ValidateTemplates OpenSCD integration test ', () => {
>
`);
element = parent.getActivePlugin();
- element.pluginId = '/plugins/src/validators/ValidateTemplates.js';
+ element.pluginId = 'http://localhost:8000/plugins/src/validators/ValidateTemplates.js';
await element.validate();
await parent.updateComplete;
@@ -51,14 +51,14 @@ describe('ValidateTemplates OpenSCD integration test ', () => {
>
`);
element = parent.getActivePlugin();
- element.pluginId = '/plugins/src/validators/ValidateTemplates.js';
+ element.pluginId = 'http://localhost:8000/plugins/src/validators/ValidateTemplates.js';
await element.validate();
await parent.updateComplete;
});
it('generates issues in the diagnistics pane', async () => {
const issues = parent.historyAddon.diagnoses.get(
- '/plugins/src/validators/ValidateTemplates.js'
+ 'http://localhost:8000/plugins/src/validators/ValidateTemplates.js'
);
expect(issues?.length).to.equal(28);
}).timeout(1000);
@@ -79,14 +79,14 @@ describe('ValidateTemplates OpenSCD integration test ', () => {
>
`);
element = parent.getActivePlugin();
- element.pluginId = '/plugins/src/validators/ValidateTemplates.js';
+ element.pluginId = 'http://localhost:8000/plugins/src/validators/ValidateTemplates.js';
await element.validate();
await parent.updateComplete;
});
it('shows only one message in the diagnostics pane', async () => {
const issues = parent.historyAddon.diagnoses.get(
- '/plugins/src/validators/ValidateTemplates.js'
+ 'http://localhost:8000/plugins/src/validators/ValidateTemplates.js'
);
expect(issues?.length).to.equal(1);
}).timeout(1000);