Skip to content

Commit d88c2d3

Browse files
author
Rob Tjalma
committed
Fixing snapshot tests
Signed-off-by: Rob Tjalma <[email protected]>
1 parent eec382e commit d88c2d3

File tree

3 files changed

+54
-6
lines changed

3 files changed

+54
-6
lines changed

__snapshots__/compas-auto-alignment.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
#### `looks like the latest snapshot`
66

77
```html
8-
<section tabindex="0">
8+
<section
9+
id="substationsToAlign"
10+
tabindex="0"
11+
>
912
<mwc-list
1013
multi=""
1114
required=""
@@ -64,8 +67,11 @@
6467
#### `looks like the latest snapshot`
6568

6669
```html
67-
<section tabindex="0">
68-
<span style="color: var(--base1)">
70+
<section
71+
id="noSubstationsToAlign"
72+
tabindex="0"
73+
>
74+
<span>
6975
[compas.autoAlignment.missing]
7076
</span>
7177
</section>

__snapshots__/compas-save-to.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# `compas-save-to`
2+
3+
## `still determining if document exists in CoMPAS`
4+
5+
#### `looks like the latest snapshot`
6+
7+
```html
8+
<compas-loading>
9+
</compas-loading>
10+
11+
```
12+
13+
## `new document in compas`
14+
15+
#### `looks like the latest snapshot`
16+
17+
```html
18+
<mwc-textfield
19+
dialoginitialfocus=""
20+
id="name"
21+
label="[scl.name]"
22+
required=""
23+
value="station123.scd"
24+
>
25+
</mwc-textfield>
26+
<compas-scltype-radiogroup>
27+
</compas-scltype-radiogroup>
28+
<compas-comment>
29+
</compas-comment>
30+
31+
```
32+
33+
## `existing document in compas`
34+
35+
#### `looks like the latest snapshot`
36+
37+
```html
38+
<compas-changeset-radiogroup>
39+
</compas-changeset-radiogroup>
40+
<compas-comment>
41+
</compas-comment>
42+
43+
```
44+

__snapshots__/compas-settings.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,20 @@
1212
>
1313
</mwc-textfield>
1414
<mwc-textfield
15-
dialoginitialfocus=""
1615
id="cimMappingServiceUrl"
1716
label="[compas.settings.cimMappingServiceUrl]"
1817
required=""
1918
value="/compas-cim-mapping"
2019
>
2120
</mwc-textfield>
2221
<mwc-textfield
23-
dialoginitialfocus=""
2422
id="sclAutoAlignmentServiceUrl"
2523
label="[compas.settings.sclAutoAlignmentServiceUrl]"
2624
required=""
2725
value="/compas-scl-auto-alignment"
2826
>
2927
</mwc-textfield>
30-
<mwc-button style="--mdc-theme-primary: var(--mdc-theme-error)">
28+
<mwc-button>
3129
[reset]
3230
</mwc-button>
3331

0 commit comments

Comments
 (0)