# This is the default profile. It has settings that are useful for development, contains documentation, and gets
# merged into all other profiles.

# configurations for the browser
:browser:
  # name of the browser. options are chrome, firefox, and safari. only chrome has been heavily tested.
  :name: "chrome"
  # platform on which the browser is running. options are local, grid, docker, and docker_compose.
  :platform: "grid"
  # window dimensions of the browser
  :dimensions:
    :width: 1280
    :height: 800
  # IP and port for the selenium hub if running on the grid
  :grid_options:
    :ip: "10.40.1.116"
    :port: "4444"

:database:
  :art_relations:
    :host: <%= ENV["DEV_AR_HOST"] %>
    :username: <%= ENV["DEV_AR_USER"] %>
    :password: <%= ENV["DEV_AR_PASS"] %>
    :database: <%= ENV["DEV_AR_DATABASE"] %>

:misc:
  # quits cucumber after the first failure
  :fast_feedback: false
  # uses watir-screenshot-stitch gem to take full-page stitched screenshots.
  :stitched_screenshots: false
  # uses longer waits TODO: replace this with an explicit global timeout duration
  :cache_warm: false
  # leaves the browser open at the end of the test run. useful for debugging.
  :leave_open: false
  # TFA is skipped if we're in the office
  :tfa_whitelisted: false
  # restart browser windows after scenario failures
  :restart_on_failure: false
  # fail if console logs contain unreturned promises
  :fail_on_unreturned_promises: false
  # use headless chrome
  :headless: false
