mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 09:52:01 +08:00
Remove flaky test
This commit is contained in:
parent
e89cec7550
commit
528a7c577a
|
@ -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"
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user