Skip to content

[BUG] Playwright seems to get stuck when using shard option and last test is skipped #21226

@jfpimentel

Description

@jfpimentel

Context:

  • Playwright Version: 1.31.1
  • Operating System: Mac
  • Node.js version: 18.13.0
  • Browser: Chromium

Describe the bug

I've just started using the --shard=x/y option as described in the docs, but it does not seem to work well when some of the tests are skipped. Please see the pictures below of shards 1 and 2:

  • in --shard=1/2, the last 3 tests are skipped and Playwright seems to get stuck and never finishes
  • in --shard=2/2, all of the tests run and succeed, and the process ends as expected

Screenshot 2023-02-27 at 11 55 12

Screenshot 2023-02-27 at 11 58 02

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions