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

Using jasmine custom matchers throw error during test with protractor v3.1.1 #2964

@giri-sh

Description

@giri-sh

I am using jasmine custom matchers to test few things apart from standard set of function available. All was working fine when i had protractor v3.0. After updating to v3.1.1 i get jasmine spec timed out error with a lengthy expectation error message(which i feel is a promise object), whenever i use an custom expectation. Below is the error(truncated) i get -

A Jasmine spec timed out. Resetting the WebDriver Control Flow.

Expected ({ ptor_: ({ controlFlow: Function, schedule: Function, setFileDetector: Function, ... }) }) 
not to overlap 
({ ptor_: ({ controlFlow: Function, schedule: Function, setFileDetector: Function, getSession: ... }) }).

When i run the same code in older versions of protractor, everything works as expected. Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions