mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-20 21:34:35 -04:00
Merge pull request #184 from opencloud-eu/skipDiferentLanguagesTest
skip test for Spanish languages
This commit is contained in:
6 files changed
+78
-46
No files matched your search
@@ -324,5 +324,15 @@
|
||||
- [apiServiceAvailability/serviceAvailabilityCheck.feature:116](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiServiceAvailability/serviceAvailabilityCheck.feature#L116)
|
||||
- [apiServiceAvailability/serviceAvailabilityCheck.feature:125](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiServiceAvailability/serviceAvailabilityCheck.feature#L125)
|
||||
|
||||
#### [Skip tests for different languages](https://github.com/opencloud-eu/opencloud/issues/183)
|
||||
- [apiAntivirus/antivirus.feature:309](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiAntivirus/antivirus.feature#L309)
|
||||
- [apiAntivirus/antivirus.feature:310](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiAntivirus/antivirus.feature#L310)
|
||||
- [apiAntivirus/antivirus.feature:311](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiAntivirus/antivirus.feature#L310)
|
||||
- [apiNotification/deprovisioningNotification.feature:128](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiNotification/deprovisioningNotification.feature#L128)
|
||||
- [apiNotification/notification.feature:284](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiNotification/notification.feature#L284)
|
||||
- [apiNotification/notification.feature:285](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiNotification/notification.feature#L285)
|
||||
- [apiNotification/spaceNotification.feature:435](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiNotification/spaceNotification.feature#435)
|
||||
|
||||
|
||||
Note: always have an empty line at the end of this file.
|
||||
The bash script that processes this file requires that the last line has a newline on the end.
|
||||
@@ -294,7 +294,7 @@ Feature: antivirus
|
||||
| new |
|
||||
| spaces |
|
||||
|
||||
@issue-enterprise-5706
|
||||
@issue-enterprise-5706 @issue-183
|
||||
Scenario Outline: upload a file with virus and get notification in different languages
|
||||
Given user "Alice" has switched the system language to "<language>" using the Graph API
|
||||
And using <dav-path-version> DAV path
|
||||
|
||||
@@ -99,7 +99,7 @@ Feature: Deprovisioning notification
|
||||
| User |
|
||||
| User Light |
|
||||
|
||||
|
||||
@issue-183
|
||||
Scenario Outline: get a deprovisioning notification in various languages
|
||||
Given the administrator has created a deprovisioning notification
|
||||
And user "Alice" has switched the system language to "<language>" using the Graph API
|
||||
|
||||
@@ -14,9 +14,11 @@ Feature: Email notification
|
||||
Scenario: user gets an email notification when someone shares a project space
|
||||
Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
|
||||
And user "Alice" has created a space "new-space" with the default quota using the Graph API
|
||||
When user "Alice" shares a space "new-space" with settings:
|
||||
| shareWith | Brian |
|
||||
| role | Editor |
|
||||
When user "Alice" sends the following space share invitation using root endpoint of the Graph API:
|
||||
| space | new-space |
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Space Editor |
|
||||
Then the HTTP status code should be "200"
|
||||
And user "Brian" should have received the following email from user "Alice" about the share of project space "new-space"
|
||||
"""
|
||||
@@ -30,9 +32,13 @@ Feature: Email notification
|
||||
|
||||
Scenario: user gets an email notification when someone shares a file
|
||||
Given user "Alice" has uploaded file with content "sample text" to "lorem.txt"
|
||||
When user "Alice" shares file "lorem.txt" with user "Brian" using the sharing API
|
||||
When user "Alice" sends the following resource share invitation using the Graph API:
|
||||
| resource | lorem.txt |
|
||||
| space | Personal |
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
Then the HTTP status code should be "200"
|
||||
And the OCS status code should be "100"
|
||||
And user "Brian" should have received the following email from user "Alice"
|
||||
"""
|
||||
Hello Brian Murphy
|
||||
@@ -50,10 +56,12 @@ Feature: Email notification
|
||||
And user "Brian" has been added to group "group1"
|
||||
And user "Carol" has been added to group "group1"
|
||||
And user "Alice" has created a space "new-space" with the default quota using the Graph API
|
||||
When user "Alice" shares a space "new-space" with settings:
|
||||
| shareWith | group1 |
|
||||
| shareType | 8 |
|
||||
| role | viewer |
|
||||
Then the HTTP status code should be "200"
|
||||
When user "Alice" sends the following space share invitation using root endpoint of the Graph API:
|
||||
| space | new-space |
|
||||
| sharee | group1 |
|
||||
| shareType | group |
|
||||
| permissionsRole | Space Viewer |
|
||||
Then the HTTP status code should be "200"
|
||||
And user "Brian" should have received the following email from user "Alice" about the share of project space "new-space"
|
||||
"""
|
||||
@@ -72,26 +80,30 @@ Feature: Email notification
|
||||
Click here to view it: %base_url%/f/%space_id%
|
||||
"""
|
||||
|
||||
|
||||
@issue-183
|
||||
Scenario: group members get an email notification in their respective languages when someone shares a folder with the group
|
||||
Given user "Carol" has been created with default attributes
|
||||
And group "group1" has been created
|
||||
And user "Brian" has been added to group "group1"
|
||||
And user "Carol" has been added to group "group1"
|
||||
And user "Brian" has switched the system language to "es" using the Graph API
|
||||
# And user "Brian" has switched the system language to "es" using the Graph API
|
||||
And user "Carol" has switched the system language to "de" using the Graph API
|
||||
And user "Alice" has created folder "/HelloWorld"
|
||||
When user "Alice" shares folder "HelloWorld" with group "group1" using the sharing API
|
||||
When user "Alice" sends the following resource share invitation using the Graph API:
|
||||
| resource | HelloWorld |
|
||||
| space | Personal |
|
||||
| sharee | group1 |
|
||||
| shareType | group |
|
||||
| permissionsRole | Viewer |
|
||||
Then the HTTP status code should be "200"
|
||||
And the OCS status code should be "100"
|
||||
And user "Brian" should have received the following email from user "Alice"
|
||||
"""
|
||||
Hola Brian Murphy
|
||||
# And user "Brian" should have received the following email from user "Alice"
|
||||
# """
|
||||
# Hola Brian Murphy
|
||||
|
||||
%displayname% ha compartido "HelloWorld" contigo.
|
||||
# %displayname% ha compartido "HelloWorld" contigo.
|
||||
|
||||
Click aquí para verlo: %base_url%/files/shares/with-me
|
||||
"""
|
||||
# Click aquí para verlo: %base_url%/files/shares/with-me
|
||||
# """
|
||||
And user "Carol" should have received the following email from user "Alice"
|
||||
"""
|
||||
Hallo Carol King
|
||||
@@ -101,26 +113,30 @@ Feature: Email notification
|
||||
Zum Ansehen hier klicken: %base_url%/files/shares/with-me
|
||||
"""
|
||||
|
||||
|
||||
@issue-183
|
||||
Scenario: group members get an email notification in their respective languages when someone shares a file with the group
|
||||
Given user "Carol" has been created with default attributes
|
||||
And group "group1" has been created
|
||||
And user "Brian" has been added to group "group1"
|
||||
And user "Carol" has been added to group "group1"
|
||||
And user "Brian" has switched the system language to "es" using the Graph API
|
||||
# And user "Brian" has switched the system language to "es" using the Graph API
|
||||
And user "Carol" has switched the system language to "de" using the Graph API
|
||||
And user "Alice" has uploaded file with content "hello world" to "text.txt"
|
||||
When user "Alice" shares file "text.txt" with group "group1" using the sharing API
|
||||
When user "Alice" sends the following resource share invitation using the Graph API:
|
||||
| resource | text.txt |
|
||||
| space | Personal |
|
||||
| sharee | group1 |
|
||||
| shareType | group |
|
||||
| permissionsRole | Viewer |
|
||||
Then the HTTP status code should be "200"
|
||||
And the OCS status code should be "100"
|
||||
And user "Brian" should have received the following email from user "Alice"
|
||||
"""
|
||||
Hola Brian Murphy
|
||||
# And user "Brian" should have received the following email from user "Alice"
|
||||
# """
|
||||
# Hola Brian Murphy
|
||||
|
||||
%displayname% ha compartido "text.txt" contigo.
|
||||
# %displayname% ha compartido "text.txt" contigo.
|
||||
|
||||
Click aquí para verlo: %base_url%/files/shares/with-me
|
||||
"""
|
||||
# Click aquí para verlo: %base_url%/files/shares/with-me
|
||||
# """
|
||||
And user "Carol" should have received the following email from user "Alice"
|
||||
"""
|
||||
Hallo Carol King
|
||||
@@ -130,28 +146,30 @@ Feature: Email notification
|
||||
Zum Ansehen hier klicken: %base_url%/files/shares/with-me
|
||||
"""
|
||||
|
||||
@skipOnStable3.0
|
||||
@issue-183
|
||||
Scenario: group members get an email notification in their respective languages when someone shares a space with the group
|
||||
Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
|
||||
And user "Carol" has been created with default attributes
|
||||
And group "group1" has been created
|
||||
And user "Brian" has been added to group "group1"
|
||||
And user "Carol" has been added to group "group1"
|
||||
And user "Brian" has switched the system language to "es" using the Graph API
|
||||
# And user "Brian" has switched the system language to "es" using the Graph API
|
||||
And user "Carol" has switched the system language to "de" using the Graph API
|
||||
And user "Alice" has created a space "new-space" with the default quota using the Graph API
|
||||
When user "Alice" shares a space "new-space" with settings:
|
||||
| shareWith | group1 |
|
||||
| role | viewer |
|
||||
And user "Alice" sends the following space share invitation using root endpoint of the Graph API:
|
||||
| space | new-space |
|
||||
| sharee | group1 |
|
||||
| shareType | group |
|
||||
| permissionsRole | Space Viewer |
|
||||
Then the HTTP status code should be "200"
|
||||
And user "Brian" should have received the following email from user "Alice" about the share of project space "new-space"
|
||||
"""
|
||||
Hola Brian Murphy,
|
||||
# And user "Brian" should have received the following email from user "Alice" about the share of project space "new-space"
|
||||
# """
|
||||
# Hola Brian Murphy,
|
||||
|
||||
Alice Hansen te ha invitado a unirte a "new-space".
|
||||
# Alice Hansen te ha invitado a unirte a "new-space".
|
||||
|
||||
Click aquí para verlo: %base_url%/f/%space_id%
|
||||
"""
|
||||
# Click aquí para verlo: %base_url%/f/%space_id%
|
||||
# """
|
||||
And user "Carol" should have received the following email from user "Alice" about the share of project space "new-space"
|
||||
"""
|
||||
Hallo Carol King,
|
||||
@@ -191,9 +209,13 @@ Feature: Email notification
|
||||
And user "Brian" has been added to group "group1"
|
||||
And user "Carol" has been added to group "group1"
|
||||
And user "Alice" has uploaded file with content "hello world" to "text.txt"
|
||||
When user "Alice" shares file "text.txt" with group "group1" using the sharing API
|
||||
When user "Alice" sends the following resource share invitation using the Graph API:
|
||||
| resource | text.txt |
|
||||
| space | Personal |
|
||||
| sharee | group1 |
|
||||
| shareType | group |
|
||||
| permissionsRole | Viewer |
|
||||
Then the HTTP status code should be "200"
|
||||
And the OCS status code should be "100"
|
||||
And user "Brian" should have received the following email from user "Alice"
|
||||
"""
|
||||
Hallo Brian Murphy
|
||||
|
||||
@@ -249,7 +249,7 @@ Feature: Notification
|
||||
| textfile1.txt |
|
||||
| my_data |
|
||||
|
||||
|
||||
@issue-183
|
||||
Scenario Outline: get a notification about a file share in various languages
|
||||
Given user "Brian" has switched the system language to "<language>" using the <api> API
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
|
||||
@@ -407,7 +407,7 @@ Feature: Notification
|
||||
}
|
||||
"""
|
||||
|
||||
|
||||
@issue-183
|
||||
Scenario Outline: get a notification about a space share in various languages
|
||||
Given user "Brian" has switched the system language to "<language>" using the Graph API
|
||||
When user "Brian" lists all notifications
|
||||
|
||||
Reference in new issue
Block a user