Skip to content

[Bug]: slowMo prevents waitForResponse #36033

@das-en

Description

@das-en

Version

1.50.0

Steps to reproduce

Use the slowMo launch option, for example in my config:
launchOptions: { slowMo: 250 }
and have a test/method that uses waitForResponse

Expected behavior

Ideally the default behavior/results would still work even with slowMo applied. If not, perhaps a documentation update would be helpful.

Actual behavior

instances of using waitForResponse will result in immediate failure as the slowMo appears to prevent normal behavior. The waitForResponse timeout duration does not seem to matter as mine is set to 25000.

Additional context

No response

Environment

System:
    OS: macOS 15.4.1
    CPU: (16) arm64 Apple M4 Max
    Memory: 1.63 GB / 48.00 GB
  Binaries:
    Node: 22.15.0 - /usr/local/bin/node
    Yarn: 1.22.22 - /usr/local/bin/yarn
    npm: 10.9.2 - /usr/local/bin/npm
    pnpm: 9.12.3 - /opt/homebrew/bin/pnpm
  Languages:
    Bash: 3.2.57 - /bin/bash
  npmPackages:
    @playwright/test: 1.50.0 => 1.50.0

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