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

functional tests for APKAM in at_client/onboarding_cli #1155

Closed
murali-shris opened this issue Oct 30, 2023 · 2 comments
Closed

functional tests for APKAM in at_client/onboarding_cli #1155

murali-shris opened this issue Oct 30, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@murali-shris
Copy link
Member

Is your feature request related to a problem? Please describe.

we currently have few functional tests in at_onboarding_cli for APKAM enrollment,auth, usage of get/put/scan etc.,
https://github.com/atsign-foundation/at_libraries/blob/apkam_onboarding_changes_squashed/tests/at_onboarding_cli_functional_tests/test/enrollment_test.dart
We need a comprehensive set of end2end tests in at_client for APKAM

Describe the solution you'd like

Tests should cover

  • onboarding+enrollment of first client (so the first client can approve future enrollment requests)
  • enrollment submission of new client
  • invalid OTP from new enrollment request
  • re-use of valid OTP more than once should be prohibited
  • OTPs after timeout should be invalid
  • enrollment approval/deny/timeout
  • client side functionalities after enrollment put,get, scan,llookup etc.,
  • enrolled client should not be able to access unauthorized namespaces

Describe alternatives you've considered

No response

Additional context

No response

@murali-shris murali-shris added the enhancement New feature or request label Oct 30, 2023
@murali-shris murali-shris changed the title end2end test framework for APKAM end2end tests for APKAM Oct 30, 2023
@murali-shris
Copy link
Member Author

Updates in PR 75:

@murali-shris murali-shris changed the title end2end tests for APKAM functional tests for APKAM in at_client/onboarding_cli Nov 27, 2023
@murali-shris
Copy link
Member Author

Functional tests changes are in apkam_onboarding_changes branch. Took a task to explore appium for at_client_mobile testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants