angular-unsavedChanges
angular-unsavedChanges copied to clipboard
e2e tests now failing due to protractor/ selenium issue closing dialog boxee
see https://github.com/angular/protractor/issues/308 and https://github.com/angular/protractor/issues/1486
Used to work fine, now all tests that relate to window.onbeforeunload are broken.
I think I do not need to care about unsaved-changes-warning in my e2e tests, that should be covered in another suite.
I think a module/service that could be mocked would be nice, instead of a plain confirm(). What do you think?