fix tests (#7849)

fix tests (#7849)

diff --git a/test/javascripts/acceptance/group-card-mobile-test.js.es6 b/test/javascripts/acceptance/group-card-mobile-test.js.es6
index c16a7d8..1024cbc 100644
--- a/test/javascripts/acceptance/group-card-mobile-test.js.es6
+++ b/test/javascripts/acceptance/group-card-mobile-test.js.es6
@@ -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"
diff --git a/test/javascripts/acceptance/group-card-test.js.es6 b/test/javascripts/acceptance/group-card-test.js.es6
index e64a86b..1f6ffdd 100644
--- a/test/javascripts/acceptance/group-card-test.js.es6
+++ b/test/javascripts/acceptance/group-card-test.js.es6
@@ -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");
diff --git a/test/javascripts/acceptance/topic-test.js.es6 b/test/javascripts/acceptance/topic-test.js.es6
index 9760ffe..0e9c235 100644
--- a/test/javascripts/acceptance/topic-test.js.es6
+++ b/test/javascripts/acceptance/topic-test.js.es6
@@ -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"

GitHub sha: 1c6bb874

1 Like