Last active
March 1, 2019 22:51
-
-
Save jtorreggiani/a8e537ccf08fc88ad9b121d2ff5b3928 to your computer and use it in GitHub Desktop.
Updated assertion
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('has home page text', async () => { | |
const heading = await browser.$('h1') | |
await expect(heading.getText()).resolves.toEqual('Home') | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment