Sign inSign up

fliptscript/inferno-headless

By fliptscript

Updated over 6 years ago

Docker image for headless Inferno testing, see: https://github.com/onc-healthit/inferno

Image
0

212

fliptscript/inferno-headless repository overview

docker run --network=hin-network --rm -e TEST_FILE=test.json -v ~/Desktop/inferno_tests:/inferno_tests fliptscript/inferno-headless

In the above command, there should be a local file called test.json in Desktop/inferno_tests

Example test.json:

{
    "server": "http://hin-fhir-server:8080",
    "arguments": {
      "client_name": "Inferno",
      "initiate_login_uri": "http://hin-fhir-server:8080/launch",
      "redirect_uris": "http://hin-fhir-server:8080/redirect",
      "scopes": "launch launch/patient offline_access openid profile user/*.* patient/*.*",
      "confidential_client": true,
      "standalone_launch_script": [
          {"cmd": "send_keys", "type": "name", "find_value": "email", "value": "[email protected]"},
          {"cmd": "send_keys", "type": "name", "find_value": "password", "value": "xxx"},
          {"cmd": "click", "type": "tag_name", "find_value": "button", "index": 3},
          {"cmd": "click", "type": "class", "find_value": "patient-row", "index": 1},
          {"cmd": "click", "type": "name", "find_value": "authorize"}
      ]
    },
    "sequences": [
      "Conformance",
      "DynamicRegistration",
      "PatientStandaloneLaunch",
      "ArgonautPatient"
    ]
  }

Tag summary

Content type

Image

Digest

Size

421.9 MB

Last updated

over 6 years ago

docker pull fliptscript/inferno-headless