aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Take into account the comment message when looking for itDaniel Calviño Sánchez2018-02-152-24/+17
| | | | | | | | Instead of checking that the list contains one comment it is now checked that a comment with certain message is visible. This makes the step (and the locator) more reusable in future tests and also simplifies the code. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Adjust timeouts in the step to create a new commentDaniel Calviño Sánchez2018-02-151-2/+2
| | | | | | | | | | | | | Depending on the previous steps the new comment field may be already shown or not when the step to create a new comment is executed. Therefore, the timeout was increased from 2 to the "standard" 10 seconds used in other tests. If the new comment field was found there is no need to use a timeout when looking for the new comment button; it is either there or not, it will not appear after some time. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Move locators above step definitionsDaniel Calviño Sánchez2018-02-151-21/+26
| | | | | | | | | The locators are moved above the step definitions for consistency with other context files; besides that I made some minor adjustments for consistency too in the locator descriptions and identation, and moved the locators for ".newCommentRow" descendants together. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #8095 from nextcloud/webapps-capabilitiesMorris Jobke2018-02-152-7/+136
|\ | | | | Expose navigation entries as API endpoint
| * Also rewrite icon urlJulius Härtl2018-02-121-4/+19
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Move to OCS endpointJulius Härtl2018-02-121-5/+5
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Allow requesting absolute URLsJulius Härtl2018-02-121-6/+43
| | | | | | | | | | | | They might be useful when requesting the navigation from the clients Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Add tests for NavigationControllerJulius Härtl2018-02-121-0/+77
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Make sure we test the proper order in the NavigationManagerTestJulius Härtl2018-02-121-7/+7
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #8259 from nextcloud/guzzle6Morris Jobke2018-02-144-48/+37
|\ \ | |/ |/| update guzzlehttp/guzzle to 6.3.0
| * adjust httpclient to guzzle6Robin Appelman2018-02-094-48/+37
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #8263 from nextcloud/fix_dev_man_linkMorris Jobke2018-02-081-3/+22
|\ \ | | | | | | Link to NC 14 dev manual
| * | Link to NC 14 dev manualRoeland Jago Douma2018-02-081-3/+22
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | sleep moreRobin Appelman2018-02-081-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | add ci for swift primary storageRobin Appelman2018-02-083-0/+29
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #8033 from nextcloud/s3-uploaderMorris Jobke2018-02-081-5/+12
|\ | | | | Use S3Client::upload instead of splitting single/multipart upload ourselves
| * Use S3Client::upload instead of splitting single/multipart upload ourselvesRobin Appelman2018-01-241-5/+12
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix testsRoeland Jago Douma2018-02-031-0/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Move depsCache clearing to SCSSCacher/JSCombinerJulius Härtl2018-02-033-16/+42
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add tests and class mappingJulius Härtl2018-02-031-0/+94
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add all parameters to returnValueMapJulius Härtl2018-01-311-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #8096 from ↵Roeland Jago Douma2018-01-312-240/+5
|\ \ | | | | | | | | | | | | nextcloud/feature/6382/do-not-cache-settings-in-db-anymore Do not cache the settings/sections in the database anymore
| * | Do not cache the settings/sections in the database anymoreJoas Schilling2018-01-292-240/+5
| | | | | | | | | | | | | | | | | | | | | This caused more troubles then it had benefits, especially when an app got disabled or was removed without being disabled. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #8078 from nextcloud/theming-validate-scssMorris Jobke2018-01-291-4/+14
|\ \ \ | |/ / |/| | SCSS hardening
| * | Add tests for URL rewritingJulius Härtl2018-01-261-4/+14
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Update testsRoeland Jago Douma2018-01-291-8/+20
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #7916 from nextcloud/2fa_logMorris Jobke2018-01-253-4/+13
|\ \ | | | | | | Add 2FA to logfile
| * | Add testsRoeland Jago Douma2018-01-252-0/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Fix testsRoeland Jago Douma2018-01-251-4/+11
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #8036 from nextcloud/phpunit6Roeland Jago Douma2018-01-2539-131/+115
|\ \ \ | |/ / |/| | Require PHPUnit 6.5 or higher
| * | Class "ProgressBar" is declared "final" and cannot be mocked.Joas Schilling2018-01-251-2/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Fix risky tests without assertionsJoas Schilling2018-01-2524-30/+59
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Fix "Undefined method setExpectedException()"Joas Schilling2018-01-2413-42/+37
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Require PHPUnit 6.5 or higherJoas Schilling2018-01-244-57/+14
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #8002 from nextcloud/dont_polutelog_dav_emailloginMorris Jobke2018-01-241-45/+50
|\ \ | | | | | | Dont polute the log on DAV emaillogin
| * | Fix testsRoeland Jago Douma2018-01-231-45/+50
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Properly catch InvalidTokenException for better error responseMorris Jobke2018-01-241-0/+40
| |/ |/| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7918 from nextcloud/properly-log-exceptionsRoeland Jago Douma2018-01-232-5/+3
|\ \ | |/ |/| Properly log the full exception instead of only the message
| * Properly log the full exception instead of only the messageMorris Jobke2018-01-232-5/+3
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove old repair steps that aren't executed anymoreMorris Jobke2018-01-224-701/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove not needed 3rdparty app disabling during upgrade for PHP 5.xMorris Jobke2018-01-192-8/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7911 from nextcloud/improve-oc_imageJulius Härtl2018-01-182-48/+91
|\ | | | | Improve OC_Image code to not guess the type of input
| * Improve OC_Image code to not guess the type of input, but actually request ↵Morris Jobke2018-01-182-48/+91
| | | | | | | | | | | | | | | | the specific methods to be called Followup to #7836 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove IAppConfig::setValueRoeland Jago Douma2018-01-171-2/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove IAppConfig::getValueRoeland Jago Douma2018-01-174-12/+13
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #7914 from nextcloud/fix-7254Roeland Jago Douma2018-01-172-2/+54
|\ \ | | | | | | format self-mentions, but don't offer them
| * | do not offer the handle of the current user for auto completionArthur Schiwon2018-01-171-0/+47
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | comments should compile mentions also if done by authorArthur Schiwon2018-01-171-2/+7
| |/ | | | | | | | | | | | | | | it is used by clients for formatting reasons, there is no reason not format the author if her handle is included in the comment body. It is unrelated to sending out notifications. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #7909 from nextcloud/fix-migration-type-hintsMorris Jobke2018-01-171-2/+0
|\ \ | | | | | | Fix the type hints of migrations and correctly inject the wrapped sch…
| * | Fix the type hints of migrations and correctly inject the wrapped schema ↵Joas Schilling2018-01-171-2/+0
| | | | | | | | | | | | | | | | | | into migrations Signed-off-by: Joas Schilling <coding@schilljs.com>