Created
March 2, 2017 09:56
-
-
Save giltayar/be1598e3c49874031a7e32a833cdf396 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
// ... | |
const retry = require('promise-retry') | |
// ... | |
it('should work', async function () { | |
await driver.get('http://localhost:8080') | |
await retry(async () => { | |
const title = await driver.getTitle() | |
expect(title).to.equal('Calculator') | |
}) | |
//... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment