Skip to content

Commit

Permalink
Removed checking the details of Dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
vaisakhkannan committed Mar 26, 2024
1 parent 6f451d5 commit 56a8bdf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/test/utils/testUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,7 @@ export async function clearCommandPalette() {
const message = await dialog.getMessage();

expect(message).contains('Do you want to clear the history of recently used commands?');
const details = await dialog.getDetails();

expect(details).equals(`This action is irreversible!`);

const buttons = await dialog.getButtons();
expect(buttons.length).equals(2);
await dialog.pushButton('Clear');
Expand Down

0 comments on commit 56a8bdf

Please sign in to comment.