@@ -323,10 +323,10 @@ export function crossEnvironmentSpecs(
323323    it ( 'should be able to clear' ,  async  ( )  =>  { 
324324      const  input  =  await  harness . input ( ) ; 
325325      await  input . sendKeys ( 'Yi' ) ; 
326-       expect ( await  input . getProperty ( 'value' ) ) . toBe ( 'Yi' ) ; 
326+       expect ( await  input . getProperty < string > ( 'value' ) ) . toBe ( 'Yi' ) ; 
327327
328328      await  input . clear ( ) ; 
329-       expect ( await  input . getProperty ( 'value' ) ) . toBe ( '' ) ; 
329+       expect ( await  input . getProperty < string > ( 'value' ) ) . toBe ( '' ) ; 
330330    } ) ; 
331331
332332    it ( 'should be able to click' ,  async  ( )  =>  { 
@@ -401,7 +401,7 @@ export function crossEnvironmentSpecs(
401401      const  value  =  await  harness . value ( ) ; 
402402      await  input . sendKeys ( 'Yi' ) ; 
403403
404-       expect ( await  input . getProperty ( 'value' ) ) . toBe ( 'Yi' ) ; 
404+       expect ( await  input . getProperty < string > ( 'value' ) ) . toBe ( 'Yi' ) ; 
405405      expect ( await  value . text ( ) ) . toBe ( 'Input: Yi' ) ; 
406406    } ) ; 
407407
@@ -416,7 +416,7 @@ export function crossEnvironmentSpecs(
416416      const  value  =  await  harness . numberInputValue ( ) ; 
417417      await  input . sendKeys ( '123.456' ) ; 
418418
419-       expect ( await  input . getProperty ( 'value' ) ) . toBe ( '123.456' ) ; 
419+       expect ( await  input . getProperty < string > ( 'value' ) ) . toBe ( '123.456' ) ; 
420420      expect ( await  value . text ( ) ) . toBe ( 'Number value: 123.456' ) ; 
421421    } ) ; 
422422
@@ -453,7 +453,7 @@ export function crossEnvironmentSpecs(
453453      ` ; 
454454      const  memo  =  await  harness . memo ( ) ; 
455455      await  memo . sendKeys ( memoStr ) ; 
456-       expect ( await  memo . getProperty ( 'value' ) ) . toBe ( memoStr ) ; 
456+       expect ( await  memo . getProperty < string > ( 'value' ) ) . toBe ( memoStr ) ; 
457457    } ) ; 
458458
459459    it ( 'should be able to getCssValue' ,  async  ( )  =>  { 
@@ -474,14 +474,14 @@ export function crossEnvironmentSpecs(
474474    it ( 'should be able to get the value of a property' ,  async  ( )  =>  { 
475475      const  input  =  await  harness . input ( ) ; 
476476      await  input . sendKeys ( 'Hello' ) ; 
477-       expect ( await  input . getProperty ( 'value' ) ) . toBe ( 'Hello' ) ; 
477+       expect ( await  input . getProperty < string > ( 'value' ) ) . toBe ( 'Hello' ) ; 
478478    } ) ; 
479479
480480    it ( 'should be able to set the value of an input' ,  async  ( )  =>  { 
481481      const  input  =  await  harness . input ( ) ; 
482482
483483      await  input . setInputValue ( 'hello' ) ; 
484-       expect ( await  input . getProperty ( 'value' ) ) . toBe ( 'hello' ) ; 
484+       expect ( await  input . getProperty < string > ( 'value' ) ) . toBe ( 'hello' ) ; 
485485    } ) ; 
486486
487487    it ( 'should be able to set the value of a select in single selection mode' ,  async  ( )  =>  { 
0 commit comments