Skip to content
This repository was archived by the owner on Oct 21, 2020. It is now read-only.
This repository was archived by the owner on Oct 21, 2020. It is now read-only.

Add logging to this method public static JavaScriptInvokerImpl create(WebDriver driver) #82

@nadvolod

Description

@nadvolod

We need logging in this method so that we know exactly which object is created as a result of the if statement. We had a bug where some unit tests were not resetting the state back to null of customManager. As a result, some acceptance tests were actually getting a mocked instance of the object and not executing any JavaScript because it was mocked. This would only manifest if some tests ran in a specific order. Making the failure of the tests seem random.

Logging in that method would point out that some test tried to execute and didn't get back the appropriate instance of the JavaScriptInvokerImpl

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions