test: Fail tests on uncaught exceptions
test: Fail tests on uncaught exceptions

After each test, check for uncaught exceptions in the browser log and
fail if there are any.

Closes #8276

deryni/cockpit,mareklibra/cockpit,mvollmer/cockpit,andreasn/cockpit,martinpitt/cockpit,andreasn/cockpit,Scribery/cockpit,cockpituous/cockpit,SotolitoLabs/cockpit,petervo/cockpit,Scribery/cockpit,moraleslazaro/cockpit,garrett/cockpit,stefwalter/cockpit,cockpituous/cockpit,deryni/cockpit,mareklibra/cockpit,SotolitoLabs/cockpit,martinpitt/cockpit,Scribery/cockpit,petervo/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,petervo/cockpit,moraleslazaro/cockpit,petervo/cockpit,garrett/cockpit,andreasn/cockpit,andreasn/cockpit,mvollmer/cockpit,moraleslazaro/cockpit,stefwalter/cockpit,moraleslazaro/cockpit,stefwalter/cockpit,Scribery/cockpit,moraleslazaro/cockpit,petervo/cockpit,cockpit-project/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,deryni/cockpit,mareklibra/cockpit,deryni/cockpit,mareklibra/cockpit,mareklibra/cockpit,cockpituous/cockpit,deryni/cockpit,cockpituous/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,mvollmer/cockpit,mvollmer/cockpit,garrett/cockpit,deryni/cockpit,martinpitt/cockpit,andreasn/cockpit,Scribery/cockpit,cockpit-project/cockpit,moraleslazaro/cockpit,garrett/cockpit,stefwalter/cockpit,petervo/cockpit,cockpit-project/cockpit,andreasn/cockpit,martinpitt/cockpit,martinpitt/cockpit,stefwalter/cockpit,moraleslazaro/cockpit,mvollmer/cockpit,mareklibra/cockpit,cockpit-project/cockpit,garrett/cockpit,cockpit-project/cockpit,andreasn/cockpit,SotolitoLabs/cockpit,Scribery/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,Scribery/cockpit,mareklibra/cockpit,deryni/cockpit,petervo/cockpit