Created
June 18, 2018 15:16
-
-
Save DMeechan/23e9348d4ee89e5fe22f4e32481439e6 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('lists four tasks', async function() { | |
try { | |
const list = await driver.findElements(By.tagName("li")); | |
list.length.should.equal(4); | |
} catch (error) { | |
throw new Error(error); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment