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
path: root/ui
diff options
context:
space:
mode:
authorSergejs Maklakovs <sergejs.maklakovs@zabbix.com>2022-11-07 11:35:12 +0300
committerSergejs Maklakovs <sergejs.maklakovs@zabbix.com>2022-11-07 11:35:12 +0300
commit82fb62cbd3533896ab51e892f088617829ef56f0 (patch)
treeca523b35bdb9349dc1e2f193497af1b24639c00e /ui
parentf36b0798c311f51a1febe5d93114d641ff7d55cd (diff)
.......... [ZBXNEXT-686] fixed item, itemprototype and module autotests
Diffstat (limited to 'ui')
-rw-r--r--ui/tests/selenium/items/testFormItemPrototype.php2
-rw-r--r--ui/tests/selenium/testPageAdministrationGeneralModules.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/tests/selenium/items/testFormItemPrototype.php b/ui/tests/selenium/items/testFormItemPrototype.php
index 48ee510589b..03b97358ce6 100644
--- a/ui/tests/selenium/items/testFormItemPrototype.php
+++ b/ui/tests/selenium/items/testFormItemPrototype.php
@@ -1104,7 +1104,7 @@ class testFormItemPrototype extends CLegacyWebTest {
'key' => 'vfs.file.cksum[/sbin/shutdown,{#KEY}]',
'error_msg' => 'Cannot add item prototype',
'errors' => [
- 'An item prototype with key "vfs.file.cksum[/sbin/shutdown,{#KEY}]" already exists on host'
+ 'An item prototype with key "vfs.file.cksum[/sbin/shutdown,{#KEY}]" already exists on the host'
]
]
],
diff --git a/ui/tests/selenium/testPageAdministrationGeneralModules.php b/ui/tests/selenium/testPageAdministrationGeneralModules.php
index 4ea9799f49e..1ecc06732f0 100644
--- a/ui/tests/selenium/testPageAdministrationGeneralModules.php
+++ b/ui/tests/selenium/testPageAdministrationGeneralModules.php
@@ -611,7 +611,7 @@ class testPageAdministrationGeneralModules extends CWebTest {
if (CTestArrayHelper::get($entry, 'check_disabled', true)) {
$this->page->open('zabbix.php?action='.$entry['action'])->waitUntilReady();
$message = CMessageElement::find()->one();
- $this->assertStringContainsString('Class not found', $message->getText());
+ $this->assertStringContainsString('Page not found', $message->getText());
$this->page->open('zabbix.php?action=module.list');
}
}