2016-05-05 12:49:12 -04:00
|
|
|
import { acceptance } from "helpers/qunit-helpers";
|
|
|
|
acceptance("Topic Discovery - Mobile", { mobileView: true });
|
|
|
|
|
2018-07-19 06:12:00 -04:00
|
|
|
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");
|
2016-05-05 12:49:12 -04:00
|
|
|
|
2018-07-19 06:12:00 -04:00
|
|
|
await visit("/categories");
|
|
|
|
assert.ok(exists(".category"), "has a list of categories");
|
2017-06-14 13:57:58 -04:00
|
|
|
});
|