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

Roll to Playwright v1.41.1 #407

Merged
merged 5 commits into from
Jan 24, 2024
Merged

Conversation

canstand
Copy link
Collaborator

In addition, the last added route is matched first, which is consistent with the upstream.

@canstand canstand marked this pull request as ready for review January 22, 2024 12:53
Copy link
Member

@mxschmitt mxschmitt left a comment

Choose a reason for hiding this comment

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

Great work!

@@ -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/")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
_, err = page.Goto("http://todomvc.com/examples/typescript-react/")
_, err = page.Goto("https://demo.playwright.dev/todomvc/")

Comment on lines 235 to 236
err := b.updateInterceptionPatterns()
if err != nil {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
err := b.updateInterceptionPatterns()
if err != nil {
if err := b.updateInterceptionPatterns(); err != nil {

Copy link
Collaborator Author

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?

Copy link
Member

Choose a reason for hiding this comment

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

Feel free to add!

@mxschmitt mxschmitt merged commit 67b851e into playwright-community:main Jan 24, 2024
13 checks passed
@canstand canstand deleted the roll-v1.41 branch January 25, 2024 03: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.

None yet

2 participants