You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
I am trying to use the jasmine-expect matchers in my protractor e2e tests.
For example, jasmine-expect have a matcher to "expect(string).toEndWith(substring)". I have installed jasmine-expect using "npm install jasmine-expect" but I guess protractor or webdriverjs doesn't understand these matchers.
I see "TypeError: Object # has no method 'toEndWith'" this error.
It would be really helpful if we can use jasmine-expect matchers for protractor e2e test verifications.
Thanks,
Varun Mukka
The text was updated successfully, but these errors were encountered:
It looks like jasmine-expect only works with Jasmine 2.0. Protractor uses Jasmine 1.3 - see this issue for more info on why it hasn't updated yet: #362
Hi,
I am trying to use the jasmine-expect matchers in my protractor e2e tests.
For example, jasmine-expect have a matcher to "expect(string).toEndWith(substring)". I have installed jasmine-expect using "npm install jasmine-expect" but I guess protractor or webdriverjs doesn't understand these matchers.
I see "TypeError: Object # has no method 'toEndWith'" this error.
It would be really helpful if we can use jasmine-expect matchers for protractor e2e test verifications.
Thanks,
Varun Mukka
The text was updated successfully, but these errors were encountered: