diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-02-19 14:24:01 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-03-09 12:26:58 +0100 |
commit | 7ebbd666a80e2054746b376fde9e662a9e405fac (patch) | |
tree | b2e6cc5ed2f88202ae4098b8e19438edf78b59c0 /tests/lib | |
parent | 0709f4fd67145f3ce638d3699c835bee6b2a8e32 (diff) | |
download | nextcloud-server-7ebbd666a80e2054746b376fde9e662a9e405fac.tar.gz nextcloud-server-7ebbd666a80e2054746b376fde9e662a9e405fac.zip |
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>
Diffstat (limited to 'tests/lib')
0 files changed, 0 insertions, 0 deletions