Testing Resources π§ͺ
Overview
Quick Start
git clone https://github.com/CardScan-ai/testing-resources.git
Browser Testing with Fake Webcam
Chrome Launch Flags
# macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--use-fake-device-for-media-stream \
--use-file-for-fake-video-capture=./path/to/test-video.y4m
# Windows
chrome.exe \
--use-fake-device-for-media-stream \
--use-file-for-fake-video-capture=./path/to/test-video.y4m
# Linux
google-chrome \
--use-fake-device-for-media-stream \
--use-file-for-fake-video-capture=./path/to/test-video.y4mCypress Integration
Testing Best Practices
1. Test Multiple Scenarios
2. Continuous Integration
Available Resources
Related Documentation
Support
Last updated
Was this helpful?