diff --git a/test/javascripts/acceptance/hamburger-menu-test.js.es6 b/test/javascripts/acceptance/hamburger-menu-test.js.es6 index 0dc9d2ca3..2fad102fb 100644 --- a/test/javascripts/acceptance/hamburger-menu-test.js.es6 +++ b/test/javascripts/acceptance/hamburger-menu-test.js.es6 @@ -23,17 +23,16 @@ 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 .admin-link"), 'does not have admin link'); + assert.ok(!exists("#hamburger-menu .flagged-posts-link"), 'does not have flagged posts link'); - assert.ok(exists("#hamburger-menu .latest-topics-link")); - assert.ok(exists("#hamburger-menu .badge-link")); - assert.ok(exists("#hamburger-menu .user-directory-link")); - assert.ok(exists("#hamburger-menu .keyboard-shortcuts-link")); - assert.ok(exists("#hamburger-menu .faq-link")); - assert.ok(exists("#hamburger-menu .about-link")); - assert.ok(exists("#hamburger-menu .categories-link")); + assert.ok(exists("#hamburger-menu .latest-topics-link"), 'last link to latest'); + assert.ok(exists("#hamburger-menu .badge-link"), 'has link to badges'); + assert.ok(exists("#hamburger-menu .user-directory-link"), 'has user directory link'); + assert.ok(exists("#hamburger-menu .faq-link"), 'has faq link'); + assert.ok(exists("#hamburger-menu .about-link"), 'has about link'); + assert.ok(exists("#hamburger-menu .categories-link"), 'has categories link'); - assert.ok(exists('#hamburger-menu .category-link')); + assert.ok(exists('#hamburger-menu .category-link'), 'has at least one category'); }); });