mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 05:50:14 +08:00
12 lines
424 B
JavaScript
12 lines
424 B
JavaScript
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");
|
|
});
|