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

Issue #2930142: Updated [Entity Browser Enhance(d|r)] module from 8.1.0-beta5 to 8.1.0-beta6

parent 5bf2453b
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ I want to be able to add any paragraph type to the page
So that the "Landing page" will show up having paragrpahs of different types
@local @development @staging @production
Scenario: Upload the "Embed Flag Earth" file and Upload the "Mars panorama image" file.
Scenario: Upload the "Embed Flag Earth" file.
Given I am a logged in user with the "test_site_admin" user
When I go to "/admin/content/media"
And I wait
......@@ -26,27 +26,6 @@ So that the "Landing page" will show up having paragrpahs of different types
And I wait
Then I should see "Embed Flag Earth"
#-----------------------------------------------------------------------------
# Upload the "Mars panorama image" file.
When I go to "/admin/content/media"
And I wait
Then I should see "Add media"
When I click "Add media"
And I wait
Then I should see "Image"
When I go to "/media/add/image"
And I wait
Then I should see "Allowed types: png gif jpg jpeg."
When I attach the file "mars-panorama-image-6000x1000.jpg" to "Image"
And I wait
And I press the "Save" button
And I wait
And I fill in "Mars panorama" for "field_image[0][alt]"
And I fill in "Mars panorama image" for "field_image[0][title]"
And I fill in "Mars panorama" for "Media name"
And I press the "Save" button
And I wait
Then I should see "Mars panorama"
#-----------------------------------------------------------------------------
@javascript @local @development @staging @production
Scenario: Check if a user with a permission to manage "Landing page" content type can add paragraphs of type "Carousel"
......@@ -68,11 +47,11 @@ So that the "Landing page" will show up having paragrpahs of different types
And I wait for AJAX to finish
Then the image media browser should be open
When I switch to iframe "entity_browser_iframe_image_browser"
And I fill in "Mars panorama" for "Search keywords"
And I fill in "Embed Flag Earth" for "Search keywords"
And I press the "Search" button
And I wait for AJAX to finish
Then I should see image with the "Mars panorama image" title text
When I click on the image with the "Mars panorama image" title text
Then I should see image with the "Embed Flag Earth all earth in space" title text
When I click on the image with the "Embed Flag Earth all earth in space" title text
And I press the "Select an image" button
And I wait
And I switch to main frame
......@@ -119,11 +98,11 @@ So that the "Landing page" will show up having paragrpahs of different types
And I wait for AJAX to finish
Then the image media browser should be open
When I switch to iframe "entity_browser_iframe_image_browser"
And I fill in "Mars panorama" for "Search keywords"
And I fill in "Embed Flag Earth" for "Search keywords"
And I press the "Search" button
And I wait for AJAX to finish
Then I should see image with the "Mars panorama image" title text
When I click on the image with the "Mars panorama image" title text
Then I should see image with the "Embed Flag Earth all earth in space" title text
When I click on the image with the "Embed Flag Earth all earth in space" title text
And I press the "Select an image" button
And I wait
And I switch to main frame
......@@ -176,11 +155,11 @@ So that the "Landing page" will show up having paragrpahs of different types
And I wait for AJAX to finish
Then the image media browser should be open
When I switch to iframe "entity_browser_iframe_image_browser"
And I fill in "Mars panorama" for "Search keywords"
And I fill in "Embed Flag Earth" for "Search keywords"
And I press the "Search" button
And I wait for AJAX to finish
Then I should see image with the "Mars panorama image" title text
When I click on the image with the "Mars panorama image" title text
Then I should see image with the "Embed Flag Earth all earth in space" title text
When I click on the image with the "Embed Flag Earth all earth in space" title text
And I press the "Select an image" button
And I wait
And I switch to main frame
......@@ -208,11 +187,11 @@ So that the "Landing page" will show up having paragrpahs of different types
And I wait for AJAX to finish
Then the image media browser should be open
When I switch to iframe "entity_browser_iframe_image_browser"
And I fill in "Mars panorama" for "Search keywords"
And I fill in "Embed Flag Earth" for "Search keywords"
And I press the "Search" button
And I wait for AJAX to finish
Then I should see image with the "Mars panorama image" title text
When I click on the image with the "Mars panorama image" title text
Then I should see image with the "Embed Flag Earth all earth in space" title text
When I click on the image with the "Embed Flag Earth all earth in space" title text
And I press the "Select an image" button
And I wait
And I switch to main frame
......@@ -240,11 +219,11 @@ So that the "Landing page" will show up having paragrpahs of different types
And I wait for AJAX to finish
Then the image media browser should be open
When I switch to iframe "entity_browser_iframe_image_browser"
And I fill in "Mars panorama" for "Search keywords"
And I fill in "Embed Flag Earth" for "Search keywords"
And I press the "Search" button
And I wait for AJAX to finish
Then I should see image with the "Mars panorama image" title text
When I click on the image with the "Mars panorama image" title text
Then I should see image with the "Embed Flag Earth all earth in space" title text
When I click on the image with the "Embed Flag Earth all earth in space" title text
And I press the "Select an image" button
And I wait
And I switch to main frame
......@@ -269,11 +248,11 @@ So that the "Landing page" will show up having paragrpahs of different types
And I wait for AJAX to finish
Then the image media browser should be open
When I switch to iframe "entity_browser_iframe_image_browser"
And I fill in "Mars panorama" for "Search keywords"
And I fill in "Embed Flag Earth" for "Search keywords"
And I press the "Search" button
And I wait for AJAX to finish
Then I should see image with the "Mars panorama image" title text
When I click on the image with the "Mars panorama image" title text
Then I should see image with the "Embed Flag Earth all earth in space" title text
When I click on the image with the "Embed Flag Earth all earth in space" title text
And I press the "Select an image" button
And I wait
And I switch to main frame
......@@ -281,7 +260,7 @@ So that the "Landing page" will show up having paragrpahs of different types
And I press "Save"
And I wait
Then I should see "Landing page Test Landing page Image has been created"
And I should see image with the "Mars panorama image" title text
And I should see image with the "Embed Flag Earth all earth in space" title text
@javascript @local @development @staging @production
Scenario: Check if a user with a permission to manage "Landing page" content type can add paragraphs of type "Modal"
......@@ -329,11 +308,11 @@ So that the "Landing page" will show up having paragrpahs of different types
And I wait for AJAX to finish
Then the image media browser should be open
When I switch to iframe "entity_browser_iframe_image_browser"
And I fill in "Mars panorama" for "Search keywords"
And I fill in "Embed Flag Earth" for "Search keywords"
And I press the "Search" button
And I wait for AJAX to finish
Then I should see image with the "Mars panorama image" title text
When I click on the image with the "Mars panorama image" title text
Then I should see image with the "Embed Flag Earth all earth in space" title text
When I click on the image with the "Embed Flag Earth all earth in space" title text
And I press the "Select an image" button
And I wait
And I switch to main frame
......@@ -362,11 +341,11 @@ So that the "Landing page" will show up having paragrpahs of different types
And I wait for AJAX to finish
Then the image media browser should be open
When I switch to iframe "entity_browser_iframe_image_browser"
And I fill in "Mars panorama" for "Search keywords"
And I fill in "Embed Flag Earth" for "Search keywords"
And I press the "Search" button
And I wait for AJAX to finish
Then I should see image with the "Mars panorama image" title text
When I click on the image with the "Mars panorama image" title text
Then I should see image with the "Embed Flag Earth all earth in space" title text
When I click on the image with the "Embed Flag Earth all earth in space" title text
And I press the "Select an image" button
And I wait
And I switch to main frame
......
......@@ -4,7 +4,7 @@ I want to be able to add number of Text and image paragraph compoments
So that the "Landing page" will have text and images in right and left view.
@local @development @staging @production
Scenario: Upload the "Embed Flag Earth" file and Upload the "Mars panorama image" file.
Scenario: Upload the "Embed Flag Earth" file.
Given I am a logged in user with the "test_site_admin" user
When I go to "/admin/content/media"
And I wait
......@@ -26,27 +26,6 @@ So that the "Landing page" will have text and images in right and left view.
And I wait
Then I should see "Embed Flag Earth"
#-----------------------------------------------------------------------------
# Upload the "Mars panorama image" file.
When I go to "/admin/content/media"
And I wait
Then I should see "Add media"
When I click "Add media"
And I wait
Then I should see "Image"
When I go to "/media/add/image"
And I wait
Then I should see "Allowed types: png gif jpg jpeg."
When I attach the file "mars-panorama-image-6000x1000.jpg" to "Image"
And I wait
And I press the "Save" button
And I wait
And I fill in "Mars panorama" for "field_image[0][alt]"
And I fill in "Mars panorama image" for "field_image[0][title]"
And I fill in "Mars panorama" for "Media name"
And I press the "Save" button
And I wait
Then I should see "Mars panorama"
#-----------------------------------------------------------------------------
@javascript @local @development @staging @production
Scenario: Check if a user with a permission to manage "Landing page" content type create a new Landing page.
......
......@@ -3,7 +3,7 @@ As a logged in user with a permission to mange entityqueues
I want to be able to add and remove entities to any allowed entityqueue.
@local @development @staging @production
Scenario: Upload the "Flag Earth" file and Upload the "Mars panorama image" file.
Scenario: Upload the "Flag Earth" file.
Given I am a logged in user with the "test_site_admin" user
When I go to "/admin/content/media"
And I wait
......@@ -25,27 +25,6 @@ I want to be able to add and remove entities to any allowed entityqueue.
And I wait
Then I should see "Flag Earth"
#-----------------------------------------------------------------------------
# Upload the "Mars panorama image" file.
When I go to "/admin/content/media"
And I wait
Then I should see "Add media"
When I click "Add media"
And I wait
Then I should see "Image"
When I go to "/media/add/image"
And I wait
Then I should see "Allowed types: png gif jpg jpeg."
When I attach the file "mars-panorama-image-6000x1000.jpg" to "Image"
And I wait
And I press the "Save" button
And I wait
And I fill in "Mars panorama" for "field_image[0][alt]"
And I fill in "Mars panorama image" for "field_image[0][title]"
And I fill in "Mars panorama" for "Media name"
And I press the "Save" button
And I wait
Then I should see "Mars panorama"
#-----------------------------------------------------------------------------
@javascript @local @development @staging @production
Scenario: Check if a user with a permission to manage "Entity queues" can add a "Test hero slider number 1" to the heroslider entity queue
......
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