fix tests (#7849)
This commit is contained in:
parent
3d64532273
commit
1c6bb8748b
|
@ -4,7 +4,7 @@ import DiscourseURL from "discourse/lib/url";
|
|||
acceptance("Group Card - Mobile", { mobileView: true });
|
||||
|
||||
QUnit.skip("group card", async assert => {
|
||||
await visit("/t/301/1");
|
||||
await visit("/t/-/301/1");
|
||||
assert.ok(
|
||||
invisible("#group-card"),
|
||||
"mobile group card is invisible by default"
|
||||
|
|
|
@ -4,7 +4,7 @@ import DiscourseURL from "discourse/lib/url";
|
|||
acceptance("Group Card");
|
||||
|
||||
QUnit.test("group card", async assert => {
|
||||
await visit("/t/301/1");
|
||||
await visit("/t/-/301/1");
|
||||
assert.ok(invisible("#group-card"), "user card is invisible by default");
|
||||
|
||||
await click("a.mention-group:first");
|
||||
|
|
|
@ -195,7 +195,7 @@ acceptance("Topic featured links", {
|
|||
});
|
||||
|
||||
QUnit.test("remove featured link", async assert => {
|
||||
await visit("/t/299/1");
|
||||
await visit("/t/-/299/1");
|
||||
assert.ok(
|
||||
exists(".title-wrapper .topic-featured-link"),
|
||||
"link is shown with topic title"
|
||||
|
|
Loading…
Reference in New Issue