• Mike Greiling's avatar
    Merge branch 'sh-headless-chrome-support' into ee-sh-headless-chrome-support · 6a7a5417
    Mike Greiling authored
    * sh-headless-chrome-support: (167 commits)
      use resize_window helper
      refactor wait_for_requests, add slow_requests block helper
      target label instead of obscured input element
      scroll to top before attempting to click the "Side-by-side" button
      remove out-of-date comments about webdriver compatability
      explicitly add Accept: */* HTTP header back to test
      add visible argument to helper rather than duplicating code
      add InspectRequests helper automatically to :js tests
      add CookieHelper and InputHelper automatically to :js tests
      fix bracket styling
      remove unused capybara_select2 helper
      add spacing around yield
      add slow_requests! to filtered search tests which expect to see a loading spinner
      make window resizing more resiliant on small screens when headless mode is off
      fix flaky fill_in use in which return key would occasionally be intercepted by autocomplete
      move resize option the pre-test hooks instead of post-test
      enable CHROME_HEADLESS environment variable for Spinach tests similar to RSpec
      reset browser window size between tests
      explicitly check innerText since selenium webdriver only looks at visible text
      prevent resolve buttons from being clicked twice triggering a race condition
      ...
    6a7a5417
issues_spec.rb 20.5 KB