Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare Locator for async migration #1330

Merged
merged 25 commits into from
May 16, 2024
Merged

Conversation

inancgumus
Copy link
Member

What?

Turns panics into errors.

Why?

To make the async migration more reliable.

Checklist

  • I have performed a self-review of my code
  • I have added tests for my changes
  • I have commented on my code, particularly in hard-to-understand areas

Related PR(s)/Issue(s)

#1305

@inancgumus inancgumus self-assigned this May 13, 2024
@inancgumus inancgumus added mapping k6 browser to Goja mapping related. refactor stability runtime stability improvements labels May 13, 2024
Base automatically changed from async/browsercontext to main-async May 13, 2024 13:42
These definitions are about the concrete type, not the mapping. So they
should not return a promise.
@inancgumus inancgumus marked this pull request as ready for review May 14, 2024 08:50
@inancgumus inancgumus requested a review from ankur22 May 14, 2024 08:50
Copy link
Collaborator

@ankur22 ankur22 left a comment

Choose a reason for hiding this comment

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

LGTM

tests/locator_test.go Outdated Show resolved Hide resolved
tests/locator_test.go Show resolved Hide resolved
@inancgumus inancgumus merged commit 5611f2b into main-async May 16, 2024
14 checks passed
@inancgumus inancgumus deleted the async/locator-prepare branch May 16, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mapping k6 browser to Goja mapping related. refactor stability runtime stability improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants