You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,I'm trying to change the fake webcam video on the middle of a test, what i'm doing first is as suggested in the documentation, launching the browser with this flag :
The first time the camera opens, everything is fine, then I swap the video.y4m file for another video named the same, so basically replacing the files on the directory, but when the camera has to open, it returns me a "permission denied".
Strange thing is that if i execute the tests using the GUI sometimes it does work, but running the test via CLI fails 100% of the times.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,I'm trying to change the fake webcam video on the middle of a test, what i'm doing first is as suggested in the documentation, launching the browser with this flag :
--use-file-for-fake-video-capture=cypress/fixtures/video/video.y4m
')The first time the camera opens, everything is fine, then I swap the video.y4m file for another video named the same, so basically replacing the files on the directory, but when the camera has to open, it returns me a "permission denied".
Strange thing is that if i execute the tests using the GUI sometimes it does work, but running the test via CLI fails 100% of the times.
Is there an existing feature for that?
Beta Was this translation helpful? Give feedback.
All reactions