Skip to content

Instantly share code, notes, and snippets.

@tildedave
Created November 13, 2015 00:34
Show Gist options
  • Save tildedave/06642a51242cfdbfa24c to your computer and use it in GitHub Desktop.
Save tildedave/06642a51242cfdbfa24c to your computer and use it in GitHub Desktop.
client
.page.homepage().load()
.signUpEmailUser('UserMenu Tester')
.whenDesktop(function() {
client.page.navbar().verifyUserName('UserMenu Tester');
})
.pause(500)
.page.navbar().openUserMenu()
.whenDesktop(function() {
return client.page.navbar().verifyProfileLink();
})
.page.navbar().verifySettingsLink()
.page.navbar().verifyInviteFriendsLink()
.page.navbar().verifyLogoutLink()
.end();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment