Skip to content

[REGRESSION]: storageState: undefined does not disable the storageState, it uses global one. #17396

@mxschmitt

Description

@mxschmitt

When having a global storageState defined inside the config and the customer uses test.use({ storageState: undefined }) it will keep the global storageState instead of disabling the storageState.

This was working fine in 1.24 and broke most likely in #16026.

Filed in Slack here: https://playwright.slack.com/archives/CSUHZPVLM/p1663240303835349

Relates #15977

Metadata

Metadata

Assignees

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