Files
iNaturalistReactNative/e2e/switchPowerMode.e2e.js.js
Johannes Klein 5c8e3be12c test AI camera in e2e (#2188)
* Add a cameraZoomRange default
* Small detox version bump
* Add a mocked camera with a take photo button
* An e2e mock for the computer vision plugin predicting a frame
* Mock taking a photo by loading the first photo from the CameraRoll

Closes #1981
2024-11-01 10:38:37 -07:00

14 lines
399 B
JavaScript

import { device } from "detox";
import { iNatE2eBeforeAll, iNatE2eBeforeEach } from "./helpers";
import switchPowerMode from "./sharedFlows/switchPowerMode";
describe( "Shared flow", () => {
beforeAll( async () => iNatE2eBeforeAll( device ) );
beforeEach( async () => iNatE2eBeforeEach( device ) );
it( "should switch to power mode", async () => {
await switchPowerMode( );
} );
} );