summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12691 from nextcloud/storage-no-encryption-interfaceMorris Jobke2018-11-291-7/+1
|\ | | | | Add interface to allow storages from opting out of encryption
| * update encryption wrapper testsRobin Appelman2018-11-291-7/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #12424 from nextcloud/feature/add-pipe-mode-for-sendmailMorris Jobke2018-11-293-14/+50
|\ \ | |/ |/| Add pipe mode for sendmail
| * Add testcases for pipe modeDaniel Kesselberg2018-11-293-14/+50
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #12710 from nextcloud/remove-old-submit-buttonJohn Molakvoæ2018-11-291-64/+0
|\ \ | |/ |/| Remove old button to submit the apppassword login
| * Fix testsJohn Molakvoæ (skjnldsv)2018-11-291-64/+0
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Fix folder path containing leading slash when getting mount root by idRobin Appelman2018-11-281-0/+48
|/ | | | | | | | This fixes collabora on public link shared groupfolders Fixes https://github.com/nextcloud/groupfolders/issues/225 Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #12649 from ↵Morris Jobke2018-11-262-2/+7
|\ | | | | | | | | nextcloud/make-acceptance-tests-for-comments-more-robust Make acceptance tests for comments more robust
| * Wait for the comment to be added before changing to another fileDaniel Calviño Sánchez2018-11-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Wait for the empty content element to be shownDaniel Calviño Sánchez2018-11-241-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Rename "FilesSharingAppContext" to "PublicShareContext"Daniel Calviño Sánchez2018-11-232-3/+3
| | | | | | | | | | | | | | | | 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>
* | Extract locators and steps for sharing in Files app to their own contextDaniel Calviño Sánchez2018-11-233-489/+519
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Extract sharing related acceptance tests to their own feature filesDaniel Calviño Sánchez2018-11-233-416/+418
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for folders that can not be resharedDaniel Calviño Sánchez2018-11-232-0/+142
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for resharing a folder with another userDaniel Calviño Sánchez2018-11-231-0/+52
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance test for checking that the owner can see resharesDaniel Calviño Sánchez2018-11-231-0/+25
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance test for resharing a file with another userDaniel Calviño Sánchez2018-11-234-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To reshare a file there must be at least three enabled users in the system; although it would be possible to run the steps to create a third user in the scenarios that need it for convenience a third enabled user besides "admin" and "user0" was added to the default setup. In a similar way, a new step was added too to login as a given user name, similar to the steps to log in as "user0" and as "admin". Finally, another actor, "Jim", was introduced for those scenarios which should be played by three standard actors (that is, without a special configuration like "Rubeus"). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for sharing a folder with another userDaniel Calviño Sánchez2018-11-231-0/+59
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for sharing a file with another userDaniel Calviño Sánchez2018-11-232-0/+143
|/ | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #12571 from ↵Morris Jobke2018-11-221-6/+20
|\ | | | | | | | | TheLastProject/feature/make_connectivity_check_domains_changeable Make connectivity check domains configurable
| * Make connectivity check domains configurableSylvia van Os2018-11-221-6/+20
| | | | | | | | Signed-off-by: Sylvia van Os <sylvia@hackerchick.me>
* | Merge pull request #12553 from ↵Morris Jobke2018-11-221-32/+32
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/allow-empty-string-in-getAbsoluteURL Allow empty string in get absolute url
| * | Allow empty strings in getAbsoluteURLJoas Schilling2018-11-201-0/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Update the URLGenerator test to current state of artJoas Schilling2018-11-201-32/+30
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add acceptance tests for showing again the input field for tagsDaniel Calviño Sánchez2018-11-221-0/+11
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for opening and closing again the details viewDaniel Calviño Sánchez2018-11-221-0/+37
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for marking a file as favorite in the details viewDaniel Calviño Sánchez2018-11-222-0/+80
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for switching to the comments of another fileDaniel Calviño Sánchez2018-11-222-0/+51
|/ | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #12494 from nextcloud/cache-notfound-idMorris Jobke2018-11-201-0/+1
|\ | | | | return the correct value when trying to get a non existing item from cache by id
| * add test for non existing file by idRobin Appelman2018-11-191-0/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #12401 from pachulo/fix/11107/fix-php-mail-warningMorris Jobke2018-11-191-0/+34
|\ \ | |/ |/| Fix the warning appearing in the admin section when mail_smtpmode is not configured
| * Use the proper default valuesMorris Jobke2018-11-191-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Verify that isPhpMailerUsed uses config as expectedKyle Fazzari2018-11-141-0/+34
| | | | | | | | Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
* | Fix breakpoint and shrinking of the content + listJohn Molakvoæ (skjnldsv)2018-11-141-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #11942 from nextcloud/techdebt/noid/use-count-functionMorris Jobke2018-11-125-5/+5
|\ \ | | | | | | Use the defined func()->count() instead of manual counting
| * | Use the defined func()->count() instead of manual countingJoas Schilling2018-11-085-5/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #12371 from ↵Morris Jobke2018-11-121-2/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/12369/catch-unique-constraint-violation-exception-in-insertIfNotExist Catch UniqueConstraintViolationException inside insertIfNotExist
| * | | Exception is not thrown anymoreMorris Jobke2018-11-121-2/+1
| | |/ | |/| | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / | Make sure to always load the latest icons-vars.css fileJulius Härtl2018-11-121-1/+6
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / Adjust acceptance tests to changes in public share page menuDaniel Calviño Sánchez2018-11-081-1/+4
|/ | | | | | | | The "Download" item in the menu of public share pages is no longer shown in wide (>768px) windows (although the element is in the DOM and shown if resized to a narrow window). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #12313 from nextcloud/generated-avatar-major-cleanupRoeland Jago Douma2018-11-081-0/+82
|\ | | | | Clear avatar cache with frontend repair
| * Clear avatar cache with frontend repairJohn Molakvoæ (skjnldsv)2018-11-081-0/+82
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #11836 from ↵Morris Jobke2018-11-071-2/+5
|\ \ | | | | | | | | | | | | nextcloud/bugfix/2443/comment-mentions-with-spaces Comment mentions with spaces
| * | Match mentions when the username is wrapped in quotesJoas Schilling2018-11-071-2/+5
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / Add test that unique constraint is workingDaniel Kesselberg2018-11-061-0/+13
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #12185 from nextcloud/cleanup/dicontainerMorris Jobke2018-11-052-17/+7
|\ | | | | Cleanup the DIContainer
| * Fix testsRoeland Jago Douma2018-11-022-17/+7
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #12071 from nextcloud/addressbook-uid-check-migrationRoeland Jago Douma2018-11-021-0/+121
|\ \ | | | | | | Addressbook uid check migration
| * \ Merge branch 'addressbook-uid-check-migration' of ↵John Molakvoæ (skjnldsv)2018-11-0112-41/+369
| |\ \ | | | | | | | | | | | | | | | | | | | | https://github.com/nextcloud/server into addressbook-uid-check-migration Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| | * | TestsJohn Molakvoæ (skjnldsv)2018-11-011-0/+121
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>