diff options
Diffstat (limited to 'frontends/php/tests/selenium/templates/testPageSample.php')
-rw-r--r-- | frontends/php/tests/selenium/templates/testPageSample.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/frontends/php/tests/selenium/templates/testPageSample.php b/frontends/php/tests/selenium/templates/testPageSample.php index f53eacdfb35..0c9ff3d5999 100644 --- a/frontends/php/tests/selenium/templates/testPageSample.php +++ b/frontends/php/tests/selenium/templates/testPageSample.php @@ -42,7 +42,7 @@ class testPageHosts extends CWebTest { // data $this->zbxTestTextPresent(array($host['name'])); - $this->zbxTestDropdownHasOptions('go', + $this->zbxTestDropdownHasOptions('action', array('Export selected', 'Mass update', 'Activate selected', 'Disable selected', 'Delete selected')); } @@ -209,7 +209,7 @@ class testPageHosts extends CWebTest { $this->zbxTestDropdownSelectWait('groupid', 'all'); $this->zbxTestCheckboxSelect('all_hosts'); - $this->zbxTestDropdownSelect('go', 'Activate selected'); + $this->zbxTestDropdownSelect('action', 'Activate selected'); $this->zbxTestClickWait('goButton'); $this->getConfirmation(); @@ -235,7 +235,7 @@ class testPageHosts extends CWebTest { $this->zbxTestDropdownSelectWait('groupid', 'all'); $this->zbxTestCheckboxSelect('hosts_'.$hostid); - $this->zbxTestDropdownSelect('go', 'Activate selected'); + $this->zbxTestDropdownSelect('action', 'Activate selected'); $this->zbxTestClickWait('goButton'); $this->getConfirmation(); @@ -256,7 +256,7 @@ class testPageHosts extends CWebTest { $this->zbxTestDropdownSelectWait('groupid', 'all'); $this->zbxTestCheckboxSelect('all_hosts'); - $this->zbxTestDropdownSelect('go', 'Disable selected'); + $this->zbxTestDropdownSelect('action', 'Disable selected'); $this->zbxTestClickWait('goButton'); $this->getConfirmation(); @@ -282,7 +282,7 @@ class testPageHosts extends CWebTest { $this->zbxTestDropdownSelectWait('groupid', 'all'); $this->zbxTestCheckboxSelect('hosts_'.$hostid); - $this->zbxTestDropdownSelect('go', 'Disable selected'); + $this->zbxTestDropdownSelect('action', 'Disable selected'); $this->zbxTestClickWait('goButton'); $this->getConfirmation(); |