mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Focus tests are unreliable in qunit
I doubt they'll regress so let's remove them for now.
This commit is contained in:
parent
5e5973cabe
commit
44cfa25d7d
@ -230,15 +230,6 @@ test("Editing a bookmark", async assert => {
|
|||||||
assert.verifySteps(["tomorrow"]);
|
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", {
|
acceptance("Bookmarking - Mobile", {
|
||||||
loggedIn: true,
|
loggedIn: true,
|
||||||
mobileView: 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(
|
QUnit.skip(
|
||||||
"Editing a bookmark that has a Later Today reminder, and it is before 6pm today",
|
"Editing a bookmark that has a Later Today reminder, and it is before 6pm today",
|
||||||
async assert => {
|
async assert => {
|
||||||
|
Loading…
Reference in New Issue
Block a user