From 39150ec91334bf804e34ea2c0db105b32df53596 Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Thu, 19 Dec 2024 17:35:32 +0100 Subject: [PATCH] stash --- ...-to-ocmstub-1.0.cy.js => nextcloud-v27-to-ocmstub-1.cy.js} | 2 +- dev/ocm-test-suite.sh | 4 ++++ dev/ocm-test-suite/share-with/nextcloud-ocmstub.sh | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) rename cypress/ocm-test-suite/cypress/e2e/share-with/{nextcloud-v27-to-ocmstub-1.0.cy.js => nextcloud-v27-to-ocmstub-1.cy.js} (94%) diff --git a/cypress/ocm-test-suite/cypress/e2e/share-with/nextcloud-v27-to-ocmstub-1.0.cy.js b/cypress/ocm-test-suite/cypress/e2e/share-with/nextcloud-v27-to-ocmstub-1.cy.js similarity index 94% rename from cypress/ocm-test-suite/cypress/e2e/share-with/nextcloud-v27-to-ocmstub-1.0.cy.js rename to cypress/ocm-test-suite/cypress/e2e/share-with/nextcloud-v27-to-ocmstub-1.cy.js index 8fa69a4..c9ca5e7 100644 --- a/cypress/ocm-test-suite/cypress/e2e/share-with/nextcloud-v27-to-ocmstub-1.0.cy.js +++ b/cypress/ocm-test-suite/cypress/e2e/share-with/nextcloud-v27-to-ocmstub-1.cy.js @@ -6,7 +6,7 @@ import { } from '../utils/nextcloud-v27' describe('Native federated sharing functionality for Nextcloud', () => { - it('Send federated share from Nextcloud v27 to Nextcloud v27', () => { + it('Send federated share from Nextcloud v27 to OcmStub 1.0', () => { // share from Nextcloud 1. cy.loginNextcloud('https://nextcloud1.docker', 'einstein', 'relativity') diff --git a/dev/ocm-test-suite.sh b/dev/ocm-test-suite.sh index 5803be9..29cd487 100755 --- a/dev/ocm-test-suite.sh +++ b/dev/ocm-test-suite.sh @@ -89,6 +89,10 @@ case "${TEST_CASE}" in "${ENV_ROOT}/dev/ocm-test-suite/share-with/nextcloud-owncloud.sh" "${EFSS_PLATFORM_1_VERSION}" "${EFSS_PLATFORM_2_VERSION}" "${SCRIPT_MODE}" "${BROWSER_PLATFORM}" ;; + "nextcloud-ocmstub") + "${ENV_ROOT}/dev/ocm-test-suite/share-with/nextcloud-ocmstub.sh" "${EFSS_PLATFORM_1_VERSION}" "${EFSS_PLATFORM_2_VERSION}" "${SCRIPT_MODE}" "${BROWSER_PLATFORM}" + ;; + "nextcloud-seafile") echo -n "not supported" ;; diff --git a/dev/ocm-test-suite/share-with/nextcloud-ocmstub.sh b/dev/ocm-test-suite/share-with/nextcloud-ocmstub.sh index ff74e8b..3ea4ad0 100755 --- a/dev/ocm-test-suite/share-with/nextcloud-ocmstub.sh +++ b/dev/ocm-test-suite/share-with/nextcloud-ocmstub.sh @@ -261,7 +261,7 @@ else -w /ocm \ cypress/included:13.13.1 cypress run \ --browser "${BROWSER_PLATFORM}" \ - --spec "cypress/e2e/share-with/nextcloud-${P1_VER}-to-nextcloud-${P2_VER}.cy.js" + --spec "cypress/e2e/share-with/nextcloud-${P1_VER}-to-ocmstub-${P2_VER}.cy.js" # revert config file back to normal. if [ "${BROWSER_PLATFORM}" != "electron" ]; then