axemclion / protractor-perf

E2E test framework to check for performance regressions in Angular apps
91 stars 23 forks source link

Failed: Cannot read property 'fulfilled' of undefined #50

Open saxena-ashutosh opened 7 years ago

saxena-ashutosh commented 7 years ago

I am trying to use protractor-perf with angular2 project with typescript and faced below error on perf.start() statement in my test spec: × should display panel with user input

I have initialized and used protracter-perf inside our test spec using following statements:

var PerfRunner = require('protractor-perf');

describe('test-proj App', () => { var perfRunner = new PerfRunner('protractor', browser); it('should display panel with user input', () => { perfRunner.start(); page.navigateTo(); expect(page.getInputsCount()).toEqual(3); perfRunner.stop(); }

Can anyone help me on this.

Thanks Ashutosh

markserbol commented 6 years ago

Having the same issue in typescript. Anyone solved this?