nightwatch-custom-commands-assertions
nightwatch-custom-commands-assertions copied to clipboard
waitForText doesn't work with locateStrategy property of selector inside of Page Object
Which locateStrategy did you use?
I use pageObject element with locateStrategy: 'xpath'
Ok, I'll test it
I did some tests and it does not even work with css. I've opened an issue in nightwatch: https://github.com/nightwatchjs/nightwatch/issues/787
EDIT: the new 1.0.5 version along with this pull request to nightwatch will fix it: https://github.com/nightwatchjs/nightwatch/pull/796 (if you want to install this version momentarily, use npm install -g git://github.com:maxgalbu/nightwatch#maxgalbu-patch-1)