@@ -192,13 +192,13 @@ class TestApp {
192
192
} ) ;
193
193
} ) ) ;
194
194
195
- fixmeIvy ( 'unknown' ) && it ( 'should list all child nodes' , ( ) => {
195
+ it ( 'should list all child nodes' , ( ) => {
196
196
fixture = TestBed . createComponent ( ParentComp ) ;
197
197
fixture . detectChanges ( ) ;
198
198
expect ( fixture . debugElement . childNodes . length ) . toEqual ( 3 ) ;
199
199
} ) ;
200
200
201
- fixmeIvy ( 'unknown' ) && it ( 'should list all component child elements' , ( ) => {
201
+ it ( 'should list all component child elements' , ( ) => {
202
202
fixture = TestBed . createComponent ( ParentComp ) ;
203
203
fixture . detectChanges ( ) ;
204
204
const childEls = fixture . debugElement . children ;
@@ -225,7 +225,7 @@ class TestApp {
225
225
expect ( getDOM ( ) . hasClass ( childNested [ 0 ] . nativeElement , 'childnested' ) ) . toBe ( true ) ;
226
226
} ) ;
227
227
228
- fixmeIvy ( 'unknown' ) && it ( 'should list conditional component child elements' , ( ) => {
228
+ it ( 'should list conditional component child elements' , ( ) => {
229
229
fixture = TestBed . createComponent ( ConditionalParentComp ) ;
230
230
fixture . detectChanges ( ) ;
231
231
@@ -246,7 +246,7 @@ class TestApp {
246
246
expect ( conditionalContentComp . children . length ) . toEqual ( 1 ) ;
247
247
} ) ;
248
248
249
- fixmeIvy ( 'unknown' ) && it ( 'should list child elements within viewports' , ( ) => {
249
+ it ( 'should list child elements within viewports' , ( ) => {
250
250
fixture = TestBed . createComponent ( UsingFor ) ;
251
251
fixture . detectChanges ( ) ;
252
252
@@ -259,34 +259,37 @@ class TestApp {
259
259
expect ( list . children . length ) . toEqual ( 3 ) ;
260
260
} ) ;
261
261
262
- fixmeIvy ( 'unknown' ) && it ( 'should list element attributes' , ( ) => {
263
- fixture = TestBed . createComponent ( TestApp ) ;
264
- fixture . detectChanges ( ) ;
265
- const bankElem = fixture . debugElement . children [ 0 ] ;
266
-
267
- expect ( bankElem . attributes [ 'bank' ] ) . toEqual ( 'RBC' ) ;
268
- expect ( bankElem . attributes [ 'account' ] ) . toEqual ( '4747' ) ;
269
- } ) ;
270
-
271
- fixmeIvy ( 'unknown' ) && it ( 'should list element classes' , ( ) => {
272
- fixture = TestBed . createComponent ( TestApp ) ;
273
- fixture . detectChanges ( ) ;
274
- const bankElem = fixture . debugElement . children [ 0 ] ;
275
-
276
- expect ( bankElem . classes [ 'closed' ] ) . toBe ( true ) ;
277
- expect ( bankElem . classes [ 'open' ] ) . toBe ( false ) ;
278
- } ) ;
279
-
280
- fixmeIvy ( 'unknown' ) && it ( 'should list element styles' , ( ) => {
281
- fixture = TestBed . createComponent ( TestApp ) ;
282
- fixture . detectChanges ( ) ;
283
- const bankElem = fixture . debugElement . children [ 0 ] ;
284
-
285
- expect ( bankElem . styles [ 'width' ] ) . toEqual ( '200px' ) ;
286
- expect ( bankElem . styles [ 'color' ] ) . toEqual ( 'red' ) ;
287
- } ) ;
288
-
289
- fixmeIvy ( 'unknown' ) && it ( 'should query child elements by css' , ( ) => {
262
+ fixmeIvy ( 'FW-719: DebugElement needs proper implementation of its methods.' ) &&
263
+ it ( 'should list element attributes' , ( ) => {
264
+ fixture = TestBed . createComponent ( TestApp ) ;
265
+ fixture . detectChanges ( ) ;
266
+ const bankElem = fixture . debugElement . children [ 0 ] ;
267
+
268
+ expect ( bankElem . attributes [ 'bank' ] ) . toEqual ( 'RBC' ) ;
269
+ expect ( bankElem . attributes [ 'account' ] ) . toEqual ( '4747' ) ;
270
+ } ) ;
271
+
272
+ fixmeIvy ( 'FW-719: DebugElement needs proper implementation of its methods.' ) &&
273
+ it ( 'should list element classes' , ( ) => {
274
+ fixture = TestBed . createComponent ( TestApp ) ;
275
+ fixture . detectChanges ( ) ;
276
+ const bankElem = fixture . debugElement . children [ 0 ] ;
277
+
278
+ expect ( bankElem . classes [ 'closed' ] ) . toBe ( true ) ;
279
+ expect ( bankElem . classes [ 'open' ] ) . toBe ( false ) ;
280
+ } ) ;
281
+
282
+ fixmeIvy ( 'FW-719: DebugElement needs proper implementation of its methods.' ) &&
283
+ it ( 'should list element styles' , ( ) => {
284
+ fixture = TestBed . createComponent ( TestApp ) ;
285
+ fixture . detectChanges ( ) ;
286
+ const bankElem = fixture . debugElement . children [ 0 ] ;
287
+
288
+ expect ( bankElem . styles [ 'width' ] ) . toEqual ( '200px' ) ;
289
+ expect ( bankElem . styles [ 'color' ] ) . toEqual ( 'red' ) ;
290
+ } ) ;
291
+
292
+ it ( 'should query child elements by css' , ( ) => {
290
293
fixture = TestBed . createComponent ( ParentComp ) ;
291
294
fixture . detectChanges ( ) ;
292
295
@@ -296,7 +299,7 @@ class TestApp {
296
299
expect ( getDOM ( ) . hasClass ( childTestEls [ 0 ] . nativeElement , 'child-comp-class' ) ) . toBe ( true ) ;
297
300
} ) ;
298
301
299
- fixmeIvy ( 'unknown' ) && it ( 'should query child elements by directive' , ( ) => {
302
+ it ( 'should query child elements by directive' , ( ) => {
300
303
fixture = TestBed . createComponent ( ParentComp ) ;
301
304
fixture . detectChanges ( ) ;
302
305
@@ -309,39 +312,42 @@ class TestApp {
309
312
expect ( getDOM ( ) . hasClass ( childTestEls [ 3 ] . nativeElement , 'childnested' ) ) . toBe ( true ) ;
310
313
} ) ;
311
314
312
- fixmeIvy ( 'unknown' ) && it ( 'should list providerTokens' , ( ) => {
313
- fixture = TestBed . createComponent ( ParentComp ) ;
314
- fixture . detectChanges ( ) ;
315
+ fixmeIvy ( 'FW-719: DebugElement needs proper implementation of its methods.' ) &&
316
+ it ( 'should list providerTokens' , ( ) => {
317
+ fixture = TestBed . createComponent ( ParentComp ) ;
318
+ fixture . detectChanges ( ) ;
315
319
316
- expect ( fixture . debugElement . providerTokens ) . toContain ( Logger ) ;
317
- } ) ;
320
+ expect ( fixture . debugElement . providerTokens ) . toContain ( Logger ) ;
321
+ } ) ;
318
322
319
- fixmeIvy ( 'unknown' ) && it ( 'should list locals' , ( ) => {
323
+ it ( 'should list locals' , ( ) => {
320
324
fixture = TestBed . createComponent ( LocalsComp ) ;
321
325
fixture . detectChanges ( ) ;
322
326
323
327
expect ( fixture . debugElement . children [ 0 ] . references ! [ 'alice' ] ) . toBeAnInstanceOf ( MyDir ) ;
324
328
} ) ;
325
329
326
- fixmeIvy ( 'unknown' ) && it ( 'should allow injecting from the element injector' , ( ) => {
327
- fixture = TestBed . createComponent ( ParentComp ) ;
328
- fixture . detectChanges ( ) ;
330
+ fixmeIvy ( 'FW-719: DebugElement needs proper implementation of its methods.' ) &&
331
+ it ( 'should allow injecting from the element injector' , ( ) => {
332
+ fixture = TestBed . createComponent ( ParentComp ) ;
333
+ fixture . detectChanges ( ) ;
329
334
330
- expect ( ( < Logger > ( fixture . debugElement . children [ 0 ] . injector . get ( Logger ) ) ) . logs ) . toEqual ( [
331
- 'parent' , 'nestedparent' , 'child' , 'nestedchild'
332
- ] ) ;
333
- } ) ;
335
+ expect ( ( < Logger > ( fixture . debugElement . children [ 0 ] . injector . get ( Logger ) ) ) . logs ) . toEqual ( [
336
+ 'parent' , 'nestedparent' , 'child' , 'nestedchild'
337
+ ] ) ;
338
+ } ) ;
334
339
335
- fixmeIvy ( 'unknown' ) && it ( 'should list event listeners' , ( ) => {
336
- fixture = TestBed . createComponent ( EventsComp ) ;
337
- fixture . detectChanges ( ) ;
340
+ fixmeIvy ( 'FW-719: DebugElement needs proper implementation of its methods.' ) &&
341
+ it ( 'should list event listeners' , ( ) => {
342
+ fixture = TestBed . createComponent ( EventsComp ) ;
343
+ fixture . detectChanges ( ) ;
338
344
339
- expect ( fixture . debugElement . children [ 0 ] . listeners . length ) . toEqual ( 1 ) ;
340
- expect ( fixture . debugElement . children [ 1 ] . listeners . length ) . toEqual ( 1 ) ;
345
+ expect ( fixture . debugElement . children [ 0 ] . listeners . length ) . toEqual ( 1 ) ;
346
+ expect ( fixture . debugElement . children [ 1 ] . listeners . length ) . toEqual ( 1 ) ;
341
347
342
- } ) ;
348
+ } ) ;
343
349
344
- fixmeIvy ( 'unknown' ) && it ( 'should trigger event handlers' , ( ) => {
350
+ it ( 'should trigger event handlers' , ( ) => {
345
351
fixture = TestBed . createComponent ( EventsComp ) ;
346
352
fixture . detectChanges ( ) ;
347
353
0 commit comments