From 75cf9c327b0a41d5298c6dce4b3a45f81d8c6bfb Mon Sep 17 00:00:00 2001
From: Matthieu Aubry <mattab@users.noreply.github.com>
Date: Thu, 13 Oct 2016 16:24:21 +1300
Subject: [PATCH] revert file to master

---
 tests/UI/specs/SegmentSelectorEditor_spec.js | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/tests/UI/specs/SegmentSelectorEditor_spec.js b/tests/UI/specs/SegmentSelectorEditor_spec.js
index 760df10997..1caf61b5fe 100644
--- a/tests/UI/specs/SegmentSelectorEditor_spec.js
+++ b/tests/UI/specs/SegmentSelectorEditor_spec.js
@@ -8,8 +8,6 @@
  */
 
 describe("SegmentSelectorEditorTest", function () {
-    this.retries(3);
-
     var selectorsToCapture = ".segmentEditorPanel,.segmentEditorPanel .dropdown-body,.segment-element";
     
     this.timeout(0);
@@ -26,18 +24,16 @@ describe("SegmentSelectorEditorTest", function () {
     it("should open selector when control clicked", function (done) {
         expect.screenshot("1_selector_open").to.be.captureSelector(selectorsToCapture, function (page) {
             page.click('.segmentationContainer .title');
-            page.wait(1000);
         }, done);
     });
 
     it("should open segment editor when edit link clicked for existing segment", function (done) {
+
         this.retries(3);
 
         expect.screenshot("2_segment_editor_update").to.be.captureSelector(selectorsToCapture, function (page) {
-            setTimeout(function () {
-                page.click('.segmentList .editSegment:first');
-            }, 500);
-            page.wait(2000);
+            page.click('.segmentList .editSegment:first');
+            page.wait(1000);
         }, done);
     });
 
-- 
GitLab