From 343621e14a1d48e648d9855875b4573a2a80d888 Mon Sep 17 00:00:00 2001
From: Rajab Natshah <rajabn@gmail.com>
Date: Thu, 17 Aug 2017 17:56:29 +0300
Subject: [PATCH] Issue #2902832: Updated [ Feature: Landing Pages - Add any
 paragraph types to the page. ] and [ Feature: Content Structure Features -
 Landing Pages - Varbase text and image paragraphs. ]

---
 ...add-any-paragraph-type-to-the-page.feature | 22 +++++++++----------
 ...-varbase-text-and-image-paragraphs.feature |  4 ++--
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/tests/features/varbase/step2-apply-tests/25-landing-page_add-any-paragraph-type-to-the-page.feature b/tests/features/varbase/step2-apply-tests/25-landing-page_add-any-paragraph-type-to-the-page.feature
index 20b10689..1e0a54dc 100755
--- a/tests/features/varbase/step2-apply-tests/25-landing-page_add-any-paragraph-type-to-the-page.feature
+++ b/tests/features/varbase/step2-apply-tests/25-landing-page_add-any-paragraph-type-to-the-page.feature
@@ -92,7 +92,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I switch to main frame
       And I fill in "Accordion Section Title test" for "Accordion Section Title"
      When I Expand the "1" select list "dropbutton-multiple"
-      And I press "Add Simple"
+      And I press "Add Rich Text"
       And I wait
      Then I should see "Accordion Section Body"
       And I fill in the rich text editor field "Text" with "Accordion Section Body test"
@@ -323,7 +323,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I wait for AJAX to finish
 
       And I Expand the "1" select list "dropbutton-multiple"
-      And I press "Add Simple"
+      And I press "Add Rich Text"
       And I wait for AJAX to finish
       And I fill in the rich text editor field "Text" with "Simple text test - column Three"
       And I press "Save"
@@ -382,7 +382,7 @@ So that the "Landing page" will show up having paragrpahs of different types
      When I fill in "Modal button" for "Modal Button Text"
       And I fill in "Modal title" for "Modal Title"
       And I Expand the "1" select list "dropbutton-multiple"
-      And I press "Add Simple"
+      And I press "Add Rich Text"
       And I wait
      Then I should see "Modal Body"
       And I fill in the rich text editor field "Text" with "Modal Body test"
@@ -394,23 +394,23 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I should see "Modal Body test"
 
   @javascript @local @development
-  Scenario: Check if a user with a permission to manage "Landing page" content type can add paragraphs of type "Simple"
+  Scenario: Check if a user with a permission to manage "Landing page" content type can add paragraphs of type "Rich Text"
     Given I am a logged in user with the "test_super_admin" user
      When I go to "node/add/landing_page"
       And I wait
-      And I fill in "Test Landing page Simple" for "Title"
-      And I fill in "Test Landing page description Simple" for "Page description"
+      And I fill in "Test Landing page Rich Text" for "Title"
+      And I fill in "Test Landing page description Rich Text" for "Page description"
       And I scrolldown
       And I press "+   Add Component"
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
-      And I press "Simple"
+      And I press "Rich Text"
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
       And I should see "Components"
-      And I fill in the rich text editor field "Text" with "Simple text test"
+      And I fill in the rich text editor field "Text" with "Rich Text test"
       And I Expand the field "styling-settings"
       And I wait for AJAX to finish
       And I press the "Select an image" button
@@ -426,8 +426,8 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I wait for AJAX to finish
       And I press "Save"
       And I wait
-     Then I should see "Landing page Test Landing page Simple has been created"
-      And I should see "Simple text test"
+     Then I should see "Landing page Test Landing page Rich Text has been created"
+      And I should see "Rich Text test"
 
   @javascript @local @development
   Scenario: Check if a user with a permission to manage "Landing page" content type can add paragraphs of type "Tabs"
@@ -461,7 +461,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I should see "Components"
       And I fill in "Tab 1" for "Tab Name"
       And I Expand the "1" select list "dropbutton-multiple"
-      And I press "Add Simple"
+      And I press "Add Rich Text"
       And I wait
      Then I should see "Tab Body"
       And I fill in the rich text editor field "Text" with "Tab 1 - Body test"
diff --git a/tests/features/varbase/step2-apply-tests/26-content-structure-features_anding-pages-varbase-text-and-image-paragraphs.feature b/tests/features/varbase/step2-apply-tests/26-content-structure-features_anding-pages-varbase-text-and-image-paragraphs.feature
index 7f3c16b2..d9aad1bf 100755
--- a/tests/features/varbase/step2-apply-tests/26-content-structure-features_anding-pages-varbase-text-and-image-paragraphs.feature
+++ b/tests/features/varbase/step2-apply-tests/26-content-structure-features_anding-pages-varbase-text-and-image-paragraphs.feature
@@ -12,11 +12,11 @@ So that the "Landing page" will have text and images in right and left view.
       And I fill in "Test landing page title for text and image paragraphs" for "Title"
       And I fill in "Test landing page body description." for "Page description"
 
-  # Add Simple text centered
+  # Add Rich Text centered
       And I press "+   Add Component"
       And I wait
       And I scrolldown
-      And I press "Simple"
+      And I press "Rich Text"
       And I wait for AJAX to finish
       And I fill in the rich text editor field "Text" with "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur tortor diam, interdum in quam in, vehicula varius sem. Sed eu augue diam. Proin elementum bibendum tristique. Nam at ante sem. Mauris suscipit felis eget orci porttitor, feugiat viverra elit commodo. Proin quis erat laoreet, tempor nisl nec, varius quam. Maecenas malesuada est sollicitudin euismod posuere."
      When I select all text in "Text" field
-- 
GitLab