-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix(browser): scale iframe for non ui case #6512
base: main
Are you sure you want to change the base?
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.
This doesn't fix it when you call page.viewport
We already experimented with this before. Now we just need to keep the same iframe scaling that we have in ui
Ah, I didn't think about that. I've read #6257 and scaling seems more involved but I'll see what I can do. |
✅ Deploy Preview for vitest-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Only Mac chromium playwright is timing out with specs/runner.test.ts
https://github.com/vitest-dev/vitest/actions/runs/10915841527/job/30296283296?pr=6512#step:9:24
I cannot reproduce it locally on my Linux chromium headless, so it's hard to diagnose what's wrong. I would appreciate if someone can check it on Mac machine locally.
@vitest/coverage-istanbul
@vitest/coverage-v8
@vitest/expect
@vitest/pretty-format
@vitest/mocker
@vitest/spy
@vitest/snapshot
@vitest/runner
@vitest/utils
@vitest/ui
vite-node
@vitest/web-worker
@vitest/ws-client
vitest
@vitest/browser
commit: |
@sheremet-va I did some CI debugging, but couldn't figure out mac chromium fail. The CI log suggests # or --browser.ui=false
pnpm -C test/browser test-fixtures --browser.headless=true |
Description
The test case I added is failing on webdriverio regardless of with or without UI. I couldn't figure out webdriverio, so this PR only fixes playwright where it has inconsistency with or without UI.
todo
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yaml
unless you introduce a new test example.Tests
pnpm test:ci
.Documentation
pnpm run docs
command.Changesets
feat:
,fix:
,perf:
,docs:
, orchore:
.