From 73f2c06f3dd0ad1b8cfd5aa0fd9d1b246517c3de Mon Sep 17 00:00:00 2001 From: Rajab Natshah <rajabn@gmail.com> Date: Sun, 5 Apr 2020 13:56:50 +0300 Subject: [PATCH] Issue #3125023: Change Automated Functional Acceptance Testing after a new release for Entityqueue module with change of UI configs --- ...tityqueue-testing-content-and-config.feature | 2 +- ...ityqueue-reverse-order-in-admin-view.feature | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/tests/features/varbase/step2-apply-tests/05-content-management/05-00-add-default-entityqueue-testing-content-and-config.feature b/tests/features/varbase/step2-apply-tests/05-content-management/05-00-add-default-entityqueue-testing-content-and-config.feature index a5d66ca8..95882464 100644 --- a/tests/features/varbase/step2-apply-tests/05-content-management/05-00-add-default-entityqueue-testing-content-and-config.feature +++ b/tests/features/varbase/step2-apply-tests/05-content-management/05-00-add-default-entityqueue-testing-content-and-config.feature @@ -21,7 +21,7 @@ Scenario: Add Entity Queue Test Queue and use Test Content type Then I should see "Add entity queue" When I click "Add entity queue" And I wait - Then I should see "Add Entity Queue" + Then I should see "Configure entity queue" When I fill in "Test Queue" for "Name" And I wait for AJAX to finish And I wait for 1 second diff --git a/tests/features/varbase/step2-apply-tests/05-content-management/05-01-entityqueue-reverse-order-in-admin-view.feature b/tests/features/varbase/step2-apply-tests/05-content-management/05-01-entityqueue-reverse-order-in-admin-view.feature index 7c91df89..30b51729 100644 --- a/tests/features/varbase/step2-apply-tests/05-content-management/05-01-entityqueue-reverse-order-in-admin-view.feature +++ b/tests/features/varbase/step2-apply-tests/05-content-management/05-01-entityqueue-reverse-order-in-admin-view.feature @@ -18,18 +18,29 @@ Scenario: Check that Reverse order in admin view is working When I go to "/admin/structure/entityqueue/test_queue#edit-queue-settings" And I wait - Then I should see "Edit Entity Queue" + Then I should see "Configure Test Queue" When I click "Queue settings" And I wait Then I should see "Restrict this queue to a minimum of" - And I should see "Reverse order in admin view" - When I check the box "Reverse order in admin view" + And I should see "Reverse" + When I check the box "Reverse" And I press "Save" And I wait Then I should see "The entity queue Test Queue has been updated." When I go to "/admin/structure/entityqueue" And I wait Then I should see "Test Queue" + When I click "Edit items" in the "Test Queue" row + And I wait + Then I should see "Edit subqueue Test Queue" + When I press "Reverse" + And I wait + And I press "Save" + And I wait + Then I should see "The entity subqueue Test Queue has been updated." + When I go to "/admin/structure/entityqueue" + And I wait + Then I should see "Test Queue" When I click "Edit items" in the "Test Queue" row And I wait Then I should see "Edit subqueue Test Queue" -- GitLab