mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Adjust acceptance tests to changes in app menu
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
bff4c86154
commit
ac2d885899
1 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
|
|||
* @return Locator
|
||||
*/
|
||||
private static function appMenu() {
|
||||
return Locator::forThe()->id("appmenu")->
|
||||
return Locator::forThe()->css("header nav.app-menu")->
|
||||
describedAs("App menu in header");
|
||||
}
|
||||
|
||||
|
|
@ -54,7 +54,7 @@ class FilesAppContext implements Context, ActorAwareInterface {
|
|||
* @return Locator
|
||||
*/
|
||||
public static function filesItemInAppMenu() {
|
||||
return Locator::forThe()->xpath("/li[@data-id = 'files']")->
|
||||
return Locator::forThe()->xpath("//li[@data-app-id = 'files']")->
|
||||
descendantOf(self::appMenu())->
|
||||
describedAs("Files item in app menu in header");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue