test(cypress): don't apply changes in CI

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
Richard Steinmetz 2024-06-16 06:16:02 +00:00
parent 55036a0bc4
commit ead63a067e

View file

@ -94,7 +94,10 @@ export default defineConfig({
config.baseUrl = `http://${ip}/index.php`
await waitOnNextcloud(ip)
await configureNextcloud()
await applyChangesToNextcloud()
if (!process.env.CI) {
await applyChangesToNextcloud()
}
// IMPORTANT: return the config otherwise cypress-split will not work
return config