From 4c38caae60b65b8c0d445b31531a1f05e92e25a6 Mon Sep 17 00:00:00 2001
From: Rajab Natshah <rajabn@gmail.com>
Date: Sun, 30 Sep 2018 18:36:44 +0300
Subject: [PATCH] Issue #2998212: Changed the Automated Functional Acceptance
 Testing to work with media library - only at the media admin content page

---
 drupal-org.make                                           | 3 ---
 ...age-media-and-their-usage-list-page-for-admins.feature | 8 ++++----
 ...anding-page_add-any-paragraph-type-to-the-page.feature | 2 +-
 .../04-04-landing-page_text-and-image-paragraphs.feature  | 2 +-
 ...-entityqueue-using-entityqueue-form-widget.feature.wip | 2 +-
 .../05-05-embed-existing-media-image-library.feature.wip  | 2 +-
 6 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/drupal-org.make b/drupal-org.make
index 2deacbc8..28aee192 100644
--- a/drupal-org.make
+++ b/drupal-org.make
@@ -113,9 +113,6 @@ projects[entity_embed][patch][] = https://www.drupal.org/files/issues/2018-04-23
 projects[inline_entity_form][type] = module
 projects[inline_entity_form][version] = 1.0-rc1
 
-projects[video_embed_field][type] = module
-projects[video_embed_field][version] = 2.0
-
 projects[media_entity_instagram][type] = module
 projects[media_entity_instagram][version] = 2.0-alpha2
 
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 d6e006c0..30a71700 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
@@ -8,7 +8,7 @@ So that I will be able to manage files, see where they have been used in content
 
   @javascript @local @development @staging @production
   Scenario: Check if content admins can access the content files page.
-     When I go to "admin/content/media"
+     When I go to "admin/content/media-table"
       And I wait
      Then I should see "Add media"
       And I should not see "Access denied"
@@ -29,13 +29,13 @@ So that I will be able to manage files, see where they have been used in content
        And I wait
       Then I should see "Flag Earth"
        And I wait
-      When I go to "/admin/content/media"
+      When I go to "admin/content/media-table"
       Then I should see "Add media"
        And I should see the "Edit" in the "Flag Earth" row
 
   @javascript @local @development @staging @production
   Scenario: Check if content admins can edit files.
-     When I go to "admin/content/media"
+     When I go to "admin/content/media-table"
       And I wait
      Then I should see "Add media"
      When I fill in "Flag Earth" for "edit-name"
@@ -55,7 +55,7 @@ So that I will be able to manage files, see where they have been used in content
 
   @javascript @local @development @staging @production
   Scenario: Check if content admins can delete files.
-     When I go to "admin/content/media"
+     When I go to "admin/content/media-table"
       And I wait
      Then I should see "Add media"
      When I fill in "Flag Earth after edit" for "edit-name"
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 57c88ce3..ece59a2b 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
@@ -6,7 +6,7 @@ So that the "Landing page" will show up having paragrpahs of different types
  @local @development @staging @production
   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"
+      When I go to "admin/content/media-table"
        And I wait
       Then I should see "Add media"
       When I click "Add media"
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 5f12632f..abeb0ca1 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
@@ -6,7 +6,7 @@ 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.
      Given I am a logged in user with the "test_site_admin" user
-      When I go to "/admin/content/media"
+      When I go to "admin/content/media-table"
        And I wait
       Then I should see "Add media"
       When I click "Add media"
diff --git a/tests/features/varbase/step2-apply-tests/05-content-management/05-03-add-hero-slider-to-entityqueue-using-entityqueue-form-widget.feature.wip b/tests/features/varbase/step2-apply-tests/05-content-management/05-03-add-hero-slider-to-entityqueue-using-entityqueue-form-widget.feature.wip
index 34cf8722..a46f4bb2 100644
--- a/tests/features/varbase/step2-apply-tests/05-content-management/05-03-add-hero-slider-to-entityqueue-using-entityqueue-form-widget.feature.wip
+++ b/tests/features/varbase/step2-apply-tests/05-content-management/05-03-add-hero-slider-to-entityqueue-using-entityqueue-form-widget.feature.wip
@@ -5,7 +5,7 @@ I want to be able to add and remove entities to any allowed entityqueue.
 @local @development @staging @production
   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"
+     When I go to "admin/content/media-table"
       And I wait
      Then I should see "Add media"
      When I click "Add media"
diff --git a/tests/features/varbase/step2-apply-tests/05-content-management/05-05-embed-existing-media-image-library.feature.wip b/tests/features/varbase/step2-apply-tests/05-content-management/05-05-embed-existing-media-image-library.feature.wip
index dd117a61..d84524ef 100644
--- a/tests/features/varbase/step2-apply-tests/05-content-management/05-05-embed-existing-media-image-library.feature.wip
+++ b/tests/features/varbase/step2-apply-tests/05-content-management/05-05-embed-existing-media-image-library.feature.wip
@@ -20,7 +20,7 @@ So that it will show up under that rich text field without having to upload the
 
    @local @development @staging @production
    Scenario: Upload the "Embed Flag Earth" file.
-      When I go to "/admin/content/media"
+      When I go to "admin/content/media-table"
        And I wait
       Then I should see "Add media"
       When I click "Add media"
-- 
GitLab