summaryrefslogtreecommitdiffstats
path: root/build/integration/sharing_features/sharing-v1-video-verification.feature
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-05-29 21:34:52 +0200
committerGitHub <noreply@github.com>2020-05-29 21:34:52 +0200
commitc31b2d6ce15a71b681eabadcc4fce6d0f98f5cb2 (patch)
treebad9290390d58e8fcc5f94148cd8ee51f271c175 /build/integration/sharing_features/sharing-v1-video-verification.feature
parentbb107a1f6fa02fd81e2aee31332f6e65c678bfb0 (diff)
parentb5ffa2ea3d3d38dcf68b1ba3cd65998621256512 (diff)
downloadnextcloud-server-c31b2d6ce15a71b681eabadcc4fce6d0f98f5cb2.tar.gz
nextcloud-server-c31b2d6ce15a71b681eabadcc4fce6d0f98f5cb2.zip
Merge pull request #21152 from nextcloud/backport/21143/stable18
[stable18] Fix password changes in link and mail shares
Diffstat (limited to 'build/integration/sharing_features/sharing-v1-video-verification.feature')
-rw-r--r--build/integration/sharing_features/sharing-v1-video-verification.feature504
1 files changed, 504 insertions, 0 deletions
diff --git a/build/integration/sharing_features/sharing-v1-video-verification.feature b/build/integration/sharing_features/sharing-v1-video-verification.feature
new file mode 100644
index 00000000000..e57ec9a9f98
--- /dev/null
+++ b/build/integration/sharing_features/sharing-v1-video-verification.feature
@@ -0,0 +1,504 @@
+@Talk
+Feature: sharing
+ Background:
+ Given using api version "1"
+ Given using old dav path
+ Given invoking occ with "app:enable spreed"
+
+ Scenario: Creating a link share with send password by Talk
+ Given user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ | password | secret |
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Enabling send password by Talk in a link share
+ Given user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Enabling send password by Talk with different password in a link share
+ Given user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ | password | secret |
+ And Updating last share with
+ | password | another secret |
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "another secret" can be downloaded
+
+ Scenario: Enabling send password by Talk with different password set after creation in a link share
+ Given user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ And Updating last share with
+ | password | secret |
+ And Updating last share with
+ | password | another secret |
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "another secret" can be downloaded
+
+ Scenario: Enabling send password by Talk with same password in a link share
+ Given user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ | password | secret |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Enabling send password by Talk with same password set after creation in a link share
+ Given user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ And Updating last share with
+ | password | secret |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Enabling send password by Talk without updating password in a link share
+ Given user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ | password | secret |
+ And Updating last share with
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Enabling send password by Talk without updating password set after creation in a link share
+ Given user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ And Updating last share with
+ | password | secret |
+ And Updating last share with
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Enabling send password by Talk with no password in a link share
+ Given user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ And Updating last share with
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "400"
+ And the HTTP status code should be "200"
+ And last share can be downloaded
+
+ Scenario: Enabling send password by Talk with no password removed after creation in a link share
+ Given user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ | password | secret |
+ And Updating last share with
+ | password | |
+ And Updating last share with
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "400"
+ And the HTTP status code should be "200"
+ And last share can be downloaded
+
+ Scenario: Disabling send password by Talk without setting new password in a link share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ | password | secret |
+ | sendPasswordByTalk | true |
+ And Updating last share with
+ | sendPasswordByTalk | false |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Disabling send password by Talk without setting new password set after creation in a link share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | true |
+ And Updating last share with
+ | sendPasswordByTalk | false |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Disabling send password by Talk setting same password in a link share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ | password | secret |
+ | sendPasswordByTalk | true |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | false |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Disabling send password by Talk setting same password set after creation in a link share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | true |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | false |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Disabling send password by Talk setting new password in a link share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ | password | secret |
+ | sendPasswordByTalk | true |
+ And Updating last share with
+ | password | another secret |
+ | sendPasswordByTalk | false |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "another secret" can be downloaded
+
+ Scenario: Disabling send password by Talk setting new password set after creation in a link share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 3 |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | true |
+ And Updating last share with
+ | password | another secret |
+ | sendPasswordByTalk | false |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "another secret" can be downloaded
+
+
+
+
+
+ Scenario: Creating a mail share with send password by Talk
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ | password | secret |
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Enabling send password by Talk in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Enabling send password by Talk with different password in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ | password | secret |
+ And Updating last share with
+ | password | another secret |
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "another secret" can be downloaded
+
+ Scenario: Enabling send password by Talk with different password set after creation in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ And Updating last share with
+ | password | secret |
+ And Updating last share with
+ | password | another secret |
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "another secret" can be downloaded
+
+ Scenario: Enabling send password by Talk with same password in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ | password | secret |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "400"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Enabling send password by Talk with same password set after creation in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ And Updating last share with
+ | password | secret |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "400"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Enabling send password by Talk without updating password in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ | password | secret |
+ And Updating last share with
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "400"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Enabling send password by Talk without updating password set after creation in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ And Updating last share with
+ | password | secret |
+ And Updating last share with
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "400"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Enabling send password by Talk with no password in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ And Updating last share with
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "400"
+ And the HTTP status code should be "200"
+ And last share can be downloaded
+
+ Scenario: Enabling send password by Talk with no password removed after creation in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ | password | secret |
+ And Updating last share with
+ | password | |
+ And Updating last share with
+ | sendPasswordByTalk | true |
+ Then the OCS status code should be "400"
+ And the HTTP status code should be "200"
+ And last share can be downloaded
+
+ Scenario: Disabling send password by Talk without setting new password in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ | password | secret |
+ | sendPasswordByTalk | true |
+ And Updating last share with
+ | sendPasswordByTalk | false |
+ Then the OCS status code should be "400"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Disabling send password by Talk without setting new password set after creation in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | true |
+ And Updating last share with
+ | sendPasswordByTalk | false |
+ Then the OCS status code should be "400"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Disabling send password by Talk setting same password in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ | password | secret |
+ | sendPasswordByTalk | true |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | false |
+ Then the OCS status code should be "400"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Disabling send password by Talk setting same password set after creation in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | true |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | false |
+ Then the OCS status code should be "400"
+ And the HTTP status code should be "200"
+ And last share with password "secret" can be downloaded
+
+ Scenario: Disabling send password by Talk setting new password in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ | password | secret |
+ | sendPasswordByTalk | true |
+ And Updating last share with
+ | password | another secret |
+ | sendPasswordByTalk | false |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "another secret" can be downloaded
+
+ Scenario: Disabling send password by Talk setting new password set after creation in a mail share
+ Given dummy mail server is listening
+ And user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | welcome.txt |
+ | shareType | 4 |
+ | shareWith | dummy@test.com |
+ And Updating last share with
+ | password | secret |
+ | sendPasswordByTalk | true |
+ And Updating last share with
+ | password | another secret |
+ | sendPasswordByTalk | false |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share with password "another secret" can be downloaded