Skip to content

Commit

Permalink
use innerText instead of value
Browse files Browse the repository at this point in the history
  • Loading branch information
kmadel committed Sep 14, 2018
1 parent 8c4bcf0 commit 7d51e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ test('Check message header', async t => {
const messageHeader = Selector('#message');

await t
.expect(messageHeader.value).contains('Hello World', 'message header contains text "Hello World"');
.expect(messageHeader.innerText).contains('Hello World', 'message header contains text "Hello World"');
});

0 comments on commit 7d51e60

Please sign in to comment.