Browse Source

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

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
pull/45894/head
Richard Steinmetz 2 years ago
parent
commit
ead63a067e
  1. 5
      cypress.config.ts

5
cypress.config.ts

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

Loading…
Cancel
Save