Skip to content

Commit 0b11fe4

Browse files
committed
ci: use dummy video as well
1 parent c510e27 commit 0b11fe4

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/e2e.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ jobs:
131131
run: |
132132
ffmpeg -f lavfi -i anullsrc=r=44100:cl=mono -t 10 -q:a 9 -acodec pcm_s16le fake-audio.wav
133133
134+
- name: Generate Fake Video File
135+
working-directory: ${{ github.workspace }}/e2e/resources
136+
run: |
137+
ffmpeg -f lavfi -i testsrc=size=640x480:rate=30 -t 10 -pix_fmt yuv420p fake-video.y4m
138+
134139
- name: Start Frappe Server
135140
working-directory: /home/runner/frappe-bench
136141
run: |

e2e/playwright.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ export default defineConfig({
3030
"--use-fake-ui-for-media-stream",
3131
// Use fake camera/microphone devices
3232
"--use-fake-device-for-media-stream",
33-
// Use a test audio file for consistent audio
33+
// Use dummy files for audio and video
3434
"--use-file-for-fake-audio-capture=resources/fake-audio.wav",
35+
"--use-file-for-fake-video-capture=resources/fake-video.y4m",
3536
"--allow-insecure-localhost",
3637
"--disable-web-security",
3738
"--autoplay-policy=no-user-gesture-required",

0 commit comments

Comments
 (0)