summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* Add acceptance tests for moving and copying files to another folderDaniel Calviño Sánchez2019-01-222-0/+153
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add acceptance tests for opening search results for commentsDaniel Calviño Sánchez2018-12-212-0/+35
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add acceptance tests for searching commentsDaniel Calviño Sánchez2018-12-211-0/+99
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add acceptance tests for comments on shared files and foldersDaniel Calviño Sánchez2018-12-061-0/+23
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #12649 from ↵Morris Jobke2018-11-261-2/+6
|\ | | | | | | | | nextcloud/make-acceptance-tests-for-comments-more-robust Make acceptance tests for comments more robust
| * 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-231-1/+1
| | | | | | | | | | | | | | | | 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-232-489/+517
| | | | | | | | 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-231-0/+93
| | | | | | | | 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-231-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 file with another userDaniel Calviño Sánchez2018-11-231-0/+87
|/ | | | 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-221-0/+61
| | | | 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-221-0/+28
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.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>
* 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 #12215 from ↵Roeland Jago Douma2018-11-021-0/+8
|\ | | | | | | | | nextcloud/wait-for-the-link-share-menu-to-open-in-acceptance-tests Wait for the link share menu to open in acceptance tests
| * Wait for the link share menu to open in acceptance testsDaniel Calviño Sánchez2018-11-021-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the acceptance tests the link share menu is automatically opened if needed before interacting with an item in the menu; if the menu is not open it is opened by clicking on its toggle. However, since a recent change the link share menu is automatically opened by the regular UI after the link share is created. This causes that, sometimes, after the creation of a link share the acceptance tests check whether the menu is shown or not before the menu was automatically opened; as the menu is not open then the acceptance tests proceed to click on the toggle, but in the meantime the link share was created and the menu opened, so clicking on the toggle now closes it. As the menu is closed it is not possible to interact with its items and the test fails. To prevent that now the acceptance tests wait for the link share menu to open after a link share is created before continuing with the other steps. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance test steps to be used from Talk acceptance testsDaniel Calviño Sánchez2018-11-021-0/+49
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Test that "Password protect by Talk" is not shown if Talk is not enabledDaniel Calviño Sánchez2018-11-021-0/+44
|/ | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Adjust acceptance tests to changes in link sharesDaniel Calviño Sánchez2018-11-011-21/+18
| | | | | | | | | | | | Although now it is possible to create several link shares the acceptance tests currently handles only the first link share; this first link share is now created by clicking an "Add new share" button instead of a checkbox. Besides that, the "Copy link" button has been moved from the menu to the row, next to the menu trigger. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add acceptance tests for hiding download in link sharesDaniel Calviño Sánchez2018-10-302-0/+101
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Move the browser window of an actor to the foreground when acting as himDaniel Calviño Sánchez2018-10-261-0/+9
| | | | | | | | | | | | | | | | | Each time a new actor appears in a scenario the browser window of the new actor is put in front of the browser windows of the previous actors. Before, when acting again as a previous actor his browser window stayed in the background; in most cases everything worked fine even if the window was in the background, but due to a bug in the Firefox driver of Selenium and/or maybe in Firefox itself when the window was in the background it was not possible to set the value of an input field that had a range selected. Now, when acting again as a previous actor his browser window is brought to the foreground. This prevents the bug from manifesting, but also reflects better how a user would interact with the browser in real life. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add acceptance tests for opening a section in the Files appDaniel Calviño Sánchez2018-10-211-0/+16
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Change wording of 'Copy URL' to more understandable 'Copy link'Jan-Christoph Borchardt2018-10-011-2/+2
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Fix class selector for acceptance testsJohn Molakvoæ (skjnldsv)2018-09-281-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add acceptance test for creating a user with a custom display nameDaniel Calviño Sánchez2018-07-311-0/+50
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #10322 from ↵Roeland Jago Douma2018-07-241-0/+16
|\ | | | | | | | | weeman1337/feature-9978-improve-disabled-user-login-message Login: Implements the "user disabled" message like the "wrong password" message
| * Adds disabled user acceptance testsMichael Weimann2018-07-241-0/+16
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | Acceptance and mobile navigation fixesJohn Molakvoæ (skjnldsv)2018-07-241-2/+12
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Adjust acceptance tests to the new share link UIDaniel Calviño Sánchez2018-07-211-24/+66
|/ | | | | | | | | | | | | | | The share link UI no longer uses its own layout below the other shares; now it is shown as a share row with a menu for the actions (except enabling it, which is shown in the row itself), just like the other shares. The share link is no longer shown, either; now the link is got by clicking on a "Copy URL" menu item, which copies the link to the clipboard. As the clipboard is not accessible from the acceptance tests the URL is now extracted from the attributes of that menu item (although the menu item is clicked anyway to mimic the user behaviour). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Adjust acceptance tests to sidebar changes in Files appJohn Molakvoæ (skjnldsv)2018-07-202-84/+68
| | | | | | | | Before, each section of the Files app ("All files", "Favorites"...) had its own sidebar element. Now there is a single sidebar element for all the sections in the Files app. Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Adds tests for testing removing an empty groupMichael Weimann2018-07-202-1/+16
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Merge pull request #9518 from ↵Roeland Jago Douma2018-06-211-2/+2
|\ | | | | | | | | nextcloud/feature/5986/public_share_controller_middleware Public share middleware & controller
| * Fix acceptance testRoeland Jago Douma2018-06-201-2/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Adjust theming acceptance tests to new header colour transitionDaniel Calviño Sánchez2018-06-201-6/+13
| | | | | | | | | | | | | | | | | | | | | | Before, the acceptance tests checked the header colour just once, as the header colour was immediately changed once the new theming colour was saved. This is no longer the case, as currently a transition is used to change between the original colour and the new one, so now the acceptance tests check repeteadly for the expected header colour until it matches or the timeout expires. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Fixed tests and improved app-navigation-captionJohn Molakvoæ (skjnldsv)2018-06-201-1/+1
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Properly check for the sidebarJulius Härtl2018-06-091-0/+23
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add basic acceptance tests for apps managementJulius Härtl2018-06-092-0/+225
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fixed root url detection, new tests, default new user group to currentJohn Molakvoæ (skjnldsv)2018-05-161-33/+65
| | | | | | opened group and user removal update fix Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump script and fixed copyright templateJohn Molakvoæ (skjnldsv)2018-05-164-118/+122
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Tabs fixJohn Molakvoæ (skjnldsv)2018-05-161-63/+63
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Users list acceptance testsJohn Molakvoæ (skjnldsv)2018-05-164-43/+305
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* newt acceptance testsJohn Molakvoæ (skjnldsv)2018-05-161-0/+46
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed new user form detection in acceptanceJohn Molakvoæ (skjnldsv)2018-05-161-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix row detection acceptance testJohn Molakvoæ (skjnldsv)2018-05-161-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix files acceptance testJulius Härtl2018-04-051-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move styling and menu handling to publicpage.jsJulius Härtl2018-04-051-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Header acceptance featuresJohn Molakvoæ (skjnldsv)2018-03-092-0/+163
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add acceptance tests for creation of subfolders in public shared foldersDaniel Calviño Sánchez2018-03-092-0/+56
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Extract common "wait for" functions to a helper classDaniel Calviño Sánchez2018-03-093-46/+86
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>