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

DXCDT-327: test command --no-input compliance #613

Merged
merged 3 commits into from
Jan 18, 2023

Conversation

willvedd
Copy link
Contributor

@willvedd willvedd commented Jan 18, 2023

🔧 Changes

As reported by #511, the auth0 test token and auth0 test login commands do not respect the --no-input flag because they open the browser and force an interaction. Instead, we should only provide the login URL and enable the user to facilitate the remainder of the login flow as they like. This approach is consistent to what we have implemented for auth0 login --no-input.

📚 References

Original Github issue: #511

🔬 Testing

Currently, no integration tests are possible because of the commands waiting for browser callbacks and never exiting. All tests performed manually.

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@willvedd willvedd requested a review from a team as a code owner January 18, 2023 13:39
@willvedd willvedd enabled auto-merge (squash) January 18, 2023 13:39
@willvedd willvedd merged commit 387b00f into v1 Jan 18, 2023
@willvedd willvedd deleted the DXCDT-327-test-token-no-input branch January 18, 2023 13:59
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