mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
14 lines
404 B
JavaScript
14 lines
404 B
JavaScript
import { acceptance } from "helpers/qunit-helpers";
|
|
|
|
acceptance("Header (Staff)", { loggedIn: true });
|
|
|
|
test("header", () => {
|
|
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-header"), "has showing / hiding user-dropdown links correctly bound");
|
|
});
|
|
});
|