Skip to content

fix(browser): always derive a positive locator action timeout#10626

Merged
sheremet-va merged 2 commits into
mainfrom
test/fix-timeout-errors
Jun 23, 2026
Merged

fix(browser): always derive a positive locator action timeout#10626
sheremet-va merged 2 commits into
mainfrom
test/fix-timeout-errors

Conversation

@sheremet-va

Copy link
Copy Markdown
Member

Description

Resolves #issue-number

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.
  • Please check Allow edits by maintainers to make review process faster. Note that this option is not available for repositories that are owned by Github organizations.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

@hi-ogawa hi-ogawa 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.

This looks like a clean fix too. Previously remainingTime = 100 (or lower) would've set timeout = 0 (or negative) that means no timeout on playwright, but that now becomes timeout = 1, which is the intended behavior.

Can you update the pr title? The changes looks good to me otherwise.

@sheremet-va sheremet-va changed the title test: try to fix timeout errors in browser mode fix(browser): always derive a positive locator action timeout Jun 22, 2026
@sheremet-va
sheremet-va requested a review from hi-ogawa June 23, 2026 05:42
@sheremet-va
sheremet-va merged commit 5b86421 into main Jun 23, 2026
15 of 18 checks passed
@sheremet-va
sheremet-va deleted the test/fix-timeout-errors branch June 23, 2026 21:19
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