Last active
March 10, 2018 14:56
-
-
Save loujaybee/cb031710f11067efb1526bd4c0c1c2b1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('GIVEN I am not an admin user', function () { | |
describe('WHEN Navigate to the page /admin ', function () { | |
it('THEN I see a warning box stating: "You do not have access to this page" ', () => { | |
Page.navigate('/admin') | |
expect(Page.elementContains('#error-message', 'You do not have access to this page')).toBeTrue(); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment