Using Protractor, I spotted that wished fail output is replaced by just absent element message. For instance:
await expect(await login.mainError.getText()).toBe('We do not recognize that email.', `Actual login error message: ${blabla }does not match expected: 'TEST CORRECT'`)
instead of seeing this when test failing:
ERROR: Actual login error message: ${blabla }does not match expected: 'TEST CORRECT'
I primitively see
Failed: No element found using locator: By(css selector, .common-form-error)
Do I do something expectationOutPut is not relevant? Thanks
Aucun commentaire:
Enregistrer un commentaire