mercredi 17 juin 2020

testcafe: better error messages for native dialogs

I'm testing an app that should never show a native dialog, so if one ever pops up, it should be in error. By default, testcafe does fail if you don't have a handler. That's the behavior I want. But the thing is, It doesn't tell you what the dialog said in the testcafe error message. How do I make native dialogs fail, but still report the alert text?

Aucun commentaire:

Enregistrer un commentaire