Created
March 2, 2017 06:13
-
-
Save giltayar/804fa433fd5e405e569b0cc06edb6420 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 {prepareDriver, cleanupDriver} = require('../utils/browser-automation') | |
//... | |
describe('calculator app', function () { | |
let driver | |
... | |
before(async () => { | |
driver = await prepareDriver() | |
}) | |
after(() => cleanupDriver(driver)) | |
it('should work', async function () { | |
await driver.get('http://localhost:8080') | |
//... | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment