File tree Expand file tree Collapse file tree 1 file changed +0
-36
lines changed
packages/e2e-test-app-fabric/test Expand file tree Collapse file tree 1 file changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -345,42 +345,6 @@ describe('Pressable Tests', () => {
345345 } ,
346346 ) ;
347347 } ) ;
348- test ( 'Pressable should register onPress action when hit within hitSlop range' , async ( ) => {
349- const searchBox = await app . findElementByTestID ( 'example_search' ) ;
350- await app . waitUntil (
351- async ( ) => {
352- await searchBox . setValue ( 'Pre' ) ;
353- return ( await searchBox . getText ( ) ) === 'Pre' ;
354- } ,
355- {
356- interval : 1500 ,
357- timeout : 5000 ,
358- timeoutMsg : `Unable to enter correct search text into test searchbox.` ,
359- } ,
360- ) ;
361- const component = await app . findElementByTestID (
362- 'pressable_hit_slop_button' ,
363- ) ;
364- await component . waitForDisplayed ( { timeout : 20000 } ) ;
365-
366- // Click on the component to test hitSlop interaction
367- await component . click ( ) ;
368-
369- const dump = await dumpVisualTree ( 'pressable_hit_slop' ) ;
370- expect ( dump ) . toMatchSnapshot ( ) ;
371-
372- await app . waitUntil (
373- async ( ) => {
374- await searchBox . setValue ( [ 'Backspace' , 'Backspace' , 'Backspace' ] ) ;
375- return ( await searchBox . getText ( ) ) === 'Search...' ;
376- } ,
377- {
378- interval : 1500 ,
379- timeout : 5000 ,
380- timeoutMsg : `Unable to enter correct search text into test searchbox.` ,
381- } ,
382- ) ;
383- } ) ;
384348 test ( 'Pressable should support different disabled styling configurations' , async ( ) => {
385349 const searchBox = await app . findElementByTestID ( 'example_search' ) ;
386350 await app . waitUntil (
You can’t perform that action at this time.
0 commit comments