fix(desktop): throttle hidden browsers between screenshots

Keep Chromium background throttling enabled outside serialized captures. Temporarily enable frame production and wait for fresh paint so hidden-window screenshots remain usable without continuously animating idle guests.
This commit is contained in:
Mohamed Boudra
2026-09-10 09:11:37 +02:00
parent 92504cd525
commit 4cf4b70ee0
11 changed files with 274 additions and 28 deletions
+6
View File
@@ -211,6 +211,12 @@ jobs:
if: ${{ runner.os == 'Linux' }}
run: npm run test:e2e:renderer --workspace=@getpaseo/desktop
- name: Verify hidden browser throttling and screenshots
if: ${{ runner.os == 'Linux' }}
run: xvfb-run -a npm run test:e2e:browser-throttling --workspace=@getpaseo/desktop
env:
PASEO_BROWSER_THROTTLING_ARTIFACT_DIR: ${{ runner.temp }}/desktop-browser-e2e/throttling
- name: Run desktop browser E2E
if: ${{ runner.os == 'Linux' }}
run: npm run test:e2e:browser-tabs --workspace=@getpaseo/desktop