diff options
author | Sergejs Maklakovs <sergejs.maklakovs@zabbix.com> | 2022-03-07 11:02:57 +0300 |
---|---|---|
committer | Sergejs Maklakovs <sergejs.maklakovs@zabbix.com> | 2022-03-07 11:02:57 +0300 |
commit | ddaafab68dfaffb4bdbd8e271aa452ded85c03b0 (patch) | |
tree | c08067dbed9c7e9fdadc38dcd4c9a296ae9e77d7 | |
parent | 8c477f83b7bc59b8c9aca0140b285ce0c0c95096 (diff) |
.......... [ZBXNEXT-686] fixed xpath for hint in geomapwidget test
-rw-r--r-- | ui/tests/selenium/dashboard/testDashboardGeomapWidget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/tests/selenium/dashboard/testDashboardGeomapWidget.php b/ui/tests/selenium/dashboard/testDashboardGeomapWidget.php index 196827ea31c..59a46d74ca7 100644 --- a/ui/tests/selenium/dashboard/testDashboardGeomapWidget.php +++ b/ui/tests/selenium/dashboard/testDashboardGeomapWidget.php @@ -177,7 +177,7 @@ class testDashboardGeomapWidget extends CWebTest { "\nThe maximum zoom level is \"0\".". "\nInitial view is ignored if the default view is set."; - $form->query('xpath:.//label[text()="Initial view"]//span')->one()->click(); + $form->query('xpath:.//label[text()="Initial view"]//a')->one()->click(); $hint = $this->query('xpath://div[@data-hintboxid]')->waitUntilPresent(); $this->assertEquals($hint_text, $hint->one()->getText()); $hint->one()->query('xpath:.//button[@class="overlay-close-btn"]')->one()->click(); |