-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #144 from pondersource/nextcloud-ocmstub-sharewith
Nextcloud ocmstub sharewith
- Loading branch information
Showing
41 changed files
with
220 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 8 additions & 10 deletions
18
...e-with/nextcloud-v27-to-ocmstub-1.0.cy.js → ...d-http/nextcloud-v27-to-ocmstub-1.0.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 10 additions & 8 deletions
18
...e-with/nextcloud-v28-to-ocmstub-1.0.cy.js → ...d-http/nextcloud-v28-to-ocmstub-1.0.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ describe('Native federated sharing functionality for OcmStub', () => { | |
cy.contains('yes shareWith').should('be.visible') | ||
}) | ||
|
||
it('Receive federated share <file> from Nextcloud v27 to OcmStub 1.0', () => { | ||
it('Receive federated share <file> from OcmStub 1.0 to OcmStub 1.0', () => { | ||
// accept share from OcmStub 2. | ||
cy.loginOcmStub('https://ocmstub2.docker/?') | ||
|
||
|
@@ -13,9 +13,8 @@ describe('Native federated sharing functionality for OcmStub', () => { | |
cy.contains('"name": "Test share from stub"').should('be.visible') | ||
cy.contains('"resourceType": "file"').should('be.visible') | ||
cy.contains('"owner": "[email protected]"').should('be.visible') | ||
cy.contains('"sharedBy": "[email protected]"').should('be.visible') | ||
cy.contains('"sender": "[email protected]"').should('be.visible') | ||
cy.contains('"ownerDisplayName": "einstein"').should('be.visible') | ||
cy.contains('"protocol": { "name": "webdav", "options": { "sharedSecret": "').should('be.visible') | ||
// cy.contains('"permissions": "{http://open-cloud-mesh.org/ns}share-permissions"').should('be.visible') | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
describe('OCM federated sharing functionality for Seafile 11 and OcmStub', () => { | ||
it('Send federated share <file> from Seafile 11 to OcmStub 1.0', () => { | ||
describe('Native federated sharing functionality for Seafile', () => { | ||
it('Send federated share <file> from Seafile 11 to Seafile 11', () => { | ||
// share from Seafile 1. | ||
cy.loginSeafile('http://seafile1.docker', '[email protected]', 'xu') | ||
|
||
|
@@ -48,7 +48,7 @@ describe('OCM federated sharing functionality for Seafile 11 and OcmStub', () => | |
.click() | ||
|
||
cy.get('*[role^="dialog"]') | ||
.contains(/^ocmstub\w+/) | ||
.contains(/^seafile\w+/) | ||
.click() | ||
|
||
cy.get('*[id^="share-to-other-server-panel"]') | ||
|
@@ -70,7 +70,7 @@ describe('OCM federated sharing functionality for Seafile 11 and OcmStub', () => | |
|
||
}) | ||
|
||
it('Receive federated share <file> from Seafile 11 to OcmStub 1.0', () => { | ||
it('Receive federated share <file> from ownCloud v10 to OcmStub 1.0', () => { | ||
// accept share from OcmStub 2. | ||
cy.loginOcmStub('https://ocmstub2.docker/?') | ||
|
||
|
@@ -82,6 +82,7 @@ describe('OCM federated sharing functionality for Seafile 11 and OcmStub', () => | |
cy.contains('"sharedBy": "einstein@https://seafile1.docker/"').should('be.visible') | ||
cy.contains('"ownerDisplayName": "einstein"').should('be.visible') | ||
cy.contains('"description": ""').should('be.visible') | ||
cy.contains('"shareWith": "michiel@https://ocmstub2.docker"').should('be.visible') | ||
cy.contains('"protocol": { "name": "webdav", "options": { "sharedSecret": "').should('be.visible') | ||
cy.contains('"permissions": "{http://open-cloud-mesh.org/ns}share-permissions"').should('be.visible') | ||
}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.