diff --git a/commands/metamask.js b/commands/metamask.js index 662962a4a..f0f2ae69b 100644 --- a/commands/metamask.js +++ b/commands/metamask.js @@ -1198,7 +1198,7 @@ const metamask = { // log('[confirmTransaction] Checking if tx data is present..'); // if ( // await playwright - // .notificationwindows(PROVIDER) + // .windows(PROVIDER) // .locator(confirmPageElements.dataButton) // .count() > 0 // ) { diff --git a/helpers.js b/helpers.js index a926a80a0..f164feddb 100644 --- a/helpers.js +++ b/helpers.js @@ -269,6 +269,12 @@ module.exports = { log( `Trying to download and extract file from: ${url} to following path: ${destination}`, ); + + if (provider === 'phantom') { + // phantom doesnt support downloading yet. + return; + } + if (process.env.GH_USERNAME && process.env.GH_PAT) { await download(url, destination, { extract: true, @@ -277,13 +283,6 @@ module.exports = { Accept: 'application/octet-stream', }, }); - - /** - * Some extensions will zip their dist folder - */ - if (provider === 'phantom') { - await moveFiles(`${destination}/dist`, destination); - } } else { await download(url, destination, { extract: true,