Skip to content

Commit 783beb8

Browse files
authored
Merge pull request #2667 from surishubham/testmuCom
Merge pull request #2666 from RushilK7/stage
2 parents a346f16 + 924e74f commit 783beb8

File tree

2 files changed

+1
-38
lines changed

2 files changed

+1
-38
lines changed

docs/kaneai-smart-locator-priority.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,4 @@ In most cases:
147147

148148
- [Failure Conditions](/support/docs/kaneai-failure-conditions/)
149149
- [KaneAI Command Guide](/support/docs/kane-ai-command-guide/)
150-
- [Custom Instructions in KaneAI Test Generation](/support/docs/generate-test-cases/)
150+
- [Custom Instructions in KaneAI Test Generation](/support/docs/generate-test-cases-with-ai/)

docs/mock-video-injection-web-automation-selenium-chromium.md

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -258,40 +258,3 @@ Use **Linux** for mock video injection tests that require visual verification or
258258
| Wrong resolution | Use a file resolution that matches your app expectations; `640x360` is a safe default |
259259
| Windows path errors | Use escaped backslashes: `C:\\Users\\ltuser\\Downloads\\sample_640x360.mjpeg` |
260260
| macOS video does not render | This is a known Chrome limitation; use Linux when visual verification is required |
261-
262-
## Creating an `.mjpeg` Test File
263-
264-
If you do not already have an `.mjpeg` file, generate one with `ffmpeg`:
265-
266-
```bash
267-
# Convert MP4 to MJPEG (640x360, 30fps, 10 seconds)
268-
ffmpeg -i input.mp4 -vf scale=640:360 -r 30 -t 10 -f mjpeg sample_640x360.mjpeg
269-
270-
# Generate a synthetic color bars video
271-
ffmpeg -f lavfi -i "smptebars=duration=10:size=640x360:rate=30" -f mjpeg sample_640x360.mjpeg
272-
```
273-
274-
## Quick Validation Checklist
275-
276-
- [ ] `.mjpeg` file uploaded using `/automation/api/v1/user-files`
277-
- [ ] `lambda:userFiles` includes the exact uploaded file name
278-
- [ ] `--use-fake-device-for-media-stream` is set
279-
- [ ] `--use-fake-ui-for-media-stream` is set
280-
- [ ] `--use-file-for-fake-video-capture` points to the correct OS path
281-
- [ ] The test navigates to a page that calls `getUserMedia()`
282-
- [ ] The video element is confirmed as playing (`readyState >= 2`) on Linux
283-
284-
## Validation Notes
285-
286-
This workflow was validated on:
287-
288-
- **Linux (Ubuntu 20) + Chrome 145**: visual rendering and API-level validation both passed
289-
- **macOS (Sequoia) + Chrome 145**: API-level validation passed, but visual rendering did not
290-
291-
Use Linux when your test needs visible camera frames inside the page or canvas pipeline.
292-
293-
## Target Audience
294-
295-
1. Developers building WebRTC or video features
296-
2. QA engineers testing camera-based workflows
297-
3. Customer support teams guiding customers through video injection setup

0 commit comments

Comments
 (0)