All Downloads are FREE. Search and download functionalities are using the official Maven repository.

init.gwen.conf Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version
#
# Common Gwen Settings
# --------------------
# 
# Configure all your common Gwen settings here.
# 
# Configure all your browser level settings in the browser folder.
# Configure all your environment level settings in the envs folder.
#
# 
# For more detailed information about each setting see:
# - https://gweninterpreter.org/docs/settings/reference
#
# Format: HOCON (Human-Optimized Config Object Notation superset of JSON)
# - See: https://github.com/lightbend/config/blob/master/HOCON.md
#

gwen {
  baseDir = "${gwen.initDir}"
  outDir = "${gwen.baseDir}/output"
  target {
    browser = "chrome"            # chrome|firefox|safari|edge|ie
    env = "test"                  # local|dev|test|staging|prod|..
  }
  assertion {
    mode = "hard"                 # hard|soft|sustained
  }
  associative {
    meta = true
  }
  auto {
    bind {
      tableData {
        outline {
          examples = true
        }
      }
    }
    discover {
      data {
        csv = false
        json = false
      }
      meta = true
    }
    trim {
      data {
        csv = false
        json = false
      }
    }
  }
  behavior {
    rules = "strict"              # strict|lenient
  }
  cli {                           # CLI options
    options {                     # See: https://gweninterpreter.org/docs/settings/reference#cli-settings
      batch  = false
      format = [
        "html"
        # "junit",
        # "json",
        # "rp",
        # "none"
      ]
      dryRun = false
      features = [
      ]
      inputData = ""
      meta = [
        "${gwen.baseDir}/meta"
      ]
      parallel = false
      report = ${gwen.outDir}/reports
      tags = [
        # "@tag1",
        # "~@tag2",
        # ..
      ]
      verbose = false
    }
  }
  console {
    log {
      colors = true
      depth = 1                   # "infinity" to log all depths
      stepDefs = true
    }
    repl {
      autoSuggestions = true
      tabCompletion = true
    }
  }
  dryRun {
    limit {
      tableData {
        outline {
          examples {
            records = "infinity"  # "infinity" to include all records in dry run
          }
        }
      }
    }
  }
  error {
    messages {
      inline {
        locators = false
      }
    }
  }
  feature {
    dialect = "en"
    failfast {
      enabled = true
      exit = false
    }
    mode = "declarative"          # declarative|imperative
  }
  logLevel {
    deprecations = "warn"         # warn|error|none
  }
  mask {
    char = "*"
  }
  output {
    dir = "${gwen.baseDir}/output"
  }
  parallel {
    maxThreads = auto             # auto|number (auto = all available cores)
  }
  rampup {
    interval {
      seconds = 0                 # 0 = non staggerred parallel execution
    }
  }
  report {
    attach {
      functions = true
    }
    overwrite = false
    slideshow {
      create = false
      framespersecond = 4
    }
    stepDef {
      indent {
        pixels = 20
      }
    }
    suppress {
      meta = true
    }
  }
  rp {
    debug = false
    heartbeat {
      enabled = true
      timeoutSecs = 3
    }
    send {
      annotations = false
      breadcrumbs = false
      failed {
        envTrace = "none"         # inlined|attached|none
        errorBlocks = "none"      # all|leaf|none
        errorTrace = "none"       # inlined|attached|none
        hierarchy = "inlined"     # inlined|attached|none
        stepDefs = "inlined"      # inlined|nested|none
      }
      markdownBlocks = true
      meta = false
      stepDefs = "none"           # inlined|nested|none
      tags = true
    }
    testCaseId {
      keys = "nodePath+params"    # nodePath+params|sourceRef+params|nodePath|sourceRef|auto
    }
  }
  state {
    level = "feature"             # feature|scenario
  }
  video {
    dir = ${gwen.outDir}/.video
    timeoutSecs = 10
  }
  web {
    accept {
      untrusted {
        certs = true
      }
    }
    assertions {
      delayMillisecs = 200
      maxStrikes = auto           # number|infinity|auto (infinity = unlimited attempts)
    }
    authorize {
      plugins = false
    }
    browser {
      headless = false
      # size = ""                 # x, eg: 1200x800
    }
    capture {
      screenshots {
        enabled = false
        duplicates = false
        highlighting = false
      }
    }
    driver {
      manager = "SeleniumManager" # SeleniumManager|WebDriverManager
    }
    highlight {
      style = "background: yellow; border: 2px solid gold;"
    }
    implicit {
      element {
        focus = true
        moveTo = false
      }
      js {
        locators = false
      }
    }
    locator {
      wait {
        seconds = ${gwen.web.wait.seconds}
      }
    },
    maximize = false
    remote {
      localFileDetector = auto    # auto|true|false
      sessionRetries = auto       # auto|true|false
    }
    sendKeys {
      clearFirst = false
      clickFirst = false
    }
    suppress {
      images = false
    }
    throttle {
      msecs = 100
    }
    # useragent = ""
    wait {
      seconds = 10
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy