If using assert in Nightwatch, I can use tools like urlContains or something to examine the current URL.
But, I just can't find ways to examine URL with expect namespace.
I think it is not a good practice to mix expect and assert together in the test cases.
If anyone knows how to examine URL using expect, please help to give some examples, thanks...
Aucun commentaire:
Enregistrer un commentaire