-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
Roll to Playwright v1.41.1 #407
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
examples/end-to-end-testing/main.go
Outdated
@@ -36,7 +36,7 @@ func main() { | |||
assertErrorToNilf("could not create context: %w", err) | |||
page, err := context.NewPage() | |||
assertErrorToNilf("could not create page: %w", err) | |||
_, err = page.Goto("http://todomvc.com/examples/react/") | |||
_, err = page.Goto("http://todomvc.com/examples/typescript-react/") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_, err = page.Goto("http://todomvc.com/examples/typescript-react/") | |
_, err = page.Goto("https://demo.playwright.dev/todomvc/") |
browser_context.go
Outdated
err := b.updateInterceptionPatterns() | ||
if err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
err := b.updateInterceptionPatterns() | |
if err != nil { | |
if err := b.updateInterceptionPatterns(); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @mxschmitt , I'm considering forcing the use of gofumpt
to format the code, which would avoid these. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to add!
In addition, the last added
route
is matched first, which is consistent with the upstream.