discourse/test/javascripts/acceptance/header-test-staff.js.es6

15 lines
397 B
Plaintext
Raw Normal View History

import { acceptance } from "helpers/qunit-helpers";
acceptance("Header (Staff)", { loggedIn: true });
2014-08-01 02:17:18 +08:00
test("header", () => {
2014-08-01 02:17:18 +08:00
visit("/");
// User dropdown
click("#current-user");
andThen(() => {
ok(exists(".user-menu:visible"), "is lazily rendered after user opens it");
ok(exists(".user-menu .menu-links"), "has showing / hiding user-dropdown links correctly bound");
2014-08-01 02:17:18 +08:00
});
});