summaryrefslogtreecommitdiff
path: root/cypress_test/plugins/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'cypress_test/plugins/index.js')
-rw-r--r--cypress_test/plugins/index.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/cypress_test/plugins/index.js b/cypress_test/plugins/index.js
index 4547a88ba..83eccb2b6 100644
--- a/cypress_test/plugins/index.js
+++ b/cypress_test/plugins/index.js
@@ -79,8 +79,9 @@ function pickTests(filename, foundTests, config) {
testsToRun = removeBlacklistedTest(filename, testsToRun, coreblackList);
if (process.env.CYPRESS_INTEGRATION === 'nextcloud') {
- var NCblackList = blacklists.nextcloudBlackList;
- testsToRun = removeBlacklistedTest(filename, testsToRun, NCblackList);
+ testsToRun = removeBlacklistedTest(filename, testsToRun, blacklists.nextcloudBlackList);
+ } else {
+ testsToRun = removeBlacklistedTest(filename, testsToRun, blacklists.nextcloudOnlyList);
}
if (process.env.CYPRESS_INTEGRATION === 'php-proxy') {