title: How to wait for pages with long load time to load in testcafe?
body: <p>From these docs:
  <a href="https://devexpress.github.io/testcafe/documentation/test-api/actions/navigate.html" rel="nofollow noreferrer">https://devexpress.github.io/testcafe/documentation/test-api/actions/navigate.html</a></p>
  
  <p>It looks like we can only wait 15 seconds for a page to load.</p>
  
  <p>We develop a NextJS application and it's first load takes <strong>40 seconds</strong> because it builds the app on the first load.</p>
  
  <p>I can't seem to make TestCafe not timeout on the initial page load.</p>
  
  <p>I tried</p>
  
  <pre><code>fixture('Restaurant List')
    .page('http://localhost:3000/something')
    .beforeEach(async () =&gt; {
      await waitForReact(120000);
    });
  </code></pre>
  
  <p>For example with no success.</p>