magicode118
magicode118
I hope progress on this is going well, data driven tests are a must in my opinion. I have a scenario where I need to run a test template for...
Something like @pellekrogholt outlined, as a pre-processor for TS would be awesome for anyone interested in using TS with Protractor, for now. Similar to: https://github.com/sergeyt/karma-typescript-preprocessor supporting typings too.
Okay so apparently the issue is that addMockModule is calling executeScript to deal with the arguments in order to bridge the Angular/Protractor context. exectuteScript is serializing this data to string....
Just as an update, for now I am deserializing it manually, like this: var startBody = x.indexOf('{') + 1; var endBody = x.lastIndexOf('}'); var startArgs = x.indexOf('(') + 1; var...
Any updates on this? I'm having the same issue with chromedriver (2.14) and selenium-webdriver (2.44)... NW crashes. Now in my case I am trying to use Protractor's launcher, instead of...
Thx for your reply. This is the caught error: Uncaught ReferenceError: XMLHttpRequest is not defined @ C:\Protractor\node_modules\protractor\node_modules\q\q.js:126 and @ C:\Protractor\node_modules\protractor\node_modules\source-map-support\source-map-support.js:60 This is the specific area where the error is occurring:...
Added: return ((typeof window !== 'undefined') && (typeof XMLHttpRequest === 'function')); @ isInBrowser() within node-source-map-support.js Now NW is just crashing with no other errors in console, except a warning: [Q]...
The launcher is calling the runner, which in turn is calling the jasmine's run method: ``` frameworkPath = './frameworks/jasmine.js'; return require(frameworkPath).run(self, self.config_.specs). then(function(testResults) { return helper.joinTestLogs(pluginSetupResults, testResults); }); ``` Then...
UPDATE: How I fixed the 'jasmine not defined' error: var isCommonJS = typeof window !== "undefined" && typeof exports == "object"; @ within jasmine-1.3.1.js This way the window object doesn't...