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

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
pull/45894/head
Richard Steinmetz 2024-06-16 06:16:02 +07:00
parent 55036a0bc4
commit ead63a067e
1 changed files with 4 additions and 1 deletions

@ -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