summaryrefslogtreecommitdiffstats
path: root/tests/acceptance
Commit message (Collapse)AuthorAgeFilesLines
* fix(CI): Fix acceptance test password field selector after @nextcloud/vue ↵Joas Schilling2023-03-071-2/+2
| | | | | | lib update Signed-off-by: Joas Schilling <coding@schilljs.com>
* Port user menu to VueChristopher Ng2023-02-091-3/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* use php8.0 imagesMaxence Lange2023-01-311-1/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Port files sharing selectorChristopher Ng2023-01-241-4/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* composer run cs:fixCôme Chilliet2023-01-2031-163/+144
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Disable unreliable acceptance testsJoas Schilling2023-01-191-398/+398
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Focus trap contacts menu with NcHeaderMenu portChristopher Ng2023-01-131-3/+2
| | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com> Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(CI): Enforce colored output for acceptance tests on drone CIJoas Schilling2023-01-131-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update behat and friendsDaniel Kesselberg2022-12-212-160/+177
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Revert "Copy to clipboard with button instead of link"Christopher Ng2022-12-141-2/+2
| | | | | | This reverts commit 4ffc022c8b5d2a4df3b1b1452de769c4ad27fe4f. Signed-off-by: Christopher Ng <chrng8@gmail.com>
* More theming cypress tests and some fixesJohn Molakvoæ2022-11-291-34/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Copy to clipboard with button instead of linkChristopher Ng2022-11-241-2/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add label to sharing search fieldChristopher Ng2022-11-231-2/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Rewrite admin theming in VueChristopher Ng2022-10-282-19/+27
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add config and fix seleniumJohn Molakvoæ2022-10-191-0/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #34437 from nextcloud/feat/theming-default-system-valueSimon L2022-10-132-3/+3
|\ | | | | Use default system primary
| * Allow to pick custom colourJohn Molakvoæ (skjnldsv)2022-10-132-3/+3
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Make CI green againJoas Schilling2022-10-132-43/+46
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use brand color for background only and keep accessible color as color primaryChristopher Ng2022-10-052-2/+23
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix various theming bugsChristopher Ng2022-09-282-14/+14
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Increase timeout for apps managementVincent Petry2022-09-151-1/+1
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add accessibility entry in user menuVincent Petry2022-09-141-2/+4
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* More cleaning up of the login componentCarl Schwan2022-09-061-2/+2
| | | | | | | - Move css in scopped vue components - Port to NcNoteCard all the warning messages Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #33790 from nextcloud/Valdnet-patch-2Simon L2022-09-022-2/+2
|\ | | | | l10n: Spelling unification
| * fix testsszaimen2022-09-022-2/+2
| | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | Maximize browser window before running the testsDaniel Calviño Sánchez2022-09-012-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By the default the browser window is not maximized, but opened with a size of 1050x978px. In the Files app, when the navigation bar and the side bar are both open, with the previous design that width caused the file name to be very very narrow, but still clickable. However, with the updated design the file name is too narrow and no longer clickable, which breaks several acceptance tests that descend into subfolders. To solve that now the browser window is maximized before running the tests, which makes the window wide enough (1360px) to show the file name and make it clickable. This commit also removes a step to close the sidebar that was recently added to address the problem mentioned above in a previous pull request. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Wait for the new user form to be visibleDaniel Calviño Sánchez2022-09-011-2/+6
| | | | | | | | | | | | | | | | | | | | | | Before it was checked if the new user form was visible, but it was not waited for it. It seems that it can happen that the new user form is in the DOM, and therefore found, but not visible yet when the tests run, which caused them to (randomly) fail. Due to that now it is explicitly waited until it is visible, rather than assuming that it is visible as soon as it appears in the DOM. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Adjust theming acceptance testsJulius Härtl2022-09-012-10/+10
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #33756 from nextcloud/enh/noid/admin-settings-directlySimon L2022-08-317-16/+25
|\ | | | | add a way to open the admin settings overview directly
| * fix testsszaimen2022-08-317-16/+25
| | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Adjust acceptance tests to changes in app menuDaniel Calviño Sánchez2022-08-311-2/+2
|/ | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Adjust acceptance test selectorsVincent Petry2022-08-255-7/+8
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix integration testsCarl Schwan2022-08-011-2/+2
| | | | | | | The html tags changed in the notification apps, adapt selector to the new state Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Redesign guest pages for better accessibilityCarl Schwan2022-07-271-18/+6
| | | | | | | - Use white box and put content on it - Improve focus indicator Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Adjust acceptance tests to changes in sharing tabDaniel Calviño Sánchez2022-07-261-1/+1
| | | | | | | The name of the user shared with is now marked with a "span" rather than with "h5". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Replace files app ids to classesVincent Petry2022-07-261-3/+3
| | | | | | | | | | | Replaced ids to classes for the following: - #filestable -> .files-filestable - #fileList -> .files-fileList - #controls -> .files-controls - #emptycontent -> .emptyfilelist.emptycontent Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Update dependencies in acceptance tests composer.lockCôme Chilliet2022-06-131-327/+899
| | | | | | It should allow to run them on PHP>=8.0 with a recent phpunit. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* More meaningfull message when a public authenticated share's password is ↵Cyrille Bollu2022-05-311-1/+1
| | | | | | wrong or has expired Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
* Require a recent phpunit version in integration and acceptanceCôme Chilliet2022-05-243-260/+708
| | | | | | Otherwise build with PHP>8 will fail as PHPUnit 6 does not support it Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Adjust acceptance tests to changes in notifications markupDaniel Calviño Sánchez2022-05-031-1/+1
| | | | | | | Since nextcloud/notifications#1178 each notification in the list is a "<li>" rather than a "<div>". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix acceptanceJohn Molakvoæ2022-04-211-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Update images in scripts to run local tests in DockerDaniel Calviño Sánchez2022-03-031-1/+1
| | | | | | | | PHP 7.3 support was dropped for Nextcloud 24. The Docker images are updated to the same images used for integration and acceptance tests in CI. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Profile backendChristopher Ng2021-10-191-2/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Merge pull request #29064 from ↵Louis2021-10-061-1/+7
|\ | | | | | | | | nextcloud/feature/add_cache_to_local_integration_tests_container Add caching for local run of integration and acceptance tests
| * Add cache for local integration test containerLouis Chemineau2021-10-061-1/+7
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Fix app-files acceptance testsLouis Chemineau2021-10-061-2/+2
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Bump @nextcloud/vueJohn Molakvoæ2021-09-162-3/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Handle single action unshareJulius Härtl2021-06-091-4/+16
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Settings: new user row replaced by a modalSimounet2021-04-211-1/+1
| | | | Signed-off-by: Simounet <contact@simounet.net>
* Add automatic handling of "ElementNotInteractable" exceptionsDaniel Calviño Sánchez2021-04-191-1/+24
| | | | | | | | | | | | | | | | | | | | | | | In the WebDriver protocol, when a command fails because it can not interact with the target element, an "element not interactable" error is generated. It can be a transitive issue (for example, due to an animation), so when the error is received the command should be tried again, just like done, for example, with "ElementNotVisible" exceptions. However, the last version of the "instaclick/php-webdriver" library compatible with the Selenium Driver of Mink did not support yet that WebDriver error. And even if Chrome is run using the old protocol an unknown "element not interactable" error can be received anyway in some cases. When an unknown error is received by the "instaclick/php-webdriver" library it is thrown as a generic Exception so, until the library can be updated, the message of generic exceptions is checked and the command is retried if it matched. For the time being "element not interactable" errors are handled like "ElementNotVisible" exceptions; this may need to change once the error is better understood. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>