Skip to content

A platform for community discussion. Free, open, simple.

Fixing test

Krisafec673c2bfc
diff --git a/test/javascripts/acceptance/tags-test.js.es6 b/test/javascripts/acceptance/tags-test.js.es6
index 5b4e1d0c0a5..4fb062a7711 100644
--- a/test/javascripts/acceptance/tags-test.js.es6
+++ b/test/javascripts/acceptance/tags-test.js.es6
@@ -5,7 +5,7 @@ QUnit.test("list the tags", async assert => {
await visit("/tags");
assert.ok($("body.tags-page").length, "has the body class");
- assert.ok(exists(".tag-eviltrout"), "shows the evil trout tag");
+ assert.ok($('*[data-tag-name="eviltrout"]').length, "shows the eviltrout tag");
});
acceptance("Tags listed by group", {