Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FI-2456: Verify granular scopes #171

Merged
merged 6 commits into from
May 3, 2024
Merged

Conversation

Jammjammjamm
Copy link
Contributor

Summary

This branch adds tests to verify that the required granular scopes were granted.

Testing Guidance

Run one of the granular scope launches against the reference server. When the reference server allows you to select which scopes to grant, deselect some of the granular scopes, and test will fail.

@Jammjammjamm Jammjammjamm self-assigned this Apr 22, 2024
@yunwwang
Copy link
Contributor

yunwwang commented May 2, 2024

When I run PR-171, I got a purple error when selecting ALL granular scopes in US Core 6.0.1 test suite
image

How to reproduce:

  • Start US Core Test v6.1.0 + SMART 2.0
  • Select "Inferno Reference Server" Preset.
  • Run Test 3.1.1
  • Select "Patient/85"
  • Authorize all items
  • Observe 3.1.1.2.8 failed with purple error

@Jammjammjamm Jammjammjamm force-pushed the fi-2456-verify-granular-scopes branch from 701c35d to 6bfa8d6 Compare May 3, 2024 13:07
@Jammjammjamm
Copy link
Contributor Author

@yunwwang That issue should be resolved now.

@yunwwang
Copy link
Contributor

yunwwang commented May 3, 2024

Test result looks as expected.
image

@Jammjammjamm Jammjammjamm merged commit 9c77c90 into main May 3, 2024
2 checks passed
@Jammjammjamm Jammjammjamm deleted the fi-2456-verify-granular-scopes branch May 3, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants