mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
[MV3] Fix e2e encrypt-decrypt
test for MV3 test build (#16264)
* Fix e2e encrypt-decrypt test for mv3 build * Remove unnecessary await~
This commit is contained in:
parent
f03b3a872c
commit
d452613f71
@ -71,10 +71,11 @@ describe('Encrypt Decrypt', function () {
|
||||
|
||||
// Verify message in MetaMask Notification
|
||||
await driver.clickElement({ text: 'Decrypt message', tag: 'div' });
|
||||
const notificationMessage = await driver.findElement(
|
||||
'.request-decrypt-message__message-text',
|
||||
);
|
||||
assert.equal(await notificationMessage.getText(), message);
|
||||
const notificationMessage = await driver.isElementPresent({
|
||||
text: message,
|
||||
tag: 'div',
|
||||
});
|
||||
assert.equal(notificationMessage, true);
|
||||
await driver.clickElement({ text: 'Decrypt', tag: 'button' });
|
||||
|
||||
// Verify message in Test Dapp
|
||||
|
Loading…
Reference in New Issue
Block a user