[BUG] Firefox: White video when trace + video is enabled
Context:
- Playwright Version: 1.19.1
- Environments: GitLab CI/CD: -- running in the docker image: mcr.microsoft.com/playwright:focal
- Local: -- Windows 10 -- Node.js version: 16.13.2
- Browser: Firefox (headless)
Code Snippet Sample Test
Describe the bug Blank videos are being recorded when running the tests in Firefox - headless mode. Reproduced in: GitLab CI/CD & running locally. Not reproduced in Firefox - headfull mode (locally). Not reproduced for Chromium/WebKit - headless mode. See report examples (with videos): Firefox (blank video) Chromium (OK) WebKit (OK)
Thank you for the repro! Very helpful :)
I made a more minimal repro case:
import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
testDir: './tests',
reporter: [
['html', { open: 'never', outputFolder: './report' }],
['list'],
],
use: {
trace: 'on',
video: 'on'
},
projects: [
{
name: 'Firefox',
use: {
browserName: 'firefox'
},
},
],
};
export default config;
import { test } from '@playwright/test';
test('Inventory Page - Navigate', async ({ page }) => {
await page.goto('https://example.com');
await page.waitForTimeout(2000);
})
-> when trace and video is enabled, Firefox ends up in a white video.
A partner team is onboarding to Playwright 1.19, I recommended to use: { "trace": "retain-on-failure", "video": "retain-on-failure", } but strangely they only get traces. No video at all.
Any update on this? It is still happening in version 1.22.1
This is still present in playwright 1.25.2. Any updates?
We're seeing this error on playwright 1.27.1.
Still seeing this error on 1.30.0-alpha-jan-5-2023 (@playwright/test package)