Last active
February 9, 2018 08:12
-
-
Save vzaidman/2c3f2c6ce2f5245f4e4c04cfe6e3f433 to your computer and use it in GitHub Desktop.
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'; | |
fixture `Getting Started` | |
.page `https://devexpress.github.io/testcafe/example` | |
// Own testing structure | |
test('My first test', async t => { | |
await t | |
.typeText('#developer-name', 'John Smith') | |
.click('#submit-button') | |
.expect(Selector('#article-header').innerText) | |
.eql('Thank you, John Smith!') | |
}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment