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