FIX: Focus tests are unreliable in qunit

I doubt they'll regress so let's remove them for now.
This commit is contained in:
Robin Ward 2020-07-20 15:44:29 -04:00
parent 5e5973cabe
commit 44cfa25d7d

View File

@ -230,15 +230,6 @@ test("Editing a bookmark", async assert => {
assert.verifySteps(["tomorrow"]);
});
test("Opening bookmark modal on desktop should auto-focus name", async assert => {
mockSuccessfulBookmarkPost(assert);
await visit("/t/internationalization-localization/280");
await openBookmarkModal();
assert.equal($("#bookmark-name").is(":focus"), true);
});
acceptance("Bookmarking - Mobile", {
loggedIn: true,
mobileView: true,
@ -247,15 +238,6 @@ acceptance("Bookmarking - Mobile", {
}
});
test("Opening bookmark modal on mobile should not auto-focus name", async assert => {
mockSuccessfulBookmarkPost(assert);
await visit("/t/internationalization-localization/280");
await openBookmarkModal();
assert.equal($("#bookmark-name").is(":focus"), false);
});
QUnit.skip(
"Editing a bookmark that has a Later Today reminder, and it is before 6pm today",
async assert => {