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

Issue #3151759: Enable Simple Workflow for all content types on new Varbase...

Issue #3151759: Enable Simple Workflow for all content types on new Varbase Installations  by Varbase Workflow and update Automated Functional Acceptance Testing
parent f9ca2717
No related branches found
No related tags found
No related merge requests found
Showing
with 51 additions and 25 deletions
...@@ -13,6 +13,7 @@ So that can be sure that the website is using the English language as one of the ...@@ -13,6 +13,7 @@ So that can be sure that the website is using the English language as one of the
When I select "English" from "Language" When I select "English" from "Language"
And I fill in "Test English Basic page title by content admin" for "Title" And I fill in "Test English Basic page title by content admin" for "Title"
And I fill in the rich text editor field "Body" with "Test English Basic page body" And I fill in the rich text editor field "Body" with "Test English Basic page body"
And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button And I press the "Save" button
And I wait And I wait
Then I should see "Test English Basic page title by content admin" Then I should see "Test English Basic page title by content admin"
...@@ -26,6 +27,7 @@ So that can be sure that the website is using the English language as one of the ...@@ -26,6 +27,7 @@ So that can be sure that the website is using the English language as one of the
Then I should see "Language" Then I should see "Language"
When I select "English" from "Language" When I select "English" from "Language"
And I fill in "Test English Landing page title by content admin" for "Title" And I fill in "Test English Landing page title by content admin" for "Title"
And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button And I press the "Save" button
And I wait And I wait
Then I should see "Test English Landing page title by content admin" Then I should see "Test English Landing page title by content admin"
...@@ -40,6 +42,7 @@ So that can be sure that the website is using the English language as one of the ...@@ -40,6 +42,7 @@ So that can be sure that the website is using the English language as one of the
When I select "English" from "Language" When I select "English" from "Language"
And I fill in "Test English Basic page title by site admin" for "Title" And I fill in "Test English Basic page title by site admin" for "Title"
And I fill in the rich text editor field "Body" with "Test English Basic page body" And I fill in the rich text editor field "Body" with "Test English Basic page body"
And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button And I press the "Save" button
And I wait And I wait
Then I should see "Test English Basic page title by site admin" Then I should see "Test English Basic page title by site admin"
...@@ -53,6 +56,7 @@ So that can be sure that the website is using the English language as one of the ...@@ -53,6 +56,7 @@ So that can be sure that the website is using the English language as one of the
Then I should see "Language" Then I should see "Language"
When I select "English" from "Language" When I select "English" from "Language"
And I fill in "Test English Landing page title by site admin" for "Title" And I fill in "Test English Landing page title by site admin" for "Title"
And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button And I press the "Save" button
And I wait And I wait
Then I should see "Test English Landing page title by site admin" Then I should see "Test English Landing page title by site admin"
...@@ -20,6 +20,7 @@ So that I will be able to create a content then I will have the option to transl ...@@ -20,6 +20,7 @@ So that I will be able to create a content then I will have the option to transl
And I fill in "Test English Basic page" for "Title" And I fill in "Test English Basic page" for "Title"
And I fill in the rich text editor field "Body" with "Test English Basic page body" And I fill in the rich text editor field "Body" with "Test English Basic page body"
And I select "en" from "Language" And I select "en" from "Language"
And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button And I press the "Save" button
And I wait And I wait
Then I should see "Test English Basic page" Then I should see "Test English Basic page"
......
...@@ -18,18 +18,18 @@ Scenario: Check if Site Admins can access the Coffee search box ...@@ -18,18 +18,18 @@ Scenario: Check if Site Admins can access the Coffee search box
Then I should see "Go to" Then I should see "Go to"
@javascript @check @local @development @staging @production @javascript @check @local @development @staging @production
Scenario: Check if Content Admins can NOT access the Coffee search box Scenario: Check if Content Admins can access the Coffee search box
Given I am a logged in user with the "test_content_admin" user Given I am a logged in user with the "test_content_admin" user
When I go to the homepage When I go to the homepage
And I wait And I wait
Then I should not see "Go to" Then I should see "Go to"
@javascript @check @local @development @staging @production @javascript @check @local @development @staging @production
Scenario: Check if Editors can NOT access the Coffee search box Scenario: Check if Editors can access the Coffee search box
Given I am a logged in user with the "test_editor" user Given I am a logged in user with the "test_editor" user
When I go to the homepage When I go to the homepage
And I wait And I wait
Then I should not see "Go to" Then I should see "Go to"
@javascript @check @local @development @staging @production @javascript @check @local @development @staging @production
Scenario: Check if Authenticated users can NOT access the Coffee search box Scenario: Check if Authenticated users can NOT access the Coffee search box
......
...@@ -27,7 +27,8 @@ So that they will be disabled and not be able to use the site. ...@@ -27,7 +27,8 @@ So that they will be disabled and not be able to use the site.
And I wait And I wait
Then I should see "test_authenticated" Then I should see "test_authenticated"
When I select the radio button "Blocked" When I select the radio button "Blocked"
And I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "The changes have been saved." Then I should see "The changes have been saved."
......
...@@ -65,7 +65,8 @@ So that the "Basic page" will show up in the structured menu under its parent pa ...@@ -65,7 +65,8 @@ So that the "Basic page" will show up in the structured menu under its parent pa
And I wait And I wait
And I fill in "Test Basic page" for "Title" And I fill in "Test Basic page" for "Title"
And I fill in the rich text editor field "Body" with "Test Basic page body" And I fill in the rich text editor field "Body" with "Test Basic page body"
And I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "Basic page Test Basic page has been created." Then I should see "Basic page Test Basic page has been created."
......
...@@ -49,7 +49,8 @@ So that the "Landing page" will show up having paragrpahs of different types ...@@ -49,7 +49,8 @@ So that the "Landing page" will show up having paragrpahs of different types
Then I should see "Block" Then I should see "Block"
When I select "Site branding" from "Block" When I select "Site branding" from "Block"
And I wait And I wait
And I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "Landing page Test Landing page Drupal Block has been created" Then I should see "Landing page Test Landing page Drupal Block has been created"
...@@ -67,7 +68,8 @@ So that the "Landing page" will show up having paragrpahs of different types ...@@ -67,7 +68,8 @@ So that the "Landing page" will show up having paragrpahs of different types
And I wait for 1 second And I wait for 1 second
And I select the "bp_columns" paragraph component And I select the "bp_columns" paragraph component
And I wait for AJAX to finish And I wait for AJAX to finish
And I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "Landing page Test Landing page Columns (Equal) has been created" Then I should see "Landing page Test Landing page Columns (Equal) has been created"
...@@ -85,7 +87,8 @@ So that the "Landing page" will show up having paragrpahs of different types ...@@ -85,7 +87,8 @@ So that the "Landing page" will show up having paragrpahs of different types
And I wait for 1 second And I wait for 1 second
And I select the "bp_columns_two_uneven" paragraph component And I select the "bp_columns_two_uneven" paragraph component
And I wait for AJAX to finish And I wait for AJAX to finish
And I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "Landing page Test Landing page Columns (Two Uneven) has been created" Then I should see "Landing page Test Landing page Columns (Two Uneven) has been created"
...@@ -111,8 +114,9 @@ So that the "Landing page" will show up having paragrpahs of different types ...@@ -111,8 +114,9 @@ So that the "Landing page" will show up having paragrpahs of different types
And I select the "bp_simple" paragraph component And I select the "bp_simple" paragraph component
And I wait And I wait
Then I should see "Modal body" Then I should see "Modal body"
And I fill in the rich text editor field "Text" with "Modal Body test" When I fill in the rich text editor field "Text" with "Modal Body test"
When I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
Then I should see "Landing page Test Landing page Modal has been created" Then I should see "Landing page Test Landing page Modal has been created"
When I press "Modal button" When I press "Modal button"
And I wait for AJAX to finish And I wait for AJAX to finish
...@@ -135,7 +139,8 @@ So that the "Landing page" will show up having paragrpahs of different types ...@@ -135,7 +139,8 @@ So that the "Landing page" will show up having paragrpahs of different types
And I wait for AJAX to finish And I wait for AJAX to finish
Then I should see "Components" Then I should see "Components"
When I fill in the rich text editor field "Text" with "Rich Text test" When I fill in the rich text editor field "Text" with "Rich Text test"
And I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "Landing page Test Landing page Rich Text has been created" Then I should see "Landing page Test Landing page Rich Text has been created"
And I should see "Rich Text test" And I should see "Rich Text test"
...@@ -162,7 +167,8 @@ So that the "Landing page" will show up having paragrpahs of different types ...@@ -162,7 +167,8 @@ So that the "Landing page" will show up having paragrpahs of different types
And I wait And I wait
Then I should see "Tab body" Then I should see "Tab body"
And I fill in the rich text editor field "Text" with "Tab 1 - Body test" And I fill in the rich text editor field "Text" with "Tab 1 - Body test"
When I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "Landing page Test Landing page Tabs has been created" Then I should see "Landing page Test Landing page Tabs has been created"
And I should see "Tab 1" And I should see "Tab 1"
...@@ -184,6 +190,7 @@ So that the "Landing page" will show up having paragrpahs of different types ...@@ -184,6 +190,7 @@ So that the "Landing page" will show up having paragrpahs of different types
Then I should see "Components" Then I should see "Components"
When I select "Contact" from "Webform" When I select "Contact" from "Webform"
And I wait And I wait
When I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "Landing page Test Landing page WebForm has been created" Then I should see "Landing page Test Landing page WebForm has been created"
...@@ -76,7 +76,8 @@ So that the "Landing page" will have text and images in right and left view. ...@@ -76,7 +76,8 @@ So that the "Landing page" will have text and images in right and left view.
And I select all text in "Text" field And I select all text in "Text" field
And I click on "justifycenter" command button in the rich text editor field "Text" And I click on "justifycenter" command button in the rich text editor field "Text"
And I wait And I wait
And I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "In eros ipsum, mattis vitae vulputate eu, blandit" Then I should see "In eros ipsum, mattis vitae vulputate eu, blandit"
And I should see image with the "Flag Earth all earth in space" title text And I should see image with the "Flag Earth all earth in space" title text
...@@ -14,6 +14,7 @@ So that I can see path I followed to locate the current page usually near the to ...@@ -14,6 +14,7 @@ So that I can see path I followed to locate the current page usually near the to
And I wait And I wait
And I check the box "Provide a menu link" And I check the box "Provide a menu link"
And I select "<Main navigation>" from "Parent item" And I select "<Main navigation>" from "Parent item"
And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button And I press the "Save" button
And I wait And I wait
Then I should see "Basic page Test Basic page root title has been created." Then I should see "Basic page Test Basic page root title has been created."
...@@ -30,6 +31,7 @@ So that I can see path I followed to locate the current page usually near the to ...@@ -30,6 +31,7 @@ So that I can see path I followed to locate the current page usually near the to
And I wait And I wait
And I check the box "Provide a menu link" And I check the box "Provide a menu link"
And I select "Test Basic page root title" from "Parent item" And I select "Test Basic page root title" from "Parent item"
And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button And I press the "Save" button
And wait And wait
Then I should see "Basic page Test Basic page sub 1 title has been created." Then I should see "Basic page Test Basic page sub 1 title has been created."
......
...@@ -41,7 +41,8 @@ Scenario: Add Test content N1, N2, N3 type of test content ...@@ -41,7 +41,8 @@ Scenario: Add Test content N1, N2, N3 type of test content
Then I should see "Create Test Content" Then I should see "Create Test Content"
When I fill in "Test content N1" for "Title" When I fill in "Test content N1" for "Title"
And I fill in the rich text editor field "Body" with "Test content N1 Body" And I fill in the rich text editor field "Body" with "Test content N1 Body"
And I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "Test Content Test content N1 has been created." Then I should see "Test Content Test content N1 has been created."
...@@ -50,7 +51,8 @@ Scenario: Add Test content N1, N2, N3 type of test content ...@@ -50,7 +51,8 @@ Scenario: Add Test content N1, N2, N3 type of test content
Then I should see "Create Test Content" Then I should see "Create Test Content"
When I fill in "Test content N2" for "Title" When I fill in "Test content N2" for "Title"
And I fill in the rich text editor field "Body" with "Test content N2 Body" And I fill in the rich text editor field "Body" with "Test content N2 Body"
And I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "Test Content Test content N2 has been created." Then I should see "Test Content Test content N2 has been created."
...@@ -59,7 +61,8 @@ Scenario: Add Test content N1, N2, N3 type of test content ...@@ -59,7 +61,8 @@ Scenario: Add Test content N1, N2, N3 type of test content
Then I should see "Create Test Content" Then I should see "Create Test Content"
When I fill in "Test content N3" for "Title" When I fill in "Test content N3" for "Title"
And I fill in the rich text editor field "Body" with "Test content N3 Body" And I fill in the rich text editor field "Body" with "Test content N3 Body"
And I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "Test Content Test content N3 has been created." Then I should see "Test Content Test content N3 has been created."
......
...@@ -50,7 +50,8 @@ I want to be able to add and remove entities to any allowed entity queue. ...@@ -50,7 +50,8 @@ I want to be able to add and remove entities to any allowed entity queue.
And I wait for AJAX to finish And I wait for AJAX to finish
Then I should see "Choose from the available entityqueues below to push this content to." Then I should see "Choose from the available entityqueues below to push this content to."
When I check the box "varbase_heroslider_media" When I check the box "varbase_heroslider_media"
And I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "Test hero slider #1" Then I should see "Test hero slider #1"
...@@ -82,7 +83,8 @@ I want to be able to add and remove entities to any allowed entity queue. ...@@ -82,7 +83,8 @@ I want to be able to add and remove entities to any allowed entity queue.
And I wait for AJAX to finish And I wait for AJAX to finish
Then I should see "Choose from the available entityqueues below to push this content to." Then I should see "Choose from the available entityqueues below to push this content to."
When I check the box "varbase_heroslider_media" When I check the box "varbase_heroslider_media"
And I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "Test hero slider #2" Then I should see "Test hero slider #2"
...@@ -109,7 +111,8 @@ I want to be able to add and remove entities to any allowed entity queue. ...@@ -109,7 +111,8 @@ I want to be able to add and remove entities to any allowed entity queue.
And I expand the field "edit-entityqueue-form-widget" And I expand the field "edit-entityqueue-form-widget"
Then the "varbase_heroslider_media" checkbox should be checked Then the "varbase_heroslider_media" checkbox should be checked
When I uncheck the box "varbase_heroslider_media" When I uncheck the box "varbase_heroslider_media"
And I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I go to "admin/structure/entityqueue/varbase_heroslider_media/varbase_heroslider_media" And I go to "admin/structure/entityqueue/varbase_heroslider_media/varbase_heroslider_media"
And I wait And I wait
Then I should not see "Test hero slider #1" Then I should not see "Test hero slider #1"
...@@ -26,8 +26,9 @@ I want to be able to clone an entity. ...@@ -26,8 +26,9 @@ I want to be able to clone an entity.
And I select the "bp_simple" paragraph component And I select the "bp_simple" paragraph component
And I wait And I wait
Then I should see "Modal body" Then I should see "Modal body"
And I fill in the rich text editor field "Text" with "Modal Body test" When I fill in the rich text editor field "Text" with "Modal Body test"
When I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
Then I should see "Modal button" Then I should see "Modal button"
When I click "Clone" When I click "Clone"
And I wait And I wait
......
...@@ -14,6 +14,7 @@ So that it will show up under that rich text field without having to upload the ...@@ -14,6 +14,7 @@ So that it will show up under that rich text field without having to upload the
And I wait And I wait
And I fill in "Test Basic page to embed existing files" for "Title" And I fill in "Test Basic page to embed existing files" for "Title"
And I fill in the rich text editor field "Body" with "Test Basic page body to embed existing files" And I fill in the rich text editor field "Body" with "Test Basic page body to embed existing files"
And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button And I press the "Save" button
And I wait And I wait
Then I should see "Basic page Test Basic page to embed existing files has been created." Then I should see "Basic page Test Basic page to embed existing files has been created."
...@@ -72,7 +73,8 @@ So that it will show up under that rich text field without having to upload the ...@@ -72,7 +73,8 @@ So that it will show up under that rich text field without having to upload the
And I fill in "Embed Flag Earth custom Alt text" for "Alternate text" And I fill in "Embed Flag Earth custom Alt text" for "Alternate text"
When I click "Embed" in the "button" element with the "class" attribute set to "js-form-submit form-submit" When I click "Embed" in the "button" element with the "class" attribute set to "js-form-submit form-submit"
And I wait for AJAX to finish And I wait for AJAX to finish
When I press "Save" And I select "published" from "edit-moderation-state-0-state"
And I press the "Save" button
And I wait And I wait
Then I should see "Basic page Test Basic page to embed existing files has been updated." Then I should see "Basic page Test Basic page to embed existing files has been updated."
When I go to "admin/content" When I go to "admin/content"
......
...@@ -13,7 +13,7 @@ So that will ease the work of adding internal links in the rich text editor fiel ...@@ -13,7 +13,7 @@ So that will ease the work of adding internal links in the rich text editor fiel
And I fill in "Linking to internal content #1 title" for "Title" And I fill in "Linking to internal content #1 title" for "Title"
And I fill in the rich text editor field "Body" with "Linking to internal content #1 body" And I fill in the rich text editor field "Body" with "Linking to internal content #1 body"
And I select "published" from "edit-moderation-state-0-state" And I select "published" from "edit-moderation-state-0-state"
And I press "Save" And I press the "Save" button
And I wait And I wait
And I should see "Linking to internal content #1 body" And I should see "Linking to internal content #1 body"
......
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