1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Ci test config improvement (#12223)

* ci - use same resource class for chrome and ff e2e tests

* e2e:chrome - enable logging by default

* lint fix
This commit is contained in:
kumavis 2021-09-27 12:39:31 -10:00 committed by GitHub
parent 506fa2d744
commit d3f7464333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View File

@ -391,7 +391,7 @@ jobs:
destination: test-artifacts
test-e2e-firefox:
executor: node-browsers
executor: node-browsers-medium-plus
steps:
- checkout
- run:

View File

@ -16,13 +16,10 @@ class ChromeDriver {
.setChromeOptions(options);
const service = new chrome.ServiceBuilder();
// Enables Chrome logging.
// Enables Chrome logging. Default: enabled
// Especially useful for discovering why Chrome has crashed, but can also
// be useful for revealing console errors (from the page or background).
if (
process.env.ENABLE_CHROME_LOGGING &&
process.env.ENABLE_CHROME_LOGGING !== 'false'
) {
if (process.env.ENABLE_CHROME_LOGGING !== 'false') {
service.setStdio('inherit').enableChromeLogging();
}
if (port) {