mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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:
parent
506fa2d744
commit
d3f7464333
@ -391,7 +391,7 @@ jobs:
|
|||||||
destination: test-artifacts
|
destination: test-artifacts
|
||||||
|
|
||||||
test-e2e-firefox:
|
test-e2e-firefox:
|
||||||
executor: node-browsers
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
|
@ -16,13 +16,10 @@ class ChromeDriver {
|
|||||||
.setChromeOptions(options);
|
.setChromeOptions(options);
|
||||||
const service = new chrome.ServiceBuilder();
|
const service = new chrome.ServiceBuilder();
|
||||||
|
|
||||||
// Enables Chrome logging.
|
// Enables Chrome logging. Default: enabled
|
||||||
// Especially useful for discovering why Chrome has crashed, but can also
|
// Especially useful for discovering why Chrome has crashed, but can also
|
||||||
// be useful for revealing console errors (from the page or background).
|
// be useful for revealing console errors (from the page or background).
|
||||||
if (
|
if (process.env.ENABLE_CHROME_LOGGING !== 'false') {
|
||||||
process.env.ENABLE_CHROME_LOGGING &&
|
|
||||||
process.env.ENABLE_CHROME_LOGGING !== 'false'
|
|
||||||
) {
|
|
||||||
service.setStdio('inherit').enableChromeLogging();
|
service.setStdio('inherit').enableChromeLogging();
|
||||||
}
|
}
|
||||||
if (port) {
|
if (port) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user