Skip to content

[Bug]: slowMo option not slowing down commands #30850

@basickarl

Description

@basickarl

Version

1.43.1

Steps to reproduce

launch options object (file: playwright-component-testing.config.ts):

    launchOptions: {
      // 1
      args: ['--start-maximized'],
      slowMo: 2000,
    },

command run:
npx --no playwright test -c playwright-component-testing.config.ts audit --workers 1 --project='chromium' --trace='on' --ui

Result in UI:

image

Expected behavior

Every playwright command slows down by 2000ms (e.g. page.exposeFunction etc.) .

Actual behavior

Only the before hooks seems to slow down by 2000ms.

Additional context

using @playwright/experimental-ct-react

Been reading https://playwright.dev/docs/debug#headed-mode and I'm seeming to follow what it says or?

Environment

npx envinfo --preset playwright

  System:
    OS: macOS 14.1.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 5.98 GB / 64.00 GB
  Binaries:
    Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node
    Yarn: 4.0.2 - ~/.nvm/versions/node/v20.9.0/bin/yarn
    npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm
  Languages:
    Bash: 3.2.57 - /bin/bash

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