Manage test data and isolation in Neuron E2E
developTo ensure tests are repeatable and independent, follow these data management principles:
- User Data Isolation: Each test run isolates Electron user data by setting
XDG_CONFIG_HOMEunder the Playwright test output directory. Do not rely on a developer's local Neuron profile. - State Setup: For tests requiring specific wallet, chain, or RPC states, use the explicit setup helpers located in
e2e/fixtures. Avoid using manually prepared local data to ensure consistency in CI.