mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 14:55:21 +08:00
14 lines
448 B
Plaintext
14 lines
448 B
Plaintext
|
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-menu .admin-link"));
|
||
|
assert.ok(exists("#hamburger-menu .flagged-posts-link"));
|
||
|
assert.ok(exists("#hamburger-menu .flagged-posts.badge-notification"), "it displays flag notifications");
|
||
|
});
|
||
|
});
|