DEV: Remove flaky acceptance test (#17045)

The test was un-skipped in 6f25f1736031184ac05fc4059edde772a7e3bf56 but
has since been flaky again. Removing the test completely as it has
resulted in more pain for us than the value the test provides.
This commit is contained in:
Alan Guo Xiang Tan 2022-06-09 09:56:05 +08:00 committed by GitHub
parent 9db8f00b3d
commit 03f674070a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,18 +36,4 @@ acceptance("Jump to", function (needs) {
"it jumps to the correct post"
);
});
test("invalid date", async function (assert) {
await visit("/t/internationalization-localization/280");
await click("nav#topic-progress .nums");
await click("button.jump-to-post");
await fillIn("input.date-picker", "2094-02-24");
await click(".jump-to-post-modal .btn-primary");
assert.strictEqual(
currentURL(),
"/t/internationalization-localization/280/20",
"it jumps to the last post if no post found"
);
});
});