feat(mobile): add camera input controls with Limrun support
EN
1mo ago+1381+1381+0123456789012345678901234567890123456789-21-21-01234567890123456789
Stacked on https://github.com/tester-army/e2e/pull/988. The provider PR is tester-army/e2e#988; these follow-ups live in my fork until the upstream base is available.
I added repeatable camera video input with automatic cleanup after each attempt. The native QR examples cover accepted, rejected, and blank input on iOS and Android.
This covers the video-feed injection requested in tester-army/e2e#764.
await device.camera.mockFeed({ type: 'video', source: 'fixtures/valid.mp4' });
await app.open();
await expect(screen.getByText('Code accepted')).toBeVisible();
Verified
Ran it locally: yes
I installed the packed packages and ran the example with e2e run --video on Limrun.
Test Files 2 passed (2)
Tests 8 passed (8)
https://github.com/user-attachments/assets/d89ef1a5-5a1a-413a-9653-c2062ff23091