mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 08:03:38 +08:00
14 lines
376 B
JavaScript
14 lines
376 B
JavaScript
import { acceptance } from "helpers/qunit-helpers";
|
|
acceptance("About");
|
|
|
|
test("viewing", () => {
|
|
visit("/about");
|
|
andThen(() => {
|
|
ok($('body.about-page').length, "has body class");
|
|
ok(exists('.about.admins .user-info'), 'has admins');
|
|
ok(exists('.about.moderators .user-info'), 'has moderators');
|
|
ok(exists('.about.stats tr td'), 'has stats');
|
|
});
|
|
});
|
|
|