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

Remove await method from testBrowser #723

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

ankur22
Copy link
Collaborator

@ankur22 ankur22 commented Jan 20, 2023

Now that promises have been moved to a level above the business logic, we can remove the need to run things in promises and assume (in most cases) that things will run synchronously. Where there's still a need to run things in parallel we can use the run method on testBrowser.

Updates #683.

@ankur22 ankur22 added this to the v0.8.0 milestone Jan 20, 2023
@ankur22 ankur22 self-assigned this Jan 20, 2023
Copy link
Member

@inancgumus inancgumus left a comment

Choose a reason for hiding this comment

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

Nice that we got rid of this method as well. One minor suggestion there. Fix the linter errors, squash, and 🚀

tests/lifecycle_wait_test.go Outdated Show resolved Hide resolved
tests/lifecycle_wait_test.go Show resolved Hide resolved
Base automatically changed from add/709-map-browser-on to main January 23, 2023 11:05
@ankur22 ankur22 force-pushed the refactor/remove-testbrowser-await branch from 865d9bc to 5651d1a Compare January 23, 2023 11:14
Now that promises have been moved to a level above the business
logic, we can remove the need to run things in promises and assume
(in most cases) that things will run synchronously. Where there's
still a need to run things in parallel we can use the run method on
testBrowser.
@ankur22 ankur22 force-pushed the refactor/remove-testbrowser-await branch from 5651d1a to 9ab2316 Compare January 23, 2023 11:15
@ankur22 ankur22 merged commit e433cb7 into main Jan 23, 2023
@ankur22 ankur22 deleted the refactor/remove-testbrowser-await branch January 23, 2023 11:28
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.

2 participants