Skip to content

[REGRESSION]: page.pause() does not pause test timeout after 1.47 #32706

Closed
@spiderhands

Description

@spiderhands

Version

1.47.1

Steps to reproduce

  1. Open any test and set await page.pause(); in it
  2. Run the test in headed mode
  3. Wait for the timeout duration

Expected behavior

The test execution does not stop

Actual behavior

The test execution is stopped due to the timeout with the following output:

Running 1 test using 1 worker
  1) [chromium] › example.spec.ts:5:6 › has title ──────────────────────────────────────────────────

    Test timeout of 5000ms exceeded.

  1 failed
    [chromium] › example.spec.ts:5:6 › has title ───────────────────────────────────────────────────

Additional context

Self-contained reproduction can be found in the attached archive

playwright-1.47.1-pause-debug.zip

Environment

System:
  OS: macOS 14.5
  CPU: (10) arm64 Apple M1 Pro
  Memory: 94.42 MB / 16.00 GB
Binaries:
  Node: 20.10.0 - ~/Library/pnpm/node
  npm: 10.2.3 - ~/Library/pnpm/npm
  pnpm: 9.9.0 - ~/Library/pnpm/pnpm
IDEs:
  VSCode: 1.92.2 - /usr/local/bin/code
Languages:
  Bash: 3.2.57 - /bin/bash

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions