Skip to content

Documentation example for "Testing in a Browser" doesn't work, instead get ERR_LOAD_URL #983

Closed
@remiconnesson

Description

@remiconnesson

Environment

Using pnpm and following the steps from the documentation lead to an error that I wasn't able to fix on my own.

Error: Failed to load url /home/remi/work/spice/app/ui/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_happy-dom@14._nwi3s52kfwvglwl5pg2z7gqeby/node_modules/@nuxt/test-utils/dist/shared/runtime/global-setup (resolved id: /home/remi/work/spice/app/ui/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_happy-dom@14._nwi3s52kfwvglwl5pg2z7gqeby/node_modules/@nuxt/test-utils/dist/shared/runtime/global-setup). Does the file exist?
 ❯ loadAndTransform node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:51858:17

Reproduction

(will do later)

Describe the bug

Following documentation is not enough to get e2e with playwright testing to work.

Additional context

No response

Logs

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