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.

Recurring issue with running protractor (using VS code) and focus on page #5344

@KrisJones

Description

@KrisJones

I'm not sure how to categorize this so apologies if I get this wrong in some way.

I and other people I am working with have encountered a reoccurring issue with testing in VS code, it has gone away and come back a few times now.

When running my current bank of tests, the entire thing is guaranteed to fail via timeout unless I first click the window that protractor is running the tests in manually myself. This includes for instance

run test > no click on page > initial start up fails

run test > click on page > runs initial start up tests >fails on next set of tests

run test > click on page > runs initial start up tests > click new page > continues tests fine

etc

Before this I could leave the tests to execute by themselves and they would run and pass fine, but since updating to new versions they now fail due to this.

This happened previously but went away after updating.

I was previously running chromedriver/chrome 76 but recently updated to 78 which brought this back.

I am honestly not sure if this is a bug, or just something I have failed to understand about protractor/selenium so I was hoping people could point me in the right direction with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions