From ead63a067ec5fdae468981c3150c63bc00bdc819 Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Sun, 16 Jun 2024 06:16:02 +0000 Subject: [PATCH] test(cypress): don't apply changes in CI Signed-off-by: Richard Steinmetz --- cypress.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cypress.config.ts b/cypress.config.ts index d4896fd8d02..2c91c6256d5 100644 --- a/cypress.config.ts +++ b/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