@@ -61,6 +97,18 @@ snapshots["access-point-container with LN Elements and all LN Classes hidden loo
`
+
+
+
+
diff --git a/packages/plugins/test/unit/editors/ied/__snapshots__/ldevice-container.test.snap.js b/packages/plugins/test/unit/editors/ied/__snapshots__/ldevice-container.test.snap.js
index 9c399766b4..5dd245472c 100644
--- a/packages/plugins/test/unit/editors/ied/__snapshots__/ldevice-container.test.snap.js
+++ b/packages/plugins/test/unit/editors/ied/__snapshots__/ldevice-container.test.snap.js
@@ -5,6 +5,12 @@ snapshots["ldevice-container LDevice Element with LN Elements and all LN Element
`
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+`;
+/* end snapshot Wizards for SCL element AccessPoint edit AccessPoint looks like the latest snapshot */
+
+snapshots["Wizards for SCL element AccessPoint remove AccessPoint with references looks like the latest snapshot"] =
+`
+
+
+
+ [accesspoint.wizard.title.references]
+
+
+
+
+ ServerAt
+
+
+ test>AP2
+
+
+
+
+
+
+
+
+
+
+`;
+/* end snapshot Wizards for SCL element AccessPoint remove AccessPoint with references looks like the latest snapshot */
+
diff --git a/packages/plugins/test/unit/wizards/__snapshots__/ied.test.snap.js b/packages/plugins/test/unit/wizards/__snapshots__/ied.test.snap.js
index fd95e37b4e..e3570944f8 100644
--- a/packages/plugins/test/unit/wizards/__snapshots__/ied.test.snap.js
+++ b/packages/plugins/test/unit/wizards/__snapshots__/ied.test.snap.js
@@ -56,9 +56,9 @@ snapshots["Wizards for SCL element IED edit IED looks like the latest snapshot"]
>
diff --git a/packages/plugins/test/unit/wizards/accesspoint.test.ts b/packages/plugins/test/unit/wizards/accesspoint.test.ts
new file mode 100644
index 0000000000..c11e8a3abf
--- /dev/null
+++ b/packages/plugins/test/unit/wizards/accesspoint.test.ts
@@ -0,0 +1,195 @@
+import { expect, fixture, html } from '@open-wc/testing';
+
+import {
+ ComplexAction,
+ isSimple,
+} from '@openscd/core/foundation/deprecated/editor.js';
+import '@openscd/open-scd/src/addons/Wizards.js';
+import { OscdWizards } from '@openscd/open-scd/src/addons/Wizards.js';
+import { WizardInputElement } from '@openscd/open-scd/src/foundation.js';
+import { WizardTextField } from '@openscd/open-scd/src/wizard-textfield.js';
+
+import {
+ editAccessPointWizard,
+ removeAccessPointAndReferences,
+ removeAccessPointWizard,
+} from '../../../src/wizards/accesspoint.js';
+import { updateNamingAttributeWithReferencesAction } from '../../../src/wizards/foundation/actions.js';
+import {
+ expectDeleteAction,
+ expectUpdateAction,
+ expectWizardNoUpdateAction,
+ fetchDoc,
+ setWizardTextFieldValue,
+} from './test-support.js';
+
+describe('Wizards for SCL element AccessPoint', () => {
+ let doc: XMLDocument;
+ let accessPoint: Element;
+ let element: OscdWizards;
+ let inputs: WizardInputElement[];
+
+ describe('edit AccessPoint', () => {
+ beforeEach(async () => {
+ doc = await fetchDoc('/test/testfiles/wizards/ied.scd');
+ accessPoint = doc.querySelector(
+ 'IED[name="IED3"] > AccessPoint[name="P1"]'
+ )!;
+
+ element = await fixture(
+ html`