-
-
Save seunzone/30bf13ad07b29ab38aa051e6ba69e364 to your computer and use it in GitHub Desktop.
testcafe
This file contains 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
import { Selector } from 'testcafe'; | |
const title = Selector('h4'); | |
fixture('Test') | |
.page('http://localhost:5000'); | |
test('Test', async (t) => { | |
await t | |
.expect(title.innerText).eql('My Todo List') | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment