Skip to content

Commit 93d88b8

Browse files
author
Dennis Labordus
committed
Added ID's to dialogs.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent e494bbd commit 93d88b8

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

test/unit/menu/__snapshots__/CompasSave.test.snap.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,21 @@
22
export const snapshots = {};
33

44
snapshots["compas-save-menu with no document loaded looks like the latest snapshot"] =
5-
`<mwc-dialog heading="[compas.save.title]">
5+
`<mwc-dialog
6+
heading="[compas.save.title]"
7+
id="compas-save-dlg"
8+
>
69
<compas-loading>
710
</compas-loading>
811
</mwc-dialog>
912
`;
1013
/* end snapshot compas-save-menu with no document loaded looks like the latest snapshot */
1114

1215
snapshots["compas-save-menu with document loaded looks like the latest snapshot"] =
13-
`<mwc-dialog heading="[compas.save.title]">
16+
`<mwc-dialog
17+
heading="[compas.save.title]"
18+
id="compas-save-dlg"
19+
>
1420
<compas-save>
1521
</compas-save>
1622
<mwc-button

test/unit/menu/__snapshots__/CompasSaveAs.test.snap.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,21 @@
22
export const snapshots = {};
33

44
snapshots["compas-save-menu with no document loaded looks like the latest snapshot"] =
5-
`<mwc-dialog heading="[compas.save.title]">
5+
`<mwc-dialog
6+
heading="[compas.save.title]"
7+
id="compas-save-as-dlg"
8+
>
69
<compas-loading>
710
</compas-loading>
811
</mwc-dialog>
912
`;
1013
/* end snapshot compas-save-menu with no document loaded looks like the latest snapshot */
1114

1215
snapshots["compas-save-menu with document loaded looks like the latest snapshot"] =
13-
`<mwc-dialog heading="[compas.save.title]">
16+
`<mwc-dialog
17+
heading="[compas.save.title]"
18+
id="compas-save-as-dlg"
19+
>
1420
<compas-save>
1521
</compas-save>
1622
<mwc-button

0 commit comments

Comments
 (0)