front-end icon indicating copy to clipboard operation
front-end copied to clipboard

Add code to raise javascript exceptions when e.g. XHR fails with 500

Open moretea opened this issue 8 years ago • 0 comments

I'm working on adding end-to-end tests, which also run javascript code. The headless browser that I use will throw exceptions in the tests if an exception is thrown in the javascript. So instead of/in addition to alert(), I would like to have some throws in there as well, to make the e2e tests fail if something goes wrong in javascript land.

moretea avatar Dec 22 '16 23:12 moretea