Skip to content

A platform for community discussion. Free, open, simple.

Remove flaky test

Penar Musaraj528a7c577ab5
diff --git a/test/javascripts/acceptance/search-mobile-test.js.es6 b/test/javascripts/acceptance/search-mobile-test.js.es6
index 98e7c020dbf..3f16a6982c3 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"
- );
});