Skip to content

Failed to fetch after first interception #1976

@weblancaster

Description

@weblancaster

Prerequisites

Environment check

  • I'm using the latest msw version
  • I'm using Node.js version 18 or higher

Browsers

Chromium (Chrome, Brave, etc.)

Reproduction repository

N/A

Reproduction steps

(this is a migration from older version to latest)

start Next server
go to a page that makes an HTTP call that is listed to be intercepted
page refreshes and MSW fails to fetch after the first request is successful

Current behavior

when next/react triggers a new load cycle the calls failed to fetch

Screenshot 2024-01-17 at 12 18 14 PM

Expected behavior

start Next server
go to a page that makes an HTTP call that is listed to be intercepted
page refreshes, msw intercepts consequent intercepted http calls

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds:triageIssues that have not been investigated yet.scope:browserRelated to MSW running in a browser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions