mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-04-23 00:11:18 -04:00
* Bump detox * Update detox * Disable one test for now * Bump detox * Increase test timeouts * Collect more logs * Increase run timeout * Comment * Increase timeout * Replace password autofill workaround * Move workaround after launchApp * Upgrade github actions workflows * Forgot one action * Update test.yml * Testing concurrency * Use concurrency for e2e as well * Remove previous concurrency code * Testing different Slack action * Change slack msg * Try different msg * Revert "Try different msg" This reverts commitddaad331d1. * Revert "Change slack msg" This reverts commit852204b074. * Revert "Testing different Slack action" This reverts commitfb072e65e3. * Testing some more notify * Testing notification * Revert "Testing notification" This reverts commit974dfcb32f. * Revert "Testing some more notify" This reverts commit39b3d668e2.
33 lines
1.2 KiB
JavaScript
33 lines
1.2 KiB
JavaScript
import {
|
|
by,
|
|
device,
|
|
element,
|
|
expect,
|
|
waitFor
|
|
} from "detox";
|
|
|
|
import { iNatE2eBeforeAll, iNatE2eBeforeEach } from "./helpers";
|
|
|
|
describe( "Signed out user", () => {
|
|
beforeAll( async ( ) => iNatE2eBeforeAll( device ) );
|
|
beforeEach( async ( ) => iNatE2eBeforeEach( device ) );
|
|
|
|
it( "should start at My Observations with log in text", async () => {
|
|
const loginText = element( by.id( "log-in-to-iNaturalist-button.text" ) );
|
|
await waitFor( loginText ).toBeVisible( ).withTimeout( 10000 );
|
|
await expect( loginText ).toBeVisible( );
|
|
} );
|
|
|
|
// it( "should add an observation without evidence", async () => {
|
|
// const addObsButton = element( by.id( "add-obs-button" ) );
|
|
// await waitFor( addObsButton ).toBeVisible( ).withTimeout( 10000 );
|
|
// await addObsButton.tap( );
|
|
// await expect( element( by.id( "identify-text" ) ) ).toBeVisible();
|
|
// const obsWithoutEvidenceButton = element( by.id( "observe-without-evidence-button" ) );
|
|
// await expect( obsWithoutEvidenceButton ).toBeVisible( );
|
|
// await obsWithoutEvidenceButton.tap( );
|
|
// await waitFor( element( by.id( "new-observation-text" ) ) )
|
|
// .toBeVisible( ).withTimeout( 10000 );
|
|
// } );
|
|
} );
|