discourse/test/javascripts/acceptance/group-card-test.js.es6
2018-06-15 17:03:24 +02:00

15 lines
339 B
JavaScript

import { acceptance } from "helpers/qunit-helpers";
acceptance("Group Card");
QUnit.test("group card", assert => {
visit("/t/301/1");
assert.ok(invisible("#group-card"), "user card is invisible by default");
click("a.mention-group:first");
andThen(() => {
assert.ok(visible("#group-card"), "card should appear");
});
});