nextcloud/tests/acceptance
Daniel Calviño Sánchez 766135cb64 Generalize file list locators so a specific ancestor can be used
The file list is used in other places besides the Files app (for
example, the File sharing app); in those cases the locators for the file
list elements are the same, but not for the ancestor of the file list.
To make possible to reuse the file list locators in those cases too now
they receive the ancestor to use.

Note that the locators for the file actions menu were not using an
ancestor locator because it is expected that there is only one file
actions menu at a time in the whole page; that may change in the future,
but for the time being it is a valid assumption and thus the ancestor
was not added to those locators in this commit.

Although the locators were generalized the steps themselves still use
the "FilesAppContext::currentSectionMainView" locator as ancestor; the
steps will be generalized in a following commit.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-09 03:37:08 +01:00
..
config Extract file list locators and steps to its own class 2018-03-09 03:37:08 +01:00
features Generalize file list locators so a specific ancestor can be used 2018-03-09 03:37:08 +01:00
composer.json Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
installAndConfigureServer.sh Add option to acceptance test runner to set the Nextcloud server domain 2017-07-20 07:54:39 +02:00
run-local.sh Add option to acceptance test runner to set the Selenium server 2017-07-20 07:56:51 +02:00
run.sh bump acceptance test suite to use php 7.1 image 2017-10-31 10:38:54 +01:00