title: geb.error.RequiredPageContentNotPresent: The required page content 'loginButton is not present
body: <p>Hi i got this error when i try to launch my test.</p>
  
  <p>Please help me to see why it can't click on my submit button</p>
  
  <pre><code>geb.error.RequiredPageContentNotPresent: The required page content 'loginButton - SimplePageContent (owner: LoginPage, args: [], value: null)' is not present
  </code></pre>
  
  <p>Below my LoginPage</p>
  
  <pre><code>import geb.Page
  import pages.IndexPage
  
  class LoginPage extends Page {
  
      static url = "login/auth"
  
      static at = { title == "[Paynum] Identification" }
  
      static content = {
          loginForm { $("form") }
          loginButton { $("input", type: "submit") }
      }
  }
  </code></pre>
  
  <p>Below my test page</p>
  
  <pre><code>import geb.spock.GebReportingSpec
  import pages.*
  import spock.lang.Stepwise
  
  @Stepwise
  class FactControllerSpec extends GebReportingSpec {
  
      def "invalid login"() {
          given: "I am at the login page"
          to LoginPage
  
          when: "I am entering invalid password" 
          loginForm.j_username = "bba"
          loginForm.j_password = "Bocxy1990"
          loginButton.click()
  
          then: "I am being redirected to the login page, the password I entered is wrong"
          at LoginPage
          loginForm.j_username == "bba"
          !loginButton.j_password
      }
  }
  </code></pre>
  
  <p>And here a snippet of my submit button</p>
  
  <pre><code>&lt;div&gt;
        &lt;button id='submit' type='submit'&gt;
          &lt;em class='fa fa-sign-in fa-lg'&gt;&lt;/em&gt;
          &lt;g:message code='springSecurity.login.button' /&gt;
        &lt;/button&gt;
      &lt;/div&gt;
  </code></pre>