Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanmo226 committed May 14, 2024
1 parent 882b0eb commit a58ed06
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/source/tests/decrypt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1632,11 +1632,7 @@ XZ8r4OC6sguP/yozWlkG+7dDxsgKQVBENeG6Lw==
expect((await gmailPage2.getFramesUrls(['pgp_block.htm'])).length).to.equal(1);
expect((await gmailPage2.getFramesUrls(['pgp_pubkey.htm'], { sleep: 0, appearIn: 0 })).length).to.equal(0);
const attachmentFrame = await gmailPage2.getFrame(['attachment.htm']);
await attachmentFrame.waitAndClick('@attachment-container');
const attachmentPreviewPage = await gmailPage2.getFrame(['attachment_preview.htm']);
const downloadedFiles = await gmailPage2.awaitDownloadTriggeredByClicking(async () => {
await attachmentPreviewPage.waitAndClick('@attachment-preview-download');
});
const downloadedFiles = await attachmentFrame.awaitDownloadTriggeredByClicking('@download-attachment');
const entries = Object.entries(downloadedFiles);
expect(entries.length).to.equal(1);
const decryptedContent = entries[0][1].toString();
Expand Down

0 comments on commit a58ed06

Please sign in to comment.