Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergejs Maklakovs <sergejs.maklakovs@zabbix.com>2022-03-07 11:02:57 +0300
committerSergejs Maklakovs <sergejs.maklakovs@zabbix.com>2022-03-07 11:02:57 +0300
commitddaafab68dfaffb4bdbd8e271aa452ded85c03b0 (patch)
treec08067dbed9c7e9fdadc38dcd4c9a296ae9e77d7
parent8c477f83b7bc59b8c9aca0140b285ce0c0c95096 (diff)
.......... [ZBXNEXT-686] fixed xpath for hint in geomapwidget test
-rw-r--r--ui/tests/selenium/dashboard/testDashboardGeomapWidget.php2
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();