Skip to content

Commit 06d8afd

Browse files
committed
fix negative test
1 parent bbf7981 commit 06d8afd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/source/tests/flaky.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,11 @@ export const defineFlakyTests = (testVariant: TestVariant, testWithBrowser: Test
258258
t,
259259
`chrome/settings/modules/my_key.htm?placement=settings&parentTabId=60%3A0&acctEmail=${acctEmail}&fingerprint=${fingerprint}`
260260
);
261-
await myKeyFrame.waitAll(['@container-shareable-pubkey-link']);
262-
expect(await myKeyFrame.isElementPresent('@container-shareable-pubkey-link')).to.equal(false);
261+
expect(await myKeyFrame.isElementPresent('@container-shareable-pubkey-link')).to.be.false;
263262
const downloadedFiles = await myKeyFrame.awaitDownloadTriggeredByClicking('@action-download-prv');
264263
// const longid = OpenPGPKey.fingerprintToLongid(fingerprint);
265264
const longid = fingerprint.substring(fingerprint.length - 16);
266265
const fileName = `flowcrypt-backup-usernosubmitclientconfigurationflowcrypttest-0x${longid}.asc`;
267-
268266
const key = await KeyUtil.parse(downloadedFiles[fileName].toString());
269267
expect(key.algo.bits).to.equal(3072);
270268
expect(key.algo.algorithm).to.equal('rsaEncryptSign');

0 commit comments

Comments
 (0)