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-05-08Use non-absolute logout URL to fix wrong URL in reverse proxy scenarioMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-11Return true in the dummy backend for successful display name changeMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-11lib/private/User: do not change user properties if value has not changedLeon Klingele
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-10Add acceptance test for public folder navigationJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-03Adjust acceptance tests to changes of file names in file pickerDaniel Calviño Sánchez
File names are no longer shown directly in the ".filename" element, but split in two "span" elements inside a ".filename-parts" element, so now the texts in those span elements need to be concatenated to get the file name. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-04-01Revert "Temp disable bundle tests"Roeland Jago Douma
2019-03-25Merge pull request #14825 from marius-wieschollek/bugfix/11236Morris Jobke
Set parameter type in QBMapper
2019-03-25Fetch proper translationsRoeland Jago Douma
Fixes #14793 This is caused by the mess we have with OC\Settings mapping to settings and lib/private/Settings. Anyway this is the quick fix. Moving stuff around for 17 seems better. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-25[#11236] Set parameter type in QBMapperMarius David Wieschollek
Signed-off-by: Marius David Wieschollek <git.public@mdns.eu>
2019-03-22Properly inject EventDispatched in BackgroundRepairRoeland Jago Douma
Else it will just be null when called Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-21Remove unused member "util"Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-20Temp disable bundle testsRoeland Jago Douma
The bundle acceptance tests fails after #14578 sometimes. This is because of a race condition. not all apps have compatible 16 versions yet. So trying to enable them results in those apps doing :boom:. Because of #14578 we do show them now. So we try to enable them. However depending on which requests finishes first the disable button for the audit app either shows up or now. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-20Merge pull request #14578 from nextcloud/enh/force_enable_appsRoeland Jago Douma
Force enable apps
2019-03-20Revert "Where is your data?"Roeland Jago Douma
2019-03-20allow enforcing apps to ignore the max versionRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-18Improve startup speed of acceptance testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-18Adjust acceptance testsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-15Merge pull request #14681 from nextcloud/forwardport/noid/fragile-testsMorris Jobke
Disable fragile tests - part 2
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-14Make appstore app:enable test more robust by using only shipped appsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-13Disable fragile user acceptance testsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-13Disable 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-13Disable failing comments testMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-13Disable 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-13Disable 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-13Disable 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-11Fix acceptance tests for wrong password message due to changed messageMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-08Merge pull request #14603 from ↵Morris Jobke
nextcloud/fix/noid/add-setup-check-for-s3-temp-path Show a setup warning in case S3 object storage is used as primary storage
2019-03-08Merge pull request #14352 from nextcloud/dependabot/npm_and_yarn/bootstrap-4.3.1Roeland Jago Douma
[Security] Bump bootstrap from 3.4.1 to 4.3.1
2019-03-08Show a setup warning in case S3 object storage is used as primary storageMorris Jobke
* checks for at least 50 GB of free space Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-08Merge pull request #14425 from cowai/fix-multiple-incomplete-foldersMorris Jobke
Do not calculate folder size for parent that also needs proper scan, fixes #3524
2019-03-07Remove "socialsharing_googleplus" from Social Sharing BundleMarius Blüm
Signed-off-by: Marius Blüm <marius@lineone.io>
2019-03-07Fix domparser on phantomjsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-06Avoid calculating folder size for parent that needs scan.Ari Selseng
Signed-off-by: Ari Selseng <ari@selseng.net>
2019-03-06Merge pull request #13327 from ↵Morris Jobke
nextcloud/allow-bracket-notation-for-remove-ipv6-address Allow bracket IPv6 address format inside IPAdress Normalizer
2019-03-05Disable fragile tests for nowMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-04Remove the upload and memory settingJoas Schilling
* Remove unneeded private method phpFileSize() * Bump autoloader * Remove setUploadLimit tests * Remove integrity check hacks for upload limit Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-04Merge pull request #14493 from nextcloud/tech-debt/noid/remove-php5-configMorris Jobke
Remove unused php5 config from .htaccess
2019-03-04Remove unused php5 config from .htaccessMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-04Make header.feature more robust by running it on apacheMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-01Load auth tokens with the initial state APIChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-03-01Fix testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01Fix testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01Add dispatcher events to User and Group objectsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-28Add setup check for missing UTF8MB4 on mysqlMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-28Run tests that fail with "no such process" over to apache serverMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>