Skip to content

[Bug]: Playwright dependencies needs update #559

@Eirmas

Description

@Eirmas

Describe the bug

The latest versions from playwright no longer works with the storybook test-runner due to incompatible types

Argument of type 'import("./node_modules/@storybook/test-runner/node_modules/playwright/node_modules/playwright-core/types/types").Page' is not assignable to parameter of type 'import("./node_modules/playwright-core/types/types").Page'.

To Reproduce

Install @storybook/test-runner v0.22.0
Install playwright v1.52.0

Try setting the Page type equal to eachother from both libs.

System

Storybook Environment Info:

  System:
    OS: Linux 5.15 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
    CPU: (7) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Shell: 3.7.1 - /usr/bin/fish
  Binaries:
    Node: 22.14.0 - ~/n/bin/node
    npm: 10.9.2 - ~/n/bin/npm
    pnpm: 10.8.1 - ~/.local/share/pnpm/pnpm
  npmPackages:
    @storybook/addon-a11y: ^8.6.12 => 8.6.12 
    @storybook/addon-designs: ^8.2.1 => 8.2.1 
    @storybook/addon-docs: ^8.6.12 => 8.6.12 
    @storybook/addon-essentials: ^8.6.12 => 8.6.12 
    @storybook/addon-interactions: ^8.6.12 => 8.6.12 
    @storybook/addon-links: ^8.6.12 => 8.6.12 
    @storybook/angular: ^8.6.12 => 8.6.12 
    @storybook/channels: ^8.6.12 => 8.6.12 
    @storybook/core-events: ^8.6.12 => 8.6.12 
    @storybook/core-server: ^8.6.12 => 8.6.12 
    @storybook/jest: ^0.2.3 => 0.2.3 
    @storybook/react: ^8.6.12 => 8.6.12 
    @storybook/react-vite: ^8.6.12 => 8.6.12 
    @storybook/test: ^8.6.12 => 8.6.12 
    @storybook/test-runner: ^0.22.0 => 0.22.0 
    @storybook/testing-library: ^0.2.2 => 0.2.2 
    eslint-plugin-storybook: ^0.12.0 => 0.12.0 
    msw-storybook-addon: ^2.0.4 => 2.0.4 
    storybook: ^8.6.12 => 8.6.12

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions