Skip to content

Commit 856fe72

Browse files
Copilotchiaramooney
andcommitted
Remove redundant test for different children configurations
Co-authored-by: chiaramooney <[email protected]>
1 parent b060bba commit 856fe72

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

packages/e2e-test-app-fabric/test/PressableComponentTest.test.ts

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -387,38 +387,6 @@ describe('Pressable Tests', () => {
387387
},
388388
);
389389
});
390-
test('Pressable should support different children configurations', async () => {
391-
const searchBox = await app.findElementByTestID('example_search');
392-
await app.waitUntil(
393-
async () => {
394-
await searchBox.setValue('Cha');
395-
return (await searchBox.getText()) === 'Cha';
396-
},
397-
{
398-
interval: 1500,
399-
timeout: 5000,
400-
timeoutMsg: `Unable to enter correct search text into test searchbox.`,
401-
},
402-
);
403-
404-
// Test pressable with different content based on press state
405-
const component = await app.findElementByTestID('one_press_me_button');
406-
await component.waitForDisplayed({timeout: 20000});
407-
const initialDump = await dumpVisualTree('one_press_me_button');
408-
expect(initialDump).toMatchSnapshot();
409-
410-
await app.waitUntil(
411-
async () => {
412-
await searchBox.setValue(['Backspace', 'Backspace', 'Backspace']);
413-
return (await searchBox.getText()) === 'Search...';
414-
},
415-
{
416-
interval: 1500,
417-
timeout: 5000,
418-
timeoutMsg: `Unable to enter correct search text into test searchbox.`,
419-
},
420-
);
421-
});
422390

423391
test('Pressables can have advanced borders', async () => {
424392
const component = await app.findElementByTestID(

0 commit comments

Comments
 (0)