mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 11:28:51 +01:00
limit x server check to CI (#12099)
This commit is contained in:
parent
3e0d79d251
commit
34f2d3e27f
@ -40,7 +40,10 @@ describe('MetaMask', function () {
|
||||
dappServer.on('listening', resolve);
|
||||
dappServer.on('error', reject);
|
||||
});
|
||||
if (process.env.SELENIUM_BROWSER === 'chrome') {
|
||||
if (
|
||||
process.env.SELENIUM_BROWSER === 'chrome' &&
|
||||
process.env.CI === 'true'
|
||||
) {
|
||||
await ensureXServerIsRunning();
|
||||
}
|
||||
const result = await buildWebDriver();
|
||||
|
Loading…
Reference in New Issue
Block a user