Skip to content

test: Support configurable navigation timeout and increase it for Windows tests - #2482

Merged
nattallius merged 4 commits into
mainfrom
increase-win-timeout
Aug 10, 2026
Merged

nattallius merged 4 commits into
mainfrom
increase-win-timeout

Conversation

@nattallius

Copy link
Copy Markdown
Contributor

This change adds a configurable navigation timeout to McpContext options, allowing tests to override the default 10-second limit. We use this in tests/utils.ts to set a 20-second timeout on Windows. This potentially fixes flaky test timeouts on slow Windows environments by ensuring that both direct navigations and click-triggered navigations (which use WaitForHelper) are synchronized to the longer 20-second limit and are not reset back to 10 seconds during emulation.

@nattallius
nattallius requested a review from OrKoN August 6, 2026 08:49
Comment thread src/McpPage.ts Resolved
@nattallius
nattallius force-pushed the increase-win-timeout branch from 8fc9fa6 to 9901c5d Compare August 10, 2026 09:56
@nattallius
nattallius requested a review from OrKoN August 10, 2026 10:03
@nattallius
nattallius enabled auto-merge August 10, 2026 10:09

@OrKoN OrKoN left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nattallius
nattallius added this pull request to the merge queue Aug 10, 2026
Merged via the queue into main with commit c6f6e88 Aug 10, 2026
22 checks passed
@nattallius
nattallius deleted the increase-win-timeout branch August 10, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants