Skip to content

Commit 24c5eed

Browse files
committed
Revert "Work around change in LG "modal" no longer removing dom elements when closed"
This reverts commit 44c8f27.
1 parent f06c40f commit 24c5eed

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/connection-form/src/components/connection-string-input.spec.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,7 @@ describe('ConnectionStringInput Component', function () {
236236
);
237237

238238
// Wait for the modal to close.
239-
await waitFor(
240-
() =>
241-
expect(screen.getByText('Confirm').closest('dialog')).to.not.be
242-
.displayed
243-
);
239+
await waitFor(() => expect(screen.queryByText('Confirm')).to.not.exist);
244240
});
245241

246242
it('should call setEnableEditingConnectionString', function () {

0 commit comments

Comments
 (0)