You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
I am running smart tests in the command line with sequences SMARTDiscoverySequence, ManualRegistrationSequence, and StandaloneLaunchSequence.
I am getting the following result for StandaloneLaunchSequence Sequence:
✓ pass - SLS-01 OAuth 2.0 authorize endpoint secured by transport layer security
X fail - SLS-02 OAuth server redirects client browser to app redirect URI Message: Fatal Error: no implicit conversion of nil into String
skip - SLS-03 Inferno client app receives code parameter and correct state parameter from OAuth server at redirect URI
Message: Redirect to OAuth server failed
✓ pass - SLS-04 OAuth token exchange endpoint secured by transport layer security
skip - SLS-05 OAuth token exchange fails when supplied invalid code Message: Redirect to OAuth server failed
skip - SLS-06 OAuth token exchange fails when supplied invalid client ID Message: Redirect to OAuth server failed
skip - SLS-07 OAuth token exchange request succeeds when supplied correct information Message: Redirect to OAuth server failed
skip - SLS-08 Token exchange response body contains required information encoded in JSON Message: Redirect to OAuth server failed
skip - SLS-09 Response includes correct HTTP Cache-Control and Pragma headers Message: Redirect to OAuth server failed
Please notice the failing test case SLS-02. I am sure I have provided all the correct details as the tests work in the normal web application (http://localhost:4567)
I am running smart tests in the command line with sequences SMARTDiscoverySequence, ManualRegistrationSequence, and StandaloneLaunchSequence.
I am getting the following result for StandaloneLaunchSequence Sequence:
✓ pass - SLS-01 OAuth 2.0 authorize endpoint secured by transport layer security
X fail - SLS-02 OAuth server redirects client browser to app redirect URI Message: Fatal Error: no implicit conversion of nil into String
skip - SLS-03 Inferno client app receives code parameter and correct state parameter from OAuth server at redirect URI
Message: Redirect to OAuth server failed
✓ pass - SLS-04 OAuth token exchange endpoint secured by transport layer security
skip - SLS-05 OAuth token exchange fails when supplied invalid code Message: Redirect to OAuth server failed
skip - SLS-06 OAuth token exchange fails when supplied invalid client ID Message: Redirect to OAuth server failed
skip - SLS-07 OAuth token exchange request succeeds when supplied correct information Message: Redirect to OAuth server failed
skip - SLS-08 Token exchange response body contains required information encoded in JSON Message: Redirect to OAuth server failed
skip - SLS-09 Response includes correct HTTP Cache-Control and Pragma headers Message: Redirect to OAuth server failed
Please notice the failing test case SLS-02. I am sure I have provided all the correct details as the tests work in the normal web application (http://localhost:4567)
Here is my script.json
{ "server": "<my server link>", "module": "smart", "arguments": { "client_id": "<my client id>", "client_secret": "<my client secret>", "confidential_client": true, "oauth_authorize_endpoint":"<my host>/authorize?connection=<my connection name>", "scope": "launch launch/patient offline_access openid profile user/*.* patient/*.*", "standalone_launch_script": [ { "cmd": "send_keys", "type": "name", "find_value": "email", "value": "<my email>" }, { "cmd": "send_keys", "type": "name", "find_value": "password", "value": "<my password>" }, { "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": [ "SMARTDiscoverySequence", "ManualRegistrationSequence", "StandaloneLaunchSequence" ] }
The text was updated successfully, but these errors were encountered: