mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-12 08:41:23 -05:00
16 lines
429 B
Text
16 lines
429 B
Text
|
import { acceptance } from "helpers/qunit-helpers";
|
||
|
acceptance("Topic Discovery - Mobile", { mobileView: true });
|
||
|
|
||
|
test("Visit Discovery Pages", () => {
|
||
|
visit("/");
|
||
|
andThen(() => {
|
||
|
ok(exists(".topic-list"), "The list of topics was rendered");
|
||
|
ok(exists('.topic-list .topic-list-item'), "has topics");
|
||
|
});
|
||
|
|
||
|
visit("/categories");
|
||
|
andThen(() => {
|
||
|
ok(exists('.category'), "has a list of categories");
|
||
|
});
|
||
|
});
|