I am currently in the process of automating an Angular 4 application using protractor, typescript, cucumber, and Chai for assertion.
Encountering the following error:
AssertionError: expected undefined to equal 'Cancel'
at getBasePromise.then.then.newArgs (D:\Vinni\ProtractorWorkspace\protractor-cucumber-final\node_modules\chai-as-promised\lib\chai-as-promised.js:302:22)
at process._tickCallback (internal/process/next_tick.js:109:7)
Despite searching for a solution in similar questions like this one, I couldn't find a resolution.
Below are the specifics of my code: Node version: 7.10.1, protractor version 5.1.2
config.ts
// Code for config file...
Any help or suggestions would be greatly appreciated. @Ram Pasala, any insights you could offer?