1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Update test-snap-notification.spec.js

This commit is contained in:
PeterYinusa 2023-01-18 18:36:51 +00:00
parent fbea2f7c53
commit a464f128bc

View File

@ -72,7 +72,10 @@ describe('Test Snap Notification', function () {
// click send inputs on test snap page
windowHandles = await driver.waitUntilXWindowHandles(2, 1000, 10000);
await driver.switchToWindowWithTitle('Test Snaps', windowHandles);
await driver.delay(1000);
await driver.waitForSelector({
css: '#connectNotification',
text: 'Reconnect to Notification Snap',
});
await driver.clickElement('#sendInAppNotification');
// switch back to the extension page