discourse/test/javascripts/acceptance/mobile-discovery-test.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
424 B
JavaScript
Raw Normal View History

import { acceptance } from "helpers/qunit-helpers";
acceptance("Topic Discovery - Mobile", { mobileView: true });
QUnit.test("Visit Discovery Pages", async assert => {
await visit("/");
assert.ok(exists(".topic-list"), "The list of topics was rendered");
assert.ok(exists(".topic-list .topic-list-item"), "has topics");
await visit("/categories");
assert.ok(exists(".category"), "has a list of categories");
2017-06-15 01:57:58 +08:00
});