mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:16:08 +08: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"]);
|
||||
});
|
||||
|
||||
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 => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user