From: John Molakvoæ (skjnldsv) Date: Fri, 10 Apr 2020 15:07:14 +0000 (+0200) Subject: Bump acceptance tests X-Git-Tag: v19.0.0beta3~38^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F20419%2Fhead;p=nextcloud-server.git Bump acceptance tests Signed-off-by: John Molakvoæ (skjnldsv) --- diff --git a/tests/acceptance/features/bootstrap/AppsManagementContext.php b/tests/acceptance/features/bootstrap/AppsManagementContext.php index b9896305182..2fa089e3cba 100644 --- a/tests/acceptance/features/bootstrap/AppsManagementContext.php +++ b/tests/acceptance/features/bootstrap/AppsManagementContext.php @@ -60,7 +60,7 @@ class AppsManagementContext implements Context, ActorAwareInterface { * @return Locator */ public static function bundleButton($bundle) { - return Locator::forThe()->xpath("//div[@id='app-content']//div[@class='apps-header']/h2[normalize-space() = '$bundle']/input")-> + return Locator::forThe()->xpath("//main[@id='app-content']//div[@class='apps-header']/h2[normalize-space() = '$bundle']/input")-> describedAs("Button to enable / disable bundles"); } @@ -68,7 +68,7 @@ class AppsManagementContext implements Context, ActorAwareInterface { * @return Locator */ public static function rowForApp($app) { - return Locator::forThe()->xpath("//div[@id='app-content']//div[@class='app-name'][normalize-space() = '$app']/..")-> + return Locator::forThe()->xpath("//main[@id='app-content']//div[@class='app-name'][normalize-space() = '$app']/..")-> describedAs("Row for app $app in Apps Management"); } @@ -76,7 +76,7 @@ class AppsManagementContext implements Context, ActorAwareInterface { * @return Locator */ public static function emptyAppList() { - return Locator::forThe()->xpath("//div[@id='app-content']//div[@id='apps-list-empty']")-> + return Locator::forThe()->xpath("//main[@id='app-content']//div[@id='apps-list-empty']")-> describedAs("Empty apps list view"); } @@ -84,7 +84,7 @@ class AppsManagementContext implements Context, ActorAwareInterface { * @return Locator */ public static function appEntries() { - return Locator::forThe()->xpath("//div[@id='app-content']//div[@class='section']")-> + return Locator::forThe()->xpath("//main[@id='app-content']//div[@class='section']")-> describedAs("Entries in apps list"); }