Created
October 5, 2017 08:48
-
-
Save mistadikay/2f9a78718854e56ee3e04e0633f77263 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
beforeAll(() => browser.waitForExist('body')); | |
it('rendered on the page', () => { | |
// <script type="text/javascript"> | |
// window.jsErrors = []; | |
// window.jsErrors.push('test'); | |
// window.jsErrors = JSON.stringify(window.jsErrors); | |
// // window.onerror = function(e) { | |
// // window.jsErrors.push(e.message); | |
// // }; | |
// </script> | |
const stuff = function() { | |
return window.stuff; | |
}; | |
const result = browser.execute(stuff); | |
console.log(result.value); | |
expect(true).toBeTruthy(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment