2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

DEV: Skip time-dependent bookmark test

This commit is contained in:
David Taylor 2020-05-05 09:50:50 +01:00
parent 03818e642a
commit 04e4932307
No known key found for this signature in database
GPG key ID: 46904C18B1D3F434

View file

@ -196,7 +196,11 @@ test("Editing a bookmark", async assert => {
assert.verifySteps(["tomorrow"]);
});
test("Editing a bookmark that has a Later Today reminder, and it is before 6pm today", async assert => {
QUnit.skip(
"Editing a bookmark that has a Later Today reminder, and it is before 6pm today",
async assert => {
// This test needs to mock the current time. sandbox.useFakeTimers() seems to break the `visit` step
mockSuccessfulBookmarkPost(assert);
await visit("/t/internationalization-localization/280");
await openBookmarkModal();
@ -212,4 +216,5 @@ test("Editing a bookmark that has a Later Today reminder, and it is before 6pm t
"it preselects Later Today"
);
assert.verifySteps(["later_today"]);
});
}
);