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:
parent
087872484b
commit
2280276fdd
@ -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>
|
||||
|
@ -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");
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user