Skip to content
Snippets Groups Projects
Commit 56f26cdf authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3050503: Changed the Automated Functional Acceptance Testing group: 05...

Issue #3050503: Changed the Automated Functional Acceptance Testing group: 05 content-management, as for the entityqueue changed the back-end ordaring and form elements
parent 6dd0aab7
No related branches found
No related tags found
No related merge requests found
......@@ -69,22 +69,22 @@ Scenario: Add Test content N1, N2, N3, N4 nodes to the "Test Queue" entityqueue.
When I click "Edit items" in the "Test Queue" row
And I wait
Then I should see "Edit subqueue Test Queue"
When I fill in "Test content N1" for "items[0][target_id]"
And I press "Save"
Then I should see "1 items" in the "Test Queue" row
When I fill in "Test content N1" for "items[add_more][new_item][target_id]"
And I press "Add item"
And I wait for AJAX to finish
Then I should see "Test content N1"
# Add "Test content N2" to the location #2 in the "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 fill in "Test content N2" for "items[1][target_id]"
And I press "Save"
Then I should see "2 items" in the "Test Queue" row
When I fill in "Test content N2" for "items[add_more][new_item][target_id]"
And I press "Add item"
And I wait for AJAX to finish
Then I should see "Test content N1"
# Add "Test content N3" to the location #3 in the "Test Queue"
When I click "Edit items" in the "Test Queue" row
When I fill in "Test content N3" for "items[add_more][new_item][target_id]"
And I press "Add item"
And I wait for AJAX to finish
Then I should see "Test content N1"
When I press "Save"
And I wait
Then I should see "Edit subqueue Test Queue"
When I fill in "Test content N3" for "items[2][target_id]"
And I press "Save"
Then I should see "3 items" in the "Test Queue" row
......@@ -12,9 +12,9 @@ Scenario: Check that Reverse order in admin view is working.
When I click "Edit items" in the "Test Queue" row
And I wait
Then I should see "Edit subqueue Test Queue"
And I should see "Test content N1" value in the "edit-items-0-target-id" input element
And I should see "Test content N2" value in the "edit-items-1-target-id" input element
And I should see "Test content N3" value in the "edit-items-2-target-id" input element
And I should see "Test content N1" in the "#edit-items-0-target-id" element
And I should see "Test content N2" in the "#edit-items-1-target-id" element
And I should see "Test content N3" in the "#edit-items-2-target-id" element
When I go to "/admin/structure/entityqueue/test_queue#edit-queue-settings"
And I wait
......@@ -33,6 +33,6 @@ Scenario: Check that Reverse order in admin view is working.
When I click "Edit items" in the "Test Queue" row
And I wait
Then I should see "Edit subqueue Test Queue"
And I should see "Test content N3" value in the "edit-items-0-target-id" input element
And I should see "Test content N2" value in the "edit-items-1-target-id" input element
And I should see "Test content N1" value in the "edit-items-2-target-id" input element
And I should see "Test content N3" in the "#edit-items-0-target-id" element
And I should see "Test content N2" in the "#edit-items-1-target-id" element
And I should see "Test content N1" in the "#edit-items-2-target-id" element
......@@ -100,8 +100,8 @@ I want to be able to add and remove entities to any allowed entityqueue.
Given I am a logged in user with the "test_super_admin" user
When I go to "admin/structure/entityqueue/varbase_heroslider_media/varbase_heroslider_media"
And I wait
Then I should see "Test hero slider #1" value in the "edit-items-0-target-id" input element
And I should see "Test hero slider #2" value in the "edit-items-1-target-id" input element
Then I should see "Test hero slider #1" in the "#edit-items-0-target-id" element
And I should see "Test hero slider #2" in the "#edit-items-1-target-id" element
@javascript @local @development @staging @production
Scenario: Remove a "Hero slider" from the "varbase_heroslider_media" entityqueue
......
......@@ -57,7 +57,7 @@ I want to be able to clone an entity.
And I wait
Then I should see "Are you sure you wish to perform"
When I press "Execute action"
And I wait
And I wait for 5s
Then I should see "Action processing results: Delete entities (1)."
When I go to "admin/content"
And I wait
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment