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
I am using Nightwatch + Cucumber for some automated tests and I noticed that when a element can't be found then functions like click and sendKeys won't fail the test. The error message is shown in the console like: An error occurred while running .sendKeys() command on <.demo>: Timed out while waiting for element ".demo" with "css selector" to be present for 5000 milliseconds.
but the rest of the test will continue. My nightwatch default profile includes those flags:
I am using Nightwatch + Cucumber for some automated tests and I noticed that when a element can't be found then functions like click and sendKeys won't fail the test. The error message is shown in the console like:
An error occurred while running .sendKeys() command on <.demo>: Timed out while waiting for element ".demo" with "css selector" to be present for 5000 milliseconds.
but the rest of the test will continue. My nightwatch default profile includes those flags:
Here is some example code (notice that i am using the page object model)
Also, is it correct to not chain the commands?
The text was updated successfully, but these errors were encountered: