|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
import * as fs from 'fs' |
|
|
|
|
|
|
|
|
|
const crxFile = fs.readFileSync('apps/remix-ide-e2e/src/extensions/chrome/metamask.crx') |
|
|
|
|
const metamaskExtension = Buffer.from(crxFile).toString('base64') |
|
|
|
|
// const metamaskExtension = Buffer.from(crxFile).toString('base64')
|
|
|
|
|
|
|
|
|
|
module.exports = { |
|
|
|
|
src_folders: ['dist/apps/remix-ide-e2e/src/tests'], |
|
|
|
@ -64,8 +64,7 @@ module.exports = { |
|
|
|
|
javascriptEnabled: true, |
|
|
|
|
acceptSslCerts: true, |
|
|
|
|
'goog:chromeOptions': { |
|
|
|
|
args: ['window-size=2560,1440', 'start-fullscreen', '--no-sandbox', '--headless', '--verbose'], |
|
|
|
|
extensions: [metamaskExtension] |
|
|
|
|
args: ['window-size=2560,1440', 'start-fullscreen', '--no-sandbox', '--headless', '--verbose'] |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|