mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 14:08:56 -05:00
* 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
14 lines
399 B
JavaScript
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( );
|
|
} );
|
|
} );
|