mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
13 lines
451 B
JavaScript
13 lines
451 B
JavaScript
import { acceptance } from "helpers/qunit-helpers";
|
|
|
|
acceptance("Hamburger Menu - Staff", { loggedIn: true });
|
|
|
|
test("Menu Items", (assert) => {
|
|
visit("/");
|
|
click("#toggle-hamburger-menu");
|
|
andThen(() => {
|
|
assert.ok(exists(".hamburger-panel .admin-link"));
|
|
assert.ok(exists(".hamburger-panel .flagged-posts-link"));
|
|
assert.ok(exists(".hamburger-panel .flagged-posts.badge-notification"), "it displays flag notifications");
|
|
});
|
|
});
|