From 0f135c7bd6096eb2895b335d54d3a13a272f782b Mon Sep 17 00:00:00 2001 From: =?utf8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Fri, 10 Apr 2020 17:07:14 +0200 Subject: [PATCH] Bump acceptance tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- .../features/bootstrap/AppsManagementContext.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"); } -- 2.39.5