-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[chore] upgrade to playwright 1.28.1 #7696
Conversation
🦋 Changeset detectedLatest commit: 5b49be8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
7cdd16a
to
3553edd
Compare
3553edd
to
b94ea61
Compare
triggered a rerun on the mac fail |
Same failure as #7435:
It seems the webkit version has not been able to capture the console logs |
fbbd044
to
b94ea61
Compare
b94ea61
to
9c9b4ca
Compare
9c9b4ca
to
39e4d1c
Compare
3c3366c
to
138e4d6
Compare
138e4d6
to
81726e0
Compare
6378b2c
to
510ba27
Compare
54c2397
to
1ecf84e
Compare
1ecf84e
to
6c5e4d0
Compare
IIRC, the stack trace check in |
This reverts commit 6c5e4d0.
Thanks. I updated it to keep the stack trace and added a comment explaining what it's doing. It appears to be passing still |
// check if fetch was called via load_node. the lock method only checks if it was called at the | ||
// same time, but not necessarily if it was called from `load` | ||
// we use just the filename as the method name sometimes does not appear on the CI | ||
const heuristic = can_inspect_stack_trace | ||
? stack.includes('src/runtime/client/client.js') | ||
: loading; |
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.
is this an async thing? because can_inspect_stack_trace
works by checking to see if a newly created stack trace includes the check_stack_trace
function
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.
No idea. load
is contained in the stack trace, but not the others:
@http://localhost:5173/@fs/Users/runner/work/kit/kit/packages/kit/src/runtime/client/fetcher.js:26:49
@http://localhost:5173/src/routes/load/window-fetch/incorrect/+page.js:3:25
load@http://localhost:5173/src/routes/load/window-fetch/incorrect/+page.js:2:28
@http://localhost:5173/@fs/Users/runner/work/kit/kit/packages/kit/src/runtime/client/client.js:653:41
I'm on mobile at the moment so can't easily check whether that's because of async or not, but I'm not sure it'd change the fix? It would be interesting to know though
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.
As far as I can tell, it's not related to async vs sync. load
is async and showed up in the stack trace, but the lines before and after are async and the methods didn't show up there.
the main issue was that checking the stack trace is unreliable
I also changed the test code to ensure we await the console log
microsoft/playwright#18865 has now been fixed, which was causing across-the-board failures in 1.28.0
the lint failure is unrelated: #7820 (comment)