mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
Fix e2e to not check for X when running locally (#12043)
The X server check was only added to make Chrome tests run successfully on CI.
This commit is contained in:
parent
09d5f43a70
commit
72617d7036
@ -84,7 +84,10 @@ async function withFixtures(options, testSuite) {
|
|||||||
});
|
});
|
||||||
await segmentServer.start(9090);
|
await segmentServer.start(9090);
|
||||||
}
|
}
|
||||||
if (process.env.SELENIUM_BROWSER === 'chrome') {
|
if (
|
||||||
|
process.env.SELENIUM_BROWSER === 'chrome' &&
|
||||||
|
process.env.CI === 'true'
|
||||||
|
) {
|
||||||
await ensureXServerIsRunning();
|
await ensureXServerIsRunning();
|
||||||
}
|
}
|
||||||
const { driver } = await buildWebDriver(driverOptions);
|
const { driver } = await buildWebDriver(driverOptions);
|
||||||
|
Loading…
Reference in New Issue
Block a user