feat(mobile): add microphone input controls with Limrun support
EN
1mo ago+1272+1272+0123456789012345678901234567890123456789-17-17-01234567890123456789
Stacked on https://github.com/enesonus/e2e/pull/1. The provider PR is tester-army/e2e#988; these follow-ups live in my fork until the upstream base is available.
I added microphone audio input, looping and one-shot playback, and cleanup after every attempt. The native examples check known tones, silence, replacement, and clearing on iOS and Android.
await app.open();
await screen.getByRole('button', { name: /listen/i }).click();
await device.microphone.mockAudio({ source: 'fixtures/440.wav' });
await expect(screen.getByText('440 Hz detected')).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 12 passed (12)
https://github.com/user-attachments/assets/e07ae56a-a303-46c4-ac65-d03848c9c202