Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-03-14Disable failing files app test - act 4Morris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-14Disable failing files app test - act 3Morris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-14Disable failing app management testMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-14Disable failing comments app test - act 2Morris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-14Disable failing files app test - act 2Morris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-14Disable fragile user acceptance testsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-14Disable failing login testMorris Jobke
* tests/acceptance/features/login.feature:15 <details><summary>Show full log</summary> ``` Scenario: log in with valid user and invalid password once fixed by admin # /drone/src/github.com/nextcloud/server/tests/acceptance/features/login.feature:15 Given I act as John # ActorContext::iActAs() And I can not log in with user user0 and password 654231 # LoginPageContext::iCanNotLogInWithUserAndPassword() When I act as Jane # ActorContext::iActAs() And I am logged in as the admin # LoginPageContext::iAmLoggedInAsTheAdmin() And I open the User settings # SettingsMenuContext::iOpenTheUserSettings() And I set the password for user0 to 654321 # UsersSettingsContext::iSetTheFieldForUserTo() And I act as John # ActorContext::iActAs() And I log in with user user0 and password 654321 # LoginPageContext::iLogInWithUserAndPassword() Then I see that the current page is the Files app # FilesAppContext::iSeeThatTheCurrentPageIsTheFilesApp() Failed asserting that 'http://acceptance-login/index.php/login?user=user0' starts with "http://acceptance-login/index.php/apps/files/". ``` </details> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-14Disable failing comments testMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-14Disable failing files app testMorris Jobke
Fails with: * tests/acceptance/features/app-files.feature:90 <details><summary>Show full log</summary> ``` Scenario: show favorites # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files.feature:90 Given I am logged in # LoginPageContext::iAmLoggedIn() And I mark "welcome.txt" as favorite # FileListContext::iMarkAsFavorite() When I open the "Favorites" section # AppNavigationContext::iOpenTheSection() Then I see that the current section is "Favorites" # AppNavigationContext::iSeeThatTheCurrentSectionIs() Then I see that the file list contains a file named "welcome.txt" # FileListContext::iSeeThatTheFileListContainsAFileNamed() Row for file welcome.txt in file list could not be found after 100 seconds (NoSuchElementException) ``` </details> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-14Disable failing apps management testMorris Jobke
Fails with: * tests/acceptance/features/apps.feature:66 <details><summary>Show full log</summary> ``` Scenario: Show section from app store # /drone/src/github.com/nextcloud/server/tests/acceptance/features/apps.feature:66 Given I act as Jane # ActorContext::iActAs() And I am logged in as the admin # LoginPageContext::iAmLoggedInAsTheAdmin() And I open the Apps management # SettingsMenuContext::iOpenTheAppsManagement() And I see that the current section is "Your apps" # AppNavigationContext::iSeeThatTheCurrentSectionIs() When I open the "Files" section # AppNavigationContext::iOpenTheSection() Files section item in App Navigation could not be found after 100 seconds (NoSuchElementException) Then I see that there some apps listed from the app store # AppsManagementContext::iSeeThatThereSomeAppsListedFromTheAppStore() And I see that the current section is "Files" # AppNavigationContext::iSeeThatTheCurrentSectionIs() ``` </details> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-14Disable failing files tag testMorris Jobke
Fails with: * tests/acceptance/features/app-files-tags.feature:42 <details><summary>Show full log</summary> ``` Scenario: add tags using the dropdown in the details view # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-tags.feature:42 Given I am logged in as the admin # LoginPageContext::iAmLoggedInAsTheAdmin() And I visit the settings page # SettingsMenuContext::iVisitTheSettingsPage() And I open the "Tag management" section # AppNavigationContext::iOpenTheSection() And I see that the button to select tags is shown # SettingsContext::iSeeThatTheButtonToSelectTagsIsShown() And I create the tag "tag1" in the settings # SettingsContext::iCreateTheTagInTheSettings() And I create the tag "tag2" in the settings # SettingsContext::iCreateTheTagInTheSettings() And I create the tag "tag3" in the settings # SettingsContext::iCreateTheTagInTheSettings() And I create the tag "tag4" in the settings # SettingsContext::iCreateTheTagInTheSettings() And I see that the dropdown for tags in the settings eventually contains the tag "tag1" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag() And I see that the dropdown for tags in the settings eventually contains the tag "tag2" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag() And I see that the dropdown for tags in the settings eventually contains the tag "tag3" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag() And I see that the dropdown for tags in the settings eventually contains the tag "tag4" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag() And I log out # SettingsMenuContext::iLogOut() And I am logged in # LoginPageContext::iAmLoggedIn() And I open the details view for "welcome.txt" # FileListContext::iOpenTheDetailsViewFor() And I open the input field for tags in the details view # FilesAppContext::iOpenTheInputFieldForTagsInTheDetailsView() When I check the tag "tag2" in the dropdown for tags in the details view # FilesAppContext::iCheckTheTagInTheDropdownForTagsInTheDetailsView() And I check the tag "tag4" in the dropdown for tags in the details view # FilesAppContext::iCheckTheTagInTheDropdownForTagsInTheDetailsView() Then I see that the tag "tag2" in the dropdown for tags in the details view is checked # FilesAppContext::iSeeThatTheTagInTheDropdownForTagsInTheDetailsViewIsChecked() And I see that the tag "tag4" in the dropdown for tags in the details view is checked # FilesAppContext::iSeeThatTheTagInTheDropdownForTagsInTheDetailsViewIsChecked() And I see that the input field for tags in the details view contains the tag "tag2" # FilesAppContext::iSeeThatTheInputFieldForTagsInTheDetailsViewContainsTheTag() Failed asserting that false is true. And I see that the input field for tags in the details view contains the tag "tag4" # FilesAppContext::iSeeThatTheInputFieldForTagsInTheDetailsViewContainsTheTag() ``` </details> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-08Merge pull request #14598 from nextcloud/backport/14425/stable14Morris Jobke
[stable14] Do not calculate folder size for parent that also needs proper scan, fixes #3524
2019-03-08Avoid calculating folder size for parent that needs scan.Ari Selseng
Signed-off-by: Ari Selseng <ari@selseng.net>
2019-03-08Remove "socialsharing_googleplus" from Social Sharing BundleMarius Blüm
Signed-off-by: Marius Blüm <marius@lineone.io>
2019-03-05Merge pull request #14417 from nextcloud/backport/14343/stable14Morris Jobke
[stable14] Parse multiple navigation items
2019-03-04Merge pull request #14498 from nextcloud/backport/14494/stable14Morris Jobke
[stable14] Make header.feature more robust by running it on apache
2019-03-04Make header.feature more robust by running it on apacheMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-04Run tests that fail with "no such process" over to apache serverMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-27two item => two itemsDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-27Parse multiple navigation itemsDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-19Correctly determinate the owner in case of shared external storagesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-14Update CRL to contain revoked files_external_dropbox, passman & paybackMorris Jobke
* see https://github.com/nextcloud/app-certificate-requests/pull/221 * see https://github.com/nextcloud/app-certificate-requests/pull/219#issuecomment-463577509 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-12Fix the thorrtler whitelist bitmaskRoeland Jago Douma
Before we actually didn't check each bit of the bitmask. Now we do. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-30Clean pending 2FA authentication on password resetRoeland Jago Douma
When a password is reste we should make sure that all users are properly logged in. Pending states should be cleared. For example a session where the 2FA code is not entered yet should be cleared. The token is now removed so the session will be killed the next time this is checked (within 5 minutes). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-24Merge pull request #13767 from nextcloud/backport/13747/stable14Roeland Jago Douma
[stable14] Honor remember_login_cookie_lifetime
2019-01-24Add acceptance tests for moving and copying selections to another folderDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-01-24Add acceptance tests for moving and copying files to another folderDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-01-23Honor remember_login_cookie_lifetimeRoeland Jago Douma
If the remember_login_cookie_lifetime is set to 0 this means we do not want to use remember me at all. In that case we should also not creatae a remember me cookie and should create a proper temp token. Further this specifies that is not 0 the remember me time should always be larger than the session timeout. Because else the behavior is not really defined. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-23Merge pull request #13741 from nextcloud/backport/13140/stable14Morris Jobke
[stable14] Cache tokens when using swift's v2 authentication
2019-01-22cleanup shared lock if changing to exclusive lock failedRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-01-22Cache tokens when using swift's v2 authenticationRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-01-22Fix template paramterRoeland Jago Douma
Else we get shown an error page instead of the correct 403. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-14Merge pull request #13035 from nextcloud/objectstore-write-exists-14Roeland Jago Douma
[14] upload new files in objectstore to a .part path first
2019-01-04fix can change password check in case of encryption is enabledBjoern Schiessle
Admin should _not_ be able to change password when: - if an encryption module is loaded and it uses per-user keys - if encryption is enabled but no encryption modules are loaded Admin should be able to change the password when: - no encryption module is loaded and encryption is disabled - encryption module is loaded but it doesn't require per user keys Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-12-24Add acceptance tests for opening search results for commentsDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-24Add acceptance tests for searching commentsDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-22Merge pull request #12617 from nextcloud/backport/10839/stable14Roeland Jago Douma
[stable14] adjust Calendar resource / room interfaces to use class implementation
2018-12-20Use a case insensitive search for emailRoeland Jago Douma
Fixes #7084 Now entering wrongly cased email (roeland@ instead of Roeland@) for password reset etc. Will also work. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-12upload new files in objectstore to a .part path firstRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-12-12Add objectExists to objectstore interfaceRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-12-08Apply patch from @cwiedmann but drop -oi option for pipeCarsten Wiedmann
* Add sendmailmode to gui * Add testcases for pipe mode Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-12-08Make sure to always load the latest icons-vars.css fileJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-07Add acceptance tests for comments on shared files and foldersDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-28Fix folder path containing leading slash when getting mount root by idRobin Appelman
This fixes collabora on public link shared groupfolders Fixes https://github.com/nextcloud/groupfolders/issues/225 Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-28Merge pull request #12701 from ↵Daniel Kesselberg
nextcloud/stable14-12632-add-acceptance-tests-for-sharing-files-and-folders-with-another-user [stable14] Add acceptance tests for sharing files and folders with another user
2018-11-27Wait for the comment to be added before changing to another fileDaniel Calviño Sánchez
If the server is too slow, changing to a different file immediately after sending a new comment but without waiting for the comment to be shown for the original file could cause the new comment to be shown for the current file instead. This is, indeed, a bug in the comments. However, it is not possible to test it reliably in the acceptance tests, as it depends on how fast the server adds the message and how fast the client changes to a different file; sometimes the test would fail and sometimes it would not. Therefore, now it is waited for the comment to be added before changing to another file, as in this case it can be reliably tested that changing to a different file does not cause the comments from the previous file to be shown in the current file (this was a different bug already fixed and due to which this test was added in the first place). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27Wait for the empty content element to be shownDaniel Calviño Sánchez
When the "Comments" tab is open the empty content element is always in the DOM, although it is only shown once the message collection was fetched and there were no messages. Due to this it is necessary to explicitly wait for it to be shown instead of relying on the implicit wait made to find the element; otherwise it would be found immediately and if the collection was not fetched yet it would not be visible, causing the test to fail. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-23Rename "FilesSharingAppContext" to "PublicShareContext"Daniel Calviño Sánchez
Having both "FilesAppSharingContext" and "FilesSharingAppContext" was confusing, so "FilesSharingAppContext" was renamed to a more descriptive name. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-23Extract locators and steps for sharing in Files app to their own contextDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-23Extract sharing related acceptance tests to their own feature filesDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>