Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve OcmStub tests #158

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
stash
michielbdejong committed Dec 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 39150ec91334bf804e34ea2c0db105b32df53596
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import {
} from '../utils/nextcloud-v27'

describe('Native federated sharing functionality for Nextcloud', () => {
it('Send federated share <file> from Nextcloud v27 to Nextcloud v27', () => {
it('Send federated share <file> from Nextcloud v27 to OcmStub 1.0', () => {
// share from Nextcloud 1.
cy.loginNextcloud('https://nextcloud1.docker', 'einstein', 'relativity')

4 changes: 4 additions & 0 deletions dev/ocm-test-suite.sh
Original file line number Diff line number Diff line change
@@ -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"
;;
2 changes: 1 addition & 1 deletion dev/ocm-test-suite/share-with/nextcloud-ocmstub.sh
Original file line number Diff line number Diff line change
@@ -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