Created
June 18, 2018 15:16
-
-
Save DMeechan/010bc606f2f0eca442be0029e5fecd8d 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('contains DevOps course task', async function() { | |
try { | |
const expectedValue = "Finish DevOps course"; | |
const matchingTasks = await driver.findElements(By.css(`li[value="${expectedValue}"]`)); | |
matchingTasks.length.should.equal(1); | |
} catch (error) { | |
throw new Error(error); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment