Removed unused user menu items and linked "Help / Support" to the right place

Also updated CasperJS tests to support changes
This commit is contained in:
Matthew Harrison-Jones 2013-09-10 15:05:42 +01:00
parent 087872484b
commit 2280276fdd
2 changed files with 2 additions and 4 deletions

View File

@ -15,8 +15,7 @@
<ul class="overlay">
<li class="usermenu-profile"><a href="/ghost/settings/user">Your Profile</a></li>
<li class="divider"></li>
<li class="usermenu-help"><a href="#">Help / Support</a></li>
<li class="usermenu-shortcuts"><a href="#">Keyboard Shortcuts</a></li>
<li class="usermenu-help"><a href="http://forum.tryghost.org">Help / Support</a></li>
<li class="divider"></li>
<li class="usermenu-signout"><a href="/signout/">Sign Out</a></li>
</ul>

View File

@ -1,6 +1,6 @@
/*globals casper, __utils__, url */
casper.test.begin("Ghost dashboard is correct", 13, function suite(test) {
casper.test.begin("Ghost dashboard is correct", 12, function suite(test) {
test.filename = "dashboard_test.png";
casper.start(url + "ghost", function testTitleAndUrl() {
@ -19,7 +19,6 @@ casper.test.begin("Ghost dashboard is correct", 13, function suite(test) {
test.assertExists("#usermenu", "User menu is present");
test.assertSelectorHasText("#usermenu .usermenu-profile a", "Your Profile");
test.assertSelectorHasText("#usermenu .usermenu-help a", "Help / Support");
test.assertSelectorHasText("#usermenu .usermenu-shortcuts a", "Keyboard Shortcuts");
test.assertSelectorHasText("#usermenu .usermenu-signout a", "Sign Out");
});