You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.
Select Other... from the Quota dropdown for a user
Enter an invalid value, like -1KB
Invalid quota value "-1KB"
is displayed - good
But the displayed quota for the user shows the invalid value -1KB - problem
Refresh the page, and the quota of the user is shown correctly as the previous value.
This is causing the webUI acceptance tests "Scenario Outline: change quota to an invalid value" in tests/acceptance/features/webUIManageQuota/manageUserQuota.feature to always fail.
Scenario Outline: change quota to an invalid value # /var/www/owncloud/apps/user_management/tests/acceptance/features/webUIManageQuota/manageUserQuota.feature:37
When the administrator changes the quota of user "user1" to "<wished_quota>" using the webUI # WebUIUsersContext::theAdministratorSetsTheQuotaOfUserUsingTheWebUI()
Then a notification should be displayed on the webUI with the text 'Invalid quota value "<wished_quota>"' # WebUIGeneralContext::aNotificationShouldBeDisplayedOnTheWebUIWithTheText()
And the quota of user "user1" should be set to "Default" on the webUI # WebUIUsersContext::quotaOfUserShouldBeSetToOnTheWebUI()
Examples:
| wished_quota |
| stupidtext |
Users quota is set to "stupidtext" but expected "Default"
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Default'
+'stupidtext'
SCENARIO RESULT: (fail)
| 34,54GB |
Users quota is set to "34,54GB" but expected "Default"
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Default'
+'34,54GB'
The text was updated successfully, but these errors were encountered:
Other...
from the Quota dropdown for a user-1KB
is displayed - good
But the displayed quota for the user shows the invalid value
-1KB
- problemRefresh the page, and the quota of the user is shown correctly as the previous value.
This is causing the webUI acceptance tests "Scenario Outline: change quota to an invalid value" in
tests/acceptance/features/webUIManageQuota/manageUserQuota.feature
to always fail.https://drone.owncloud.com/owncloud/user_management/334/48
The text was updated successfully, but these errors were encountered: