simpler post-date test to avoid tz differences (#7050)
This commit is contained in:
parent
81c31b331d
commit
70aec8d02a
|
@ -85,9 +85,10 @@ QUnit.test("Post date link", async assert => {
|
|||
"it doesn’t show the invite tab"
|
||||
);
|
||||
|
||||
assert.equal(
|
||||
find(".share-and-invite.modal .modal-panel.share .title").text(),
|
||||
"Post #2, Feb 5, '13 10:32 PM",
|
||||
assert.ok(
|
||||
find(".share-and-invite.modal .modal-panel.share .title")
|
||||
.text()
|
||||
.includes("Post #2, Feb"),
|
||||
"it shows the post number with the date"
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue