Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Protractor typescript 2.4.1 #4381

Closed
birocarol opened this issue Jul 14, 2017 · 3 comments
Closed

Protractor typescript 2.4.1 #4381

birocarol opened this issue Jul 14, 2017 · 3 comments

Comments

@birocarol
Copy link

Bug report

  • Protractor Version: 5.1.2
  • Angular Version: 4

Using latest version of typescritp 2.4.1 results in protractor being unable to run with .

[12:25:04] I/launcher - Running 1 instances of WebDriver
[12:25:04] I/direct - Using ChromeDriver directly...
[12:25:13] E/launcher - Error: TSError: ⨯ Unable to compile TypeScript
e2e\footer.e2e-spec.ts (17,59): Argument of type 'false' is not assignable to parameter of type 'Expected<Promise>'. (2345)

@wswebcreation
Copy link
Contributor

wswebcreation commented Jul 14, 2017

Hi @birocarol

Can you please provide more info about the bug. For example your:

  • config
  • footer.e2e-spec.ts
  • your package with all the dependencies (especially the @types)

Because I currently work with a project on TypeScript 2.4.1 with Protractor 5.1.2 and CucucmberJJ and I don't have the problems.

It could also be a that the typings give a problem, for example if you are using @types/jasmine. That could be related to this issue #4176

@birocarol
Copy link
Author

hi you were right the issue was with types/jasmine . Thanks.

@wswebcreation
Copy link
Contributor

Tnx for closing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants