summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2020-11-13 08:00:25 +0100
committerTamás Zolnai <zolnaitamas2000@gmail.com>2020-11-25 01:37:08 +0100
commit5812d64eb85ca59a0709cc7d6581a917ac2da776 (patch)
treeb4843fe97600afd975d7ccddb28cdb6311735112
parentcypress: NC: disable this unstable test. (diff)
downloadonline-5812d64eb85ca59a0709cc7d6581a917ac2da776.tar.gz
online-5812d64eb85ca59a0709cc7d6581a917ac2da776.zip
cypress: NC: disable retries.
In NC environment it does not work properly. Change-Id: I9adbb01b450103a6ac2aa211eb933a5ab3f5fcd2 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 10df5de391dab56a250a2944770610e81b98dde1)
-rw-r--r--cypress_test/plugins/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/cypress_test/plugins/index.js b/cypress_test/plugins/index.js
index 4d00189617..1f029d090b 100644
--- a/cypress_test/plugins/index.js
+++ b/cypress_test/plugins/index.js
@@ -43,6 +43,11 @@ function plugin(on, config) {
config.retries.openMode = 0;
}
+ if (process.env.CYPRESS_INTEGRATION === 'nextcloud') {
+ config.retries.runMode = 0;
+ config.retries.openMode = 0;
+ }
+
on('file:preprocessor', selectTests(config, pickTests));
return config;