Skip to content

Commit 342c386

Browse files
committed
fix: there's a command response format change in nightwatch v2
nightwatchjs/nightwatch#2821
1 parent b78a003 commit 342c386

File tree

1 file changed

+1
-1
lines changed
  • packages/@vue/cli-plugin-e2e-nightwatch/generator/template/tests/e2e/custom-commands

1 file changed

+1
-1
lines changed

packages/@vue/cli-plugin-e2e-nightwatch/generator/template/tests/e2e/custom-commands/openHomepage.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ module.exports = {
1818
this.waitForElementVisible('#app')
1919

2020
const result = await this.elements('css selector', '#app ul')
21-
this.assert.strictEqual(result.value.length, 3)
21+
this.assert.strictEqual(result.length, 3)
2222
}
2323
}

0 commit comments

Comments
 (0)