mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 03:33:43 +08:00
18 lines
432 B
JavaScript
18 lines
432 B
JavaScript
import { acceptance } from "helpers/qunit-helpers";
|
|
acceptance("User Directory");
|
|
|
|
test("Visit Page", function() {
|
|
visit("/users");
|
|
andThen(() => {
|
|
ok($('body.users-page').length, "has the body class");
|
|
ok(exists('.directory table tr'), "has a list of users");
|
|
});
|
|
});
|
|
|
|
test("Visit All Time", function() {
|
|
visit("/users?period=all");
|
|
andThen(() => {
|
|
ok(exists('.time-read'), "has time read column");
|
|
});
|
|
});
|