From 0b4507c26e74b55d7c6859f9b35531e66c7f673c Mon Sep 17 00:00:00 2001
From: Rajab Natshah <rajabn@gmail.com>
Date: Sat, 5 Oct 2019 15:42:51 +0300
Subject: [PATCH] Issue #3085506: Change [ Feature: Content Management - Add
 hero slider to entity queue using entity queue form widget] Automated
 Functional Acceptance Testing

---
 ...ityqueue-using-entityqueue-form-widget.feature | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

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 d5806b8d..a0312432 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
@@ -43,14 +43,13 @@ I want to be able to add and remove entities to any allowed entity queue.
       And I wait for AJAX to finish
      Then the "entity_browser_iframe_media_browser" media browser should be open
      When I switch to iframe "entity_browser_iframe_media_browser"
-      And I wait 3s
-      And I fill in "Flag Earth" for "name"
+      And wait max of 5s
+     Then I should see "Media name"
+     When I fill in "Flag Earth" for "Media name"
       And I press the "Search" button
       And wait max of 5s
      Then I should see image with the "Flag Earth all earth in space" title text
      When I double click on the image with the "Flag Earth all earth in space" title text
-      And I wait for AJAX to finish
-      And wait max of 5s
       And I wait for AJAX to finish
       And wait max of 5s
       And I switch to main frame
@@ -76,16 +75,14 @@ I want to be able to add and remove entities to any allowed entity queue.
       And I wait for AJAX to finish
      Then the "entity_browser_iframe_media_browser" media browser should be open
      When I switch to iframe "entity_browser_iframe_media_browser"
-      And I wait 3s
-      And I fill in "Flag Earth" for "name"
+      And wait max of 5s
+     Then I should see "Media name"
+     When I fill in "Flag Earth" for "Media name"
       And I press the "Search" button
       And wait max of 5s
      Then I should see image with the "Flag Earth all earth in space" title text
      When I double click on the image with the "Flag Earth all earth in space" title text
       And I wait for AJAX to finish
-      And wait max of 5s
-      And I wait for AJAX to finish
-      And wait max of 5s
       And I switch to main frame
       And I wait for AJAX to finish
       And wait max of 5s
-- 
GitLab