From 8a539346d98c252b61cae2089fcc4cab1bb47033 Mon Sep 17 00:00:00 2001 From: Tomass Olups Date: Fri, 4 Nov 2022 14:02:41 +0200 Subject: .......... [ZBX-21785] updated testPageReportsAudit and testFormFilterProblems autotest --- ui/tests/selenium/filterTabs/testFormFilterProblems.php | 4 ++-- ui/tests/selenium/reports/testPageReportsAudit.php | 3 ++- 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'], -- cgit v1.2.3