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.

Browser is restarted automatically if 'shardTestFiles': true #4550

@avient

Description

@avient

Hi there!

I have a lot of specs files.
I run them in one browser instanse ('shardTestFiles': false) and DO NOT restart Browser between tests.
So tests are going smoothly and everything is OK.

But I want to run tests in several Browser instances:
so I set
'shardTestFiles': true
and
'maxInstances': 4.
And now Browser is restarted automatically after each spec file, even when
restartBrowserBetweenTests: false.
So it dramatically slows down my tests.

Is it possible not to restart Browser after each spec file?

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