File tree Expand file tree Collapse file tree 2 files changed +36
-2
lines changed
integration/__snapshots__ Expand file tree Collapse file tree 2 files changed +36
-2
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,24 @@ snapshots["open-scd looks like its snapshot"] =
125
125
Redo
126
126
</span>
127
127
</mwc-list-item>
128
+ <mwc-list-item
129
+ aria-disabled="true"
130
+ class="validator"
131
+ disabled=""
132
+ graphic="icon"
133
+ iconid="rule_folder"
134
+ mwc-list-item=""
135
+ tabindex="-1"
136
+ >
137
+ <mwc-icon slot="graphic">
138
+ rule_folder
139
+ </mwc-icon>
140
+ <span>
141
+ Validate using OCL
142
+ </span>
143
+ <mwc-linear-progress indeterminate="">
144
+ </mwc-linear-progress>
145
+ </mwc-list-item>
128
146
<mwc-list-item
129
147
aria-disabled="true"
130
148
class="validator"
@@ -854,6 +872,22 @@ snapshots["open-scd looks like its snapshot"] =
854
872
role="separator"
855
873
>
856
874
</li>
875
+ <mwc-check-list-item
876
+ aria-disabled="false"
877
+ class="official"
878
+ graphic="control"
879
+ hasmeta=""
880
+ left=""
881
+ mwc-list-item=""
882
+ selected=""
883
+ tabindex="-1"
884
+ value="/src/validators/ValidateSchemaWithCompas.js"
885
+ >
886
+ <mwc-icon slot="meta">
887
+ rule_folder
888
+ </mwc-icon>
889
+ Validate using OCL
890
+ </mwc-check-list-item>
857
891
<mwc-check-list-item
858
892
aria-disabled="false"
859
893
class="official"
Original file line number Diff line number Diff line change @@ -168,15 +168,15 @@ describe('PluggingElement', () => {
168
168
) . to . have . property ( 'position' ) ;
169
169
} ) ;
170
170
it ( 'adds a new validator kind plugin on add button click' , async ( ) => {
171
- expect ( element . validators ) . to . have . lengthOf ( 2 ) ;
171
+ expect ( element . validators ) . to . have . lengthOf ( 3 ) ;
172
172
src . value = 'http://example.com/plugin.js' ;
173
173
name . value = 'testName' ;
174
174
validatorKindOption . click ( ) ;
175
175
await src . updateComplete ;
176
176
await name . updateComplete ;
177
177
primaryAction . click ( ) ;
178
178
await element . updateComplete ;
179
- expect ( element . validators ) . to . have . lengthOf ( 3 ) ;
179
+ expect ( element . validators ) . to . have . lengthOf ( 4 ) ;
180
180
} ) ;
181
181
} ) ;
182
182
} ) ;
You can’t perform that action at this time.
0 commit comments