Skip to content

Commit e06b6db

Browse files
Copilotchiaramooney
andcommitted
Add dumpVisualTree snapshot after text input in multiline test
Co-authored-by: chiaramooney <[email protected]>
1 parent 6fc46e2 commit e06b6db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,10 @@ describe('TextInput Tests', () => {
10111011
timeoutMsg: `Unable to enter text in multiline TextInput.`,
10121012
},
10131013
);
1014+
1015+
// Capture visual tree after text has been set to validate wrapping
1016+
const dumpAfterText = await dumpVisualTree('textinput-multiline-topleft');
1017+
expect(dumpAfterText).toMatchSnapshot();
10141018
});
10151019

10161020
test('TextInput should not be editable when readOnly set to true', async () => {

0 commit comments

Comments
 (0)