diff --git a/test/e2e/specs/settings.spec.ts b/test/e2e/specs/settings.spec.ts index 3fe5678b..f0830111 100644 --- a/test/e2e/specs/settings.spec.ts +++ b/test/e2e/specs/settings.spec.ts @@ -137,6 +137,22 @@ describe('Settings', () => { await $`rm -rf ${tempNodeHomePath}` }) + + // eslint-disable-next-line max-len + it('recognizes if the directory is created *after* the setting is updated @skipLinuxCI', async () => { + const tempNodeHomePath = `${nodeHomePath}.temp` + await outputView.clearText() + + await setTextSettingValue(pathToNodeHomeSetting, tempNodeHomePath) + + await expectOutputToContain(outputView, '✗ Error: Radicle profile not found in') + + await $`cp -r ${nodeHomePath} ${tempNodeHomePath}` + + await expectOutputToContain(outputView, 'Using already unsealed Radicle identity') + + await $`rm -rf ${tempNodeHomePath}` + }) }) })