Created
June 18, 2018 15:15
-
-
Save DMeechan/42b910b6eb03fdc20f25ba7432f82601 to your computer and use it in GitHub Desktop.
DevOps Course Chapter 8 - Automated testing
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
it('is correct', async function() { | |
try { | |
const expectedTitle = 'Example To Do List'; | |
const title = await driver.getTitle(); | |
title.should.equal(expectedTitle); | |
} catch (error) { | |
throw new Error(error); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment