File tree Expand file tree Collapse file tree 4 files changed +24
-6
lines changed Expand file tree Collapse file tree 4 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,10 @@ export default class CompasSaveMenuPlugin extends LitElement {
35
35
}
36
36
37
37
render ( ) : TemplateResult {
38
- return html `<mwc- dialog heading= "${ translate ( 'compas.save.title' ) } " >
38
+ return html `<mwc- dialog
39
+ id= "compas-save-dlg"
40
+ heading = "${ translate ( 'compas.save.title' ) } "
41
+ >
39
42
${ ! this . doc || ! this . docName
40
43
? html `<compas- loading> </ compas- loading> `
41
44
: html `
Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ export default class CompasSaveAsMenuPlugin extends LitElement {
32
32
}
33
33
34
34
render ( ) : TemplateResult {
35
- return html `<mwc- dialog heading= "${ translate ( 'compas.save.title' ) } " >
35
+ return html `<mwc- dialog
36
+ id= "compas-save-as-dlg"
37
+ heading = "${ translate ( 'compas.save.title' ) } "
38
+ >
36
39
${ ! this . doc || ! this . docName
37
40
? html `<compas- loading> </ compas- loading> `
38
41
: html `
Original file line number Diff line number Diff line change 2
2
export const snapshots = { } ;
3
3
4
4
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
+ >
6
9
<compas-loading>
7
10
</compas-loading>
8
11
</mwc-dialog>
9
12
` ;
10
13
/* end snapshot compas-save-menu with no document loaded looks like the latest snapshot */
11
14
12
15
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
+ >
14
20
<compas-save>
15
21
</compas-save>
16
22
<mwc-button
Original file line number Diff line number Diff line change 2
2
export const snapshots = { } ;
3
3
4
4
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
+ >
6
9
<compas-loading>
7
10
</compas-loading>
8
11
</mwc-dialog>
9
12
` ;
10
13
/* end snapshot compas-save-menu with no document loaded looks like the latest snapshot */
11
14
12
15
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
+ >
14
20
<compas-save>
15
21
</compas-save>
16
22
<mwc-button
You can’t perform that action at this time.
0 commit comments