You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I receive a Nightwatch Assertion Error due to an expect statement against an element, the error message abruptly ends if the element's css selector contains multiple hyphens:
Steps to reproduce
Locate element with a css selector that contains multiple hyphens, such as [data-test-name="item"]
Force an expect statement to fail, such as browser.expect.elements('@testItem').count.to.equal(10); (instead of 1)
Open Test Runner to view failure message, NightwatchAssertError is cut off at Expected elements <[data test
Sample test
No response
Command to run
No response
Verbose Output
No response
Nightwatch Configuration
No response
Nightwatch.js Version
3.3.0
Node Version
20.4.0
Browser
Chrome 119
Operating System
MacOS Ventura 13.6
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Another example of this issue happening is with URL's with multiple hyphens. Running a known failing expect or assertion statement will not display the whole URL:
Description of the bug/issue
When I receive a Nightwatch Assertion Error due to an expect statement against an element, the error message abruptly ends if the element's css selector contains multiple hyphens:
Steps to reproduce
[data-test-name="item"]
browser.expect.elements('@testItem').count.to.equal(10);
(instead of 1)Expected elements <[data test
Sample test
No response
Command to run
No response
Verbose Output
No response
Nightwatch Configuration
No response
Nightwatch.js Version
3.3.0
Node Version
20.4.0
Browser
Chrome 119
Operating System
MacOS Ventura 13.6
Additional Information
No response
The text was updated successfully, but these errors were encountered: