uitest.js is able to load a webpage into a frame, instrument that page and the javascript in that page (e.g. add additional scripts at the end of the document, ...) and execute actions on that page.
MIT License
67
stars
8
forks
source link
Jasmine-Support: Toggle testframe when tests are finished #2
It would be great to show the application under test only while the tests are running. Detecting when tests are finished is testframework specific, so this should be implemented in https://github.com/tigbro/uitest.js/blob/master/src/parts/testfwks/jasmineSugar.js.
To access the toggle function, the module https://github.com/tigbro/uitest.js/blob/master/src/parts/run/testframe.js needs to be refactored to not only return the test window, but also the toggleTestWindow function.
Tobias