FIX: Remove broken test, add descriptions

This commit is contained in:
Robin Ward 2015-08-25 17:34:26 -04:00
parent c5460b7d3f
commit b5b099d372
1 changed files with 9 additions and 10 deletions

View File

@ -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');
});
});