Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // a very short TestCafe test suite
- fixture('Admin user')
- test('Create posts journey', t => {
- const postTitle = 'Hello testing'
- return t
- .typeText(ReactSelector('PostCreator FormControl'), postTitle)
- .click(ReactSelector('PostCreator Button'))
- .expect(ReactSelector('Post').first().find('label').innerText)
- .eql(postTitle)
- })
Add Comment
Please, Sign In to add comment