aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Temp disable bundle testsRoeland Jago Douma2019-03-201-8/+8
| | | | | | | | | | | | 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>
* Merge pull request #14578 from nextcloud/enh/force_enable_appsRoeland Jago Douma2019-03-201-10/+6
|\ | | | | Force enable apps
| * allow enforcing apps to ignore the max versionRoeland Jago Douma2019-03-201-10/+6
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Revert "Where is your data?"Roeland Jago Douma2019-03-202-103/+3
|/
* Improve startup speed of acceptance testsJoas Schilling2019-03-181-1/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Adjust acceptance testsMorris Jobke2019-03-182-1/+20
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #14681 from nextcloud/forwardport/noid/fragile-testsMorris Jobke2019-03-143-58/+58
|\ | | | | Disable fragile tests - part 2
| * Disable failing files app test - act 4Morris Jobke2019-03-141-6/+6
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Disable failing files app test - act 3Morris Jobke2019-03-141-20/+20
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Disable failing app management testMorris Jobke2019-03-141-16/+16
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Disable failing comments app test - act 2Morris Jobke2019-03-141-6/+6
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Disable failing files app test - act 2Morris Jobke2019-03-141-10/+10
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Make appstore app:enable test more robust by using only shipped appsMorris Jobke2019-03-141-3/+8
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Disable fragile user acceptance testsMorris Jobke2019-03-131-18/+18
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Disable failing login testMorris Jobke2019-03-131-10/+10
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* Disable failing comments testMorris Jobke2019-03-131-8/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Disable failing files app testMorris Jobke2019-03-131-114/+114
| | | | | | | | | | | | | | | | | | | | 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>
* Disable failing apps management testMorris Jobke2019-03-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | 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>
* Disable failing files tag testMorris Jobke2019-03-131-76/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Fix acceptance tests for wrong password message due to changed messageMorris Jobke2019-03-111-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #14603 from ↵Morris Jobke2019-03-081-0/+56
|\ | | | | | | | | nextcloud/fix/noid/add-setup-check-for-s3-temp-path Show a setup warning in case S3 object storage is used as primary storage
| * Show a setup warning in case S3 object storage is used as primary storageMorris Jobke2019-03-081-0/+56
| | | | | | | | | | | | * checks for at least 50 GB of free space Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #14352 from nextcloud/dependabot/npm_and_yarn/bootstrap-4.3.1Roeland Jago Douma2019-03-081-0/+1
|\ \ | |/ |/| [Security] Bump bootstrap from 3.4.1 to 4.3.1
| * Fix domparser on phantomjsJulius Härtl2019-03-071-0/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #14425 from cowai/fix-multiple-incomplete-foldersMorris Jobke2019-03-081-0/+38
|\ \ | | | | | | Do not calculate folder size for parent that also needs proper scan, fixes #3524
| * | Avoid calculating folder size for parent that needs scan.Ari Selseng2019-03-061-0/+38
| | | | | | | | | | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* | | Remove "socialsharing_googleplus" from Social Sharing BundleMarius Blüm2019-03-071-1/+0
| |/ |/| | | Signed-off-by: Marius Blüm <marius@lineone.io>
* | Merge pull request #13327 from ↵Morris Jobke2019-03-061-0/+4
|\ \ | | | | | | | | | | | | nextcloud/allow-bracket-notation-for-remove-ipv6-address Allow bracket IPv6 address format inside IPAdress Normalizer
| * | Allow bracket IPv6 address format inside IPAdress NormalizerThomas Citharel2019-01-031-0/+4
| | | | | | | | | | | | | | | | | | When run with php's build-in server (for instance on localhost:8080), IP provided through $this->server['REMOTE_ADDR'] is [::1], which is not an acceptable format for \inet_pton. This removes the brackets if there's any. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Disable fragile tests for nowMorris Jobke2019-03-053-16/+16
| |/ |/| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove the upload and memory settingJoas Schilling2019-03-045-177/+6
| | | | | | | | | | | | | | | | | | | | * 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>
* | Merge pull request #14493 from nextcloud/tech-debt/noid/remove-php5-configMorris Jobke2019-03-043-17/+5
|\ \ | | | | | | Remove unused php5 config from .htaccess
| * | Remove unused php5 config from .htaccessMorris Jobke2019-03-043-17/+5
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Make header.feature more robust by running it on apacheMorris Jobke2019-03-041-0/+1
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Load auth tokens with the initial state APIChristoph Wurst2019-03-012-47/+167
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix testsJulius Härtl2019-03-011-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix testsJulius Härtl2019-03-013-5/+8
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add dispatcher events to User and Group objectsJoas Schilling2019-03-0113-166/+216
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add setup check for missing UTF8MB4 on mysqlMorris Jobke2019-02-281-0/+56
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Run tests that fail with "no such process" over to apache serverMorris Jobke2019-02-284-0/+4
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #13489 from nextcloud/enh/settings/2fa-security-storeRoeland Jago Douma2019-02-281-1/+12
|\ \ | | | | | | Do not load 2fa admin settings async
| * | Do not load 2fa admin settings asyncRoeland Jago Douma2019-02-281-1/+12
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Fix acceptance tests for tag managementMorris Jobke2019-02-281-3/+3
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #14343 from nextcloud/bugfix/14052-multiple-navigation-itemsMorris Jobke2019-02-276-13/+353
|\ \ | | | | | | Parse multiple navigation items
| * | two item => two itemsDaniel Kesselberg2019-02-253-1/+1
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | Parse multiple navigation itemsDaniel Kesselberg2019-02-226-13/+353
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Search sharees on lookup server when explicitly requested by userChristoph Wurst2019-02-261-5/+5
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #14385 from ↵Joas Schilling2019-02-261-3/+9
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/feature/noid/add-event-to-allow-to-filter-results Add an event to the Autocomplete Controller to allow to filter the re…
| * | | Add an event to the Autocomplete Controller to allow to filter the resultsJoas Schilling2019-02-261-3/+9
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Move comments to webpackRoeland Jago Douma2019-02-261-11/+1
|/ / / | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>