Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #27 from miherlosev/master
Browse files Browse the repository at this point in the history
fix example
  • Loading branch information
miherlosev authored Sep 20, 2017
2 parents 7dfe145 + f5418a0 commit 84f9bb0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,13 @@ fixture `TODO list test`
.page('http://localhost:1337');

test('Check list item', async t => {
const todoItem = VueSelector('todo-item');
const todoItem = VueSelector('todo-item');
const todoItemVue = await todoItem.getVue();

await t
.expect(todoItem.getVue().props.priority).eql('High')
.expect(todoItem.getVue().state.isActive).eql(false)
.expect(todoItem.getVue().computed.text).eql('Item 1');
.expect(todoItemVue.props.priority).eql('High')
.expect(todoItemVue.state.isActive).eql(false)
.expect(todoItemVue.computed.text).eql('Item 1');
});
```

Expand Down

0 comments on commit 84f9bb0

Please sign in to comment.