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:
Diffstat (limited to 'frontends/php/tests/selenium/testPageActions.php')
-rw-r--r--frontends/php/tests/selenium/testPageActions.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/frontends/php/tests/selenium/testPageActions.php b/frontends/php/tests/selenium/testPageActions.php
index 28247f7ad2c..d5689ef06a1 100644
--- a/frontends/php/tests/selenium/testPageActions.php
+++ b/frontends/php/tests/selenium/testPageActions.php
@@ -191,7 +191,7 @@ class testPageActions extends CWebTest {
$this->zbxTestTextPresent(array($dbRow['name'], $statusStr));
}
- $this->zbxTestDropdownHasOptions('go', array('Enable selected', 'Disable selected', 'Delete selected'));
+ $this->zbxTestDropdownHasOptions('action', array('Enable selected', 'Disable selected', 'Delete selected'));
$this->assertElementValue('goButton', 'Go (0)');
}
@@ -223,12 +223,12 @@ class testPageActions extends CWebTest {
switch ($action['status']) {
case ACTION_STATUS_ENABLED:
- $this->zbxTestHrefClickWait('actionconf.php?go=disable&g_actionid%5B%5D='.$action['actionid'].'&');
+ $this->zbxTestHrefClickWait('actionconf.php?action=action.massdisable&g_actionid%5B%5D='.$action['actionid'].'&');
$this->zbxTestTextPresent('Action disabled');
$newStatus = ACTION_STATUS_DISABLED;
break;
case ACTION_STATUS_DISABLED:
- $this->zbxTestHrefClickWait('actionconf.php?go=activate&g_actionid%5B%5D='.$action['actionid'].'&');
+ $this->zbxTestHrefClickWait('actionconf.php?action=action.massenable&g_actionid%5B%5D='.$action['actionid'].'&');
$this->zbxTestTextPresent('Action enabled');
$newStatus = ACTION_STATUS_ENABLED;
break;
@@ -261,7 +261,7 @@ class testPageActions extends CWebTest {
$this->zbxTestCheckTitle('Configuration of actions');
$this->zbxTestCheckboxSelect('g_actionid['.$action['actionid'].']');
- $this->zbxTestDropdownSelect('go', 'Disable selected');
+ $this->zbxTestDropdownSelect('action', 'Disable selected');
$this->zbxTestClickWait('goButton');
$this->getConfirmation();
@@ -293,7 +293,7 @@ class testPageActions extends CWebTest {
$this->zbxTestCheckTitle('Configuration of actions');
$this->zbxTestCheckboxSelect('g_actionid['.$action['actionid'].']');
- $this->zbxTestDropdownSelect('go', 'Enable selected');
+ $this->zbxTestDropdownSelect('action', 'Enable selected');
$this->zbxTestClickWait('goButton');
$this->getConfirmation();
@@ -329,7 +329,7 @@ class testPageActions extends CWebTest {
$this->zbxTestCheckTitle('Configuration of actions');
$this->zbxTestCheckboxSelect('g_actionid['.$action['actionid'].']');
- $this->zbxTestDropdownSelect('go', 'Delete selected');
+ $this->zbxTestDropdownSelect('action', 'Delete selected');
$this->zbxTestClickWait('goButton');
$this->getConfirmation();