From 9b1b4a00a3e31cc9115ac09cb2e66bd32c768994 Mon Sep 17 00:00:00 2001
From: Rajab Natshah <rajabn@gmail.com>
Date: Mon, 31 Jul 2017 11:01:32 +0300
Subject: [PATCH] Issue #2896862: Updated automated functional tests with (+
 Add Component) to work for enhance the UI/UX preview for  paragraphs in the
 Varbase Landing page with [Add] button and easy reorder and editing of
 paragraphs

---
 ...add-any-paragraph-type-to-the-page.feature | 22 +++++++++----------
 ...-varbase-text-and-image-paragraphs.feature | 10 ++++-----
 2 files changed, 16 insertions(+), 16 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 f00751cc..8e64a069 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
@@ -13,7 +13,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
-      And I press "Add Component"
+      And I press "+ Add Component"
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
@@ -71,7 +71,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
-      And I press "Add component"
+      And I press "+ Add Component"
       And I wait
       And I press "Accordion"
       And I wait for AJAX to finish
@@ -112,7 +112,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
-      And I press "Add Component"
+      And I press "+ Add Component"
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
@@ -137,7 +137,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
-      And I press "Add Component"
+      And I press "+ Add Component"
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
@@ -203,7 +203,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I fill in "Test Landing page description Columns (Two Uneven)" for "Page description"
       And I scrolldown
       And I wait for AJAX to finish
-      And I press "Add Component"
+      And I press "+ Add Component"
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
@@ -268,7 +268,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
-      And I press "Add Component"
+      And I press "+ Add Component"
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
@@ -340,7 +340,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
-      And I press "Add Component"
+      And I press "+ Add Component"
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
@@ -372,7 +372,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
-      And I press "Add Component"
+      And I press "+ Add Component"
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
@@ -401,7 +401,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I fill in "Test Landing page Simple" for "Title"
       And I fill in "Test Landing page description Simple" for "Page description"
       And I scrolldown
-      And I press "Add Component"
+      And I press "+ Add Component"
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
@@ -439,7 +439,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
-      And I press "Add Component"
+      And I press "+ Add Component"
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
@@ -481,7 +481,7 @@ So that the "Landing page" will show up having paragrpahs of different types
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
-      And I press "Add Component"
+      And I press "+ Add Component"
       And I wait for AJAX to finish
       And I scrolldown
       And I wait for AJAX to finish
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 d980434e..fed6765c 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
@@ -13,7 +13,7 @@ So that the "Landing page" will have text and images in right and left view.
       And I fill in "Test landing page body description." for "Page description"
 
   # Add Simple text centered
-      And I press "Add Component"
+      And I press "+ Add Component"
       And I wait
       And I scrolldown
       And I press "Simple"
@@ -29,8 +29,8 @@ So that the "Landing page" will have text and images in right and left view.
      When I click "Edit"
       And I wait
       And I scrolldown
-      # And I press the "2" "Add Component" button
-      And I press "Add Component"
+      # And I press the "2" "+ Add Component" button
+      And I press "+ Add Component"
       And I wait
       And I press "Text and image"
       And I wait for AJAX to finish
@@ -61,8 +61,8 @@ So that the "Landing page" will have text and images in right and left view.
      When I click "Edit"
       And I wait
       And I scrolldown
-      # And I press the "3" "Add Component" button
-      And I press "Add Component"
+      # And I press the "3" "+ Add Component" button
+      And I press "+ Add Component"
       And I wait
       And I press "Text and image"
       And I wait for AJAX to finish
-- 
GitLab