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:
authorTomass Olups <tomass.olups@zabbix.com>2022-11-04 15:02:41 +0300
committerTomass Olups <tomass.olups@zabbix.com>2022-11-04 15:02:41 +0300
commit8a539346d98c252b61cae2089fcc4cab1bb47033 (patch)
treed49eb451b3ced22432b37cd02e4f3b899329f3d5
parent0d854fe5b30daa6a70f6b5373544826e0a602726 (diff)
.......... [ZBX-21785] updated testPageReportsAudit and testFormFilterProblems autotest
-rw-r--r--ui/tests/selenium/filterTabs/testFormFilterProblems.php4
-rwxr-xr-xui/tests/selenium/reports/testPageReportsAudit.php3
2 files changed, 4 insertions, 3 deletions
diff --git a/ui/tests/selenium/filterTabs/testFormFilterProblems.php b/ui/tests/selenium/filterTabs/testFormFilterProblems.php
index 163d1d59de5..f8dfad32f0a 100644
--- a/ui/tests/selenium/filterTabs/testFormFilterProblems.php
+++ b/ui/tests/selenium/filterTabs/testFormFilterProblems.php
@@ -241,7 +241,7 @@ class testFormFilterProblems extends testFormFilter {
// Enable Set custom time period option.
$filter_container->editProperties();
$dialog = COverlayDialogElement::find()->asForm()->all()->last()->waitUntilReady();
- $dialog->fill(['Set custom time period' => true, 'From' => '2020-10-23 18:00']);
+ $dialog->fill(['Set custom time period' => true, 'From' => '2020-11-23 18:00']);
$dialog->submit();
COverlayDialogElement::ensureNotPresent();
$this->page->waitUntilReady();
@@ -251,7 +251,7 @@ class testFormFilterProblems extends testFormFilter {
// Changing time period from timeselector tab.
$form->fill(['Show' => 'History']);
$this->query('xpath://a[@class="tabfilter-item-link btn-time"]')->one()->click();
- $this->query('xpath://input[@id="from"]')->one()->fill('2020-10-23 18:00');
+ $this->query('xpath://input[@id="from"]')->one()->fill('2020-11-23 18:00');
$this->query('id:apply')->one()->click();
$filter_container->selectTab($data['filter']['Name']);
$this->query('button:Update')->one()->click();
diff --git a/ui/tests/selenium/reports/testPageReportsAudit.php b/ui/tests/selenium/reports/testPageReportsAudit.php
index c064d57cf37..76df6d2ec06 100755
--- a/ui/tests/selenium/reports/testPageReportsAudit.php
+++ b/ui/tests/selenium/reports/testPageReportsAudit.php
@@ -96,7 +96,7 @@ class testPageReportsAudit extends CWebTest {
'API token' => ['Add', 'Delete', 'Update'],
'Action' => ['Add', 'Delete', 'Update'],
'Authentication' => ['Update'],
- 'Autoregistration' => ['Add', 'Delete', 'Update'],
+ 'Autoregistration' => ['Update'],
'Dashboard' => ['Add', 'Delete', 'Update'],
'Discovery rule' => ['Add', 'Delete', 'Update'],
'Event correlation' => ['Add', 'Delete', 'Update'],
@@ -128,6 +128,7 @@ class testPageReportsAudit extends CWebTest {
'Trigger' => ['Add', 'Delete', 'Update'],
'Trigger prototype' => ['Add', 'Delete', 'Update'],
'User' => ['Add', 'Delete', 'Failed login', 'Login', 'Logout', 'Update'],
+ 'User directory' => ['Add', 'Delete', 'Update'],
'User group' => ['Add', 'Delete', 'Update'],
'User role' => ['Add', 'Delete', 'Update'],
'Value map' => ['Add', 'Delete', 'Update'],