Alternate Login

Remove flaky test

Remove flaky test

diff --git a/test/javascripts/acceptance/search-mobile-test.js.es6 b/test/javascripts/acceptance/search-mobile-test.js.es6
index 98e7c02..3f16a69 100644
--- a/test/javascripts/acceptance/search-mobile-test.js.es6
+++ b/test/javascripts/acceptance/search-mobile-test.js.es6
@@ -18,7 +18,6 @@ QUnit.test("search", async assert => {
 
   assert.ok(find(".fps-topic").length === 1, "has one post");
 
-  await $(document).scrollTop(200);
   await click("#search-button");
 
   assert.equal(
@@ -26,9 +25,4 @@ QUnit.test("search", async assert => {
     "posts",
     "it does not reset input when hitting search icon again"
   );
-  assert.equal(
-    $(document).scrollTop(),
-    0,
-    "it scrolls back to top of document"
-  );
 });

GitHub sha: 528a7c57

1 Like