Skip to content

Work around Capybara session reset on Chrome 158 - #2539

Merged
tf merged 1 commit into
codevise:masterfrom
tf:capybara-chrome-58
Nov 24, 2026
Merged

tf merged 1 commit into
codevise:masterfrom
tf:capybara-chrome-58

Conversation

@tf

@tf tf commented Nov 24, 2026

Copy link
Copy Markdown
Member

Chrome 158 rejects the wildcard origin Capybara uses to clear storage between examples, making every js spec error in its after hook. Fall back to clearing cookies and the current origin's local storage until teamcapybara/capybara#2868 is released.

Chrome 158 rejects the wildcard origin Capybara uses to clear storage
between examples, making every js spec error in its after hook. Fall
back to clearing cookies and the current origin's local storage until
teamcapybara/capybara#2868 is released.

Chrome 158 also logs a permissions policy violation when jQuery 1.x
registers its unload handler inside iframes. The handler only matters
for old IE, so ignore the message instead of failing specs.
@tf
tf force-pushed the capybara-chrome-58 branch from e65dff4 to cbc45e3 Compare November 24, 2026 14:13
@tf
tf merged commit 99fa8c2 into codevise:master Nov 24, 2026
30 of 31 checks passed
@tf
tf deleted the capybara-chrome-58 branch November 24, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant