summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5498 from nextcloud/allow-to-force-a-languageMorris Jobke2017-06-221-122/+0
|\ | | | | Allow to force a language and set it via the ocs api
| * Allow to force a language and set it via the ocs apiJoas Schilling2017-06-211-122/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Improve wording of various error messagesJan-Christoph Borchardt2017-06-211-22/+22
|/ | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Fix testsJulius Härtl2017-06-161-20/+31
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add tests and inject IRequestJulius Härtl2017-06-161-27/+50
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix unknown share tokenJoas Schilling2017-06-131-0/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #5027 from nextcloud/require-nextcloud-version-as-per-docsMorris Jobke2017-06-129-23/+15
|\ | | | | Version and dependency are now required
| * Version and dependency are now requiredJoas Schilling2017-05-229-23/+15
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #5271 from nextcloud/use-mailer-to-create-email-templateMorris Jobke2017-06-121-0/+8
|\ \ | | | | | | Also use IMailer interface to generate the email template
| * | Fix testsLukas Reschke2017-06-121-1/+1
| | | | | | | | | | | | | | | | | | return is not defined Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | Also use IMailer interface to generate the email templateMorris Jobke2017-06-061-0/+8
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Extract toggle visibility of a SystemTagsInfoView to its own viewDaniel Calviño Sánchez2017-06-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SystemTagsInfoViewToggleView is a basic view that renders a label that, when clicked, toggles the visibility of an associated SystemTagsInfoView. In order to keep the view parent agnostic its attachment and detachment to/from the MainfFileInfoView is done in the FilesPlugin. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Extract duplicated code to a methodDaniel Calviño Sánchez2017-06-091-28/+15
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Add acceptance tests for showing the input field for tagsDaniel Calviño Sánchez2017-06-092-0/+123
|/ / | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #5223 from nextcloud/do-not-allow-to-set-invisible-fieldsMorris Jobke2017-06-061-0/+46
|\ \ | | | | | | Don't allow the user to set fields they can't see
| * | adjust the testJoas Schilling2017-06-061-0/+46
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #5213 from nextcloud/fix-change-hookblizzz2017-06-021-1/+95
|\ \ | | | | | | Trigger changeUser hook only on real changes
| * | emit changeUser only if there really was a change (quota, displayname)Arthur Schiwon2017-06-011-1/+95
| |/ | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* / add new config switched for the global scale architectureBjoern Schiessle2017-05-291-0/+95
|/ | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #5009 from nextcloud/update-acceptance-tests-for-issue-4921Roeland Jago Douma2017-05-221-1/+10
|\ | | | | Update acceptance tests for issue #4921
| * Update acceptance tests for issue #4921Daniel Calviño Sánchez2017-05-211-1/+10
| | | | | | | | | | | | | | | | | | Acceptance tests opened the details view by clicking on the middle of the file row, but due to the changes made in issue #4921 that now opens the file instead; this commit updates the acceptance tests to open the details view through the "Details" item in the file actions menu. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Fix testsLukas Reschke2017-05-202-6/+15
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #4894 from nextcloud/generic-security-activitiesLukas Reschke2017-05-194-4/+292
|\ | | | | Change 2FA activities to more generic security activities
| * Fix testsRoeland Jago Douma2017-05-181-4/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Move activities test codeChristoph Wurst2017-05-183-0/+288
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #4792 from nextcloud/fix-storage-wrappers-on-scannerLukas Reschke2017-05-191-0/+47
|\ \ | | | | | | Make sure we use the passed-in storage when there is one
| * | use unmasked permissions during scanningRobin Appelman2017-05-181-0/+47
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Adjust token nameLukas Reschke2017-05-181-1/+1
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Add tests for OAuth2 appLukas Reschke2017-05-181-0/+1
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Add test for DefaultTokenMapperLukas Reschke2017-05-181-0/+11
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Rename table back to lowercaseLukas Reschke2017-05-181-6/+10
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Add tests for ClientFlowLoginControllerLukas Reschke2017-05-181-19/+181
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | delete auth token when client gets deletedBjoern Schiessle2017-05-181-6/+6
| |/ |/| | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #4666 from nextcloud/enable-redis-clusterMorris Jobke2017-05-161-0/+20
|\ \ | | | | | | Add redis cluster tests to our CI jobs
| * | Add redis cluster tests to our CI jobsMorris Jobke2017-05-111-0/+20
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #4816 from nextcloud/Ardinis-quota-files_externalMorris Jobke2017-05-121-3/+3
|\ \ \ | | | | | | | | Correctly calculate used space for quota with external storage
| * | | fix quota tests for external storageMorris Jobke2017-05-121-3/+3
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #4809 from nextcloud/downstream-27676Lukas Reschke2017-05-121-15/+7
|\ \ \ | | | | | | | | Disable reset password link
| * | | Disable the API endpoints as wellJoas Schilling2017-05-111-15/+7
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #4825 from nextcloud/add-timeout-appstoreLukas Reschke2017-05-121-1/+5
|\ \ \ | | | | | | | | Add timeout for requests to appstore
| * | | Fix failed assertionsJoas Schilling2017-05-121-1/+5
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / / Fix unit testsJoas Schilling2017-05-123-2/+12
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Automatic injection into the FetchersJoas Schilling2017-05-103-3/+18
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Automatic creation of Identity managerJoas Schilling2017-05-101-3/+14
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Automatic injection for CssControllerJoas Schilling2017-05-101-3/+10
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Automatic injection for JsControllerJoas Schilling2017-05-101-1/+9
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #4718 from ↵Morris Jobke2017-05-083-78/+493
|\ | | | | | | | | nextcloud/handle-stalled-or-invisible-elements-automatically-in-acceptance-tests Handle stale or invisible elements automatically in acceptance tests
| * Add automatic handling of common command failures of Mink elementsDaniel Calviño Sánchez2017-05-063-2/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commands executed on Mink elements may fail for several reasons. ElementWrapper is introduced to automatically handle some of those situations, like StaleElementReference exceptions and ElementNotVisible exceptions. StaleElementReference exceptions are thrown when the command is executed on an element that is no longer attached to the DOM. When that happens the ElementWrapper finds again the element and executes the command again on the new element. ElementNotVisible exceptions are thrown when the command requires the element to be visible but the element is not. When that happens the ElementWrapper waits for the element to be visible before executing the command again. These changes are totally compatible with the current acceptance tests. They just make the tests more robust, but they do not change their behaviour. In fact, this should minimize some of the sporadic failures in the acceptance tests caused by their concurrent nature with respect to the web browser executing the commands. However, the ElementWrapper is not a silver bullet; it handles the most common situations, but it does not handle every possible scenario. For example, the acceptance tests would still fail sporadically if an element can become staled several times in a row (uncommon) or if it does not become visible before the timeout expires (which could still happen in a loaded system even if the components under test work right, but obviously it is not possible to wait indefinitely for them). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Extract element finding to a command objectDaniel Calviño Sánchez2017-05-062-78/+178
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Make internal find methods staticDaniel Calviño Sánchez2017-05-061-8/+10
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>