title: Detox only testing Splash Screen
body: <p>I am running detox on my React-Native project and can only test the splash screen. The splash screen goes to a Login Screen but the detox code will not allow me to test this element.</p>
  
  <p>Test Code: </p>
  
  <pre><code>describe('Splash', () =&gt; {
    beforeEach(async () =&gt; {
      await device.reloadReactNative();
    });
  
    it('should have splash screen', async () =&gt; {
      await expect(element(by.id('splash'))).toBeVisible();
      await expect(element(by.id('login'))).toBeVisible();
    });
  });
  </code></pre>
  
  <p>Error given: </p>
  
  <pre><code>● Splash › should have splash screen
  
      Failed: [Error: Error: Cannot find UI Element.
      Exception with Assertion: {
        "Assertion Criteria":  "assertWithMatcher:matcherForSufficientlyVisible(&gt;=0.750000)",
        "Element Matcher":  "((!(kindOfClass('RCTScrollView')) &amp;&amp; (respondsToSelector(accessibilityIdentifier) &amp;&amp; accessibilityID('login'))) || (((kindOfClass('UIView') || respondsToSelector(accessibilityContainer)) &amp;&amp; parentThatMatches(kindOfClass('RCTScrollView'))) &amp;&amp; ((kindOfClass('UIView') || respondsToSelector(accessibilityContainer)) &amp;&amp; parentThatMatches((respondsToSelector(accessibilityIdentifier) &amp;&amp; accessibilityID('login'))))))",
        "Recovery Suggestion":  "Check if the element exists in the UI hierarchy printed below. If it exists, adjust the matcher so that it accurately matches element."
      }
  
  
      Error Trace: [
        {
          "Description":  "Interaction cannot continue because the desired element was not found.",
          "Error Domain":  "com.google.earlgrey.ElementInteractionErrorDomain",
          "Error Code":  "0",
          "File Name":  "GREYElementInteraction.m",
          "Function Name":  "-[GREYElementInteraction matchedElementsWithTimeout:error:]",
          "Line":  "124"
        }
      ]
  </code></pre>
  
  <p>The first test passes when it runs not testing the login component</p>