Bug
Current behavior:
onBeforeLoad hook is not getting called when overwriting the visit command.
Desired behavior:
onBeforeLoad hook should get called as it did in previous versions, and the docs state it should
How to reproduce:
- Clone test repo
- From test repo, run
yarn
- Run its cypress tests -- an
alert() would happen if onBeforeLoad got called
Test code:
https://github.com/adamdicarlo/cypress-bug-640
Operating System:
macOS Sierra 10.12.6 (16G29)
Cypress Version:
0.20.0
Browser Version:
Built-in Electron
Bug
Current behavior:
onBeforeLoadhook is not getting called when overwriting thevisitcommand.Desired behavior:
onBeforeLoadhook should get called as it did in previous versions, and the docs state it shouldHow to reproduce:
yarnalert()would happen ifonBeforeLoadgot calledTest code:
https://github.com/adamdicarlo/cypress-bug-640