From b2a66851e7c634398805dfc21131e2d2cb76589a Mon Sep 17 00:00:00 2001
From: Rajab Natshah <rajabn@gmail.com>
Date: Sun, 8 Apr 2018 21:26:07 +0300
Subject: [PATCH] Issue #2959483: Changed Functional Automated Acceptance tests
 for the name of filed media image i [Varbase Profile] to work with [Media]
 Drupal core module.

---
 ...4-image-media-and-their-usage-list-page-for-admins.feature | 4 ++--
 ...03-landing-page_add-any-paragraph-type-to-the-page.feature | 4 ++--
 .../04-04-landing-page_text-and-image-paragraphs.feature      | 4 ++--
 ...lider-to-entityqueue-using-entityqueue-form-widget.feature | 4 ++--
 .../05-05-embed-existing-media-image-library.feature          | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/tests/features/varbase/step2-apply-tests/03-admin-management/03-04-image-media-and-their-usage-list-page-for-admins.feature b/tests/features/varbase/step2-apply-tests/03-admin-management/03-04-image-media-and-their-usage-list-page-for-admins.feature
index 9d5bd40e..6206d03e 100644
--- a/tests/features/varbase/step2-apply-tests/03-admin-management/03-04-image-media-and-their-usage-list-page-for-admins.feature
+++ b/tests/features/varbase/step2-apply-tests/03-admin-management/03-04-image-media-and-their-usage-list-page-for-admins.feature
@@ -22,8 +22,8 @@ So that I will be able to manage files, see where they have been used in content
        And I wait
        And I press the "Save" button
        And I wait
-       And I fill in "Flag Earth in space" for "field_image[0][alt]"
-       And I fill in "Flag Earth all earth in space" for "field_image[0][title]"
+       And I fill in "Flag Earth in space" for "field_media_image[0][alt]"
+       And I fill in "Flag Earth all earth in space" for "field_media_image[0][title]"
        And I fill in "Flag Earth" for "Media name"
        And I press the "Save" button
        And I wait
diff --git a/tests/features/varbase/step2-apply-tests/04-content-structure/04-03-landing-page_add-any-paragraph-type-to-the-page.feature b/tests/features/varbase/step2-apply-tests/04-content-structure/04-03-landing-page_add-any-paragraph-type-to-the-page.feature
index 8c800848..2b69d69f 100644
--- a/tests/features/varbase/step2-apply-tests/04-content-structure/04-03-landing-page_add-any-paragraph-type-to-the-page.feature
+++ b/tests/features/varbase/step2-apply-tests/04-content-structure/04-03-landing-page_add-any-paragraph-type-to-the-page.feature
@@ -19,8 +19,8 @@ So that the "Landing page" will show up having paragrpahs of different types
        And I wait
        And I press the "Save" button
        And I wait
-       And I fill in "Embed Flag Earth in space" for "field_image[0][alt]"
-       And I fill in "Embed Flag Earth all earth in space" for "field_image[0][title]"
+       And I fill in "Embed Flag Earth in space" for "field_media_image[0][alt]"
+       And I fill in "Embed Flag Earth all earth in space" for "field_media_image[0][title]"
        And I fill in "Embed Flag Earth" for "Media name"
        And I press the "Save" button
        And I wait
diff --git a/tests/features/varbase/step2-apply-tests/04-content-structure/04-04-landing-page_text-and-image-paragraphs.feature b/tests/features/varbase/step2-apply-tests/04-content-structure/04-04-landing-page_text-and-image-paragraphs.feature
index 7c1061e4..6cb3c0eb 100644
--- a/tests/features/varbase/step2-apply-tests/04-content-structure/04-04-landing-page_text-and-image-paragraphs.feature
+++ b/tests/features/varbase/step2-apply-tests/04-content-structure/04-04-landing-page_text-and-image-paragraphs.feature
@@ -19,8 +19,8 @@ So that the "Landing page" will have text and images in right and left view.
        And I wait
        And I press the "Save" button
        And I wait
-       And I fill in "Embed Flag Earth in space" for "field_image[0][alt]"
-       And I fill in "Embed Flag Earth all earth in space" for "field_image[0][title]"
+       And I fill in "Embed Flag Earth in space" for "field_media_image[0][alt]"
+       And I fill in "Embed Flag Earth all earth in space" for "field_media_image[0][title]"
        And I fill in "Embed Flag Earth" for "Media name"
        And I press the "Save" button
        And I wait
diff --git a/tests/features/varbase/step2-apply-tests/05-content-management/05-03-add-hero-slider-to-entityqueue-using-entityqueue-form-widget.feature b/tests/features/varbase/step2-apply-tests/05-content-management/05-03-add-hero-slider-to-entityqueue-using-entityqueue-form-widget.feature
index e3860c9d..1401b1f3 100644
--- a/tests/features/varbase/step2-apply-tests/05-content-management/05-03-add-hero-slider-to-entityqueue-using-entityqueue-form-widget.feature
+++ b/tests/features/varbase/step2-apply-tests/05-content-management/05-03-add-hero-slider-to-entityqueue-using-entityqueue-form-widget.feature
@@ -18,8 +18,8 @@ I want to be able to add and remove entities to any allowed entityqueue.
       And I wait
       And I press the "Save" button
       And I wait
-      And I fill in "Flag Earth in space" for "field_image[0][alt]"
-      And I fill in "Flag Earth all earth in space" for "field_image[0][title]"
+      And I fill in "Flag Earth in space" for "field_media_image[0][alt]"
+      And I fill in "Flag Earth all earth in space" for "field_media_image[0][title]"
       And I fill in "Flag Earth" for "Media name"
       And I press the "Save" button
       And I wait
diff --git a/tests/features/varbase/step2-apply-tests/05-content-management/05-05-embed-existing-media-image-library.feature b/tests/features/varbase/step2-apply-tests/05-content-management/05-05-embed-existing-media-image-library.feature
index f15215b3..2f77d376 100644
--- a/tests/features/varbase/step2-apply-tests/05-content-management/05-05-embed-existing-media-image-library.feature
+++ b/tests/features/varbase/step2-apply-tests/05-content-management/05-05-embed-existing-media-image-library.feature
@@ -35,8 +35,8 @@ So that it will show up under that rich text field without having to upload the
        And I wait
        And I press the "Save" button
        And I wait
-       And I fill in "Embed Flag Earth in space" for "field_image[0][alt]"
-       And I fill in "Embed Flag Earth all earth in space" for "field_image[0][title]"
+       And I fill in "Embed Flag Earth in space" for "field_media_image[0][alt]"
+       And I fill in "Embed Flag Earth all earth in space" for "field_media_image[0][title]"
        And I fill in "Embed Flag Earth" for "Media name"
        And I press the "Save" button
        And I wait
-- 
GitLab