diff --git a/wallets/metamask/src/fixtures/metaMaskFixtures.ts b/wallets/metamask/src/fixtures/metaMaskFixtures.ts index 0a2542b72..a898514df 100644 --- a/wallets/metamask/src/fixtures/metaMaskFixtures.ts +++ b/wallets/metamask/src/fixtures/metaMaskFixtures.ts @@ -16,7 +16,10 @@ import { cachelessSetupMetaMask } from '../fixture-actions/noCachMetaMaskSetup' import { persistLocalStorage } from '../fixture-actions/persistLocalStorage' import { SEED_PHRASE } from '../utils/constants' -const USECACHE = process.env.SYNPRESS_USE_CACHE === true && process.platform !== 'win32' +// This is a workaround for the issue with the cache on Windows. +// The cache is not supported on Windows, so we need to disable it. +// process.env.SYNPRESS_USE_CACHE === true will enable the cache. +const USECACHE = true && process.platform !== 'win32' type MetaMaskFixtures = { _contextPath: string