Skip to content

Commit

Permalink
fix: there's a command response format change in nightwatch v2
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea committed Feb 8, 2022
1 parent b78a003 commit 342c386
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -18,6 +18,6 @@ module.exports = {
this.waitForElementVisible('#app')

const result = await this.elements('css selector', '#app ul')
this.assert.strictEqual(result.value.length, 3)
this.assert.strictEqual(result.length, 3)
}
}

0 comments on commit 342c386

Please sign in to comment.