]> source.dussan.org Git - nextcloud-server.git/commitdiff
test(cypress): don't apply changes in CI 45894/head
authorRichard Steinmetz <richard@steinmetz.cloud>
Sun, 16 Jun 2024 06:16:02 +0000 (06:16 +0000)
committerRichard Steinmetz <richard@steinmetz.cloud>
Sun, 16 Jun 2024 06:22:13 +0000 (06:22 +0000)
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
cypress.config.ts

index d4896fd8d02d5b80f7356b2d97141c36d3856c68..2c91c6256d5ff1ea35432a00e92bb60072bc61bc 100644 (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