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

[Test] Add Positive and Negative Scenario Tests #332

Merged
merged 5 commits into from
Jun 6, 2023
Merged

Conversation

YanaXu
Copy link
Collaborator

@YanaXu YanaXu commented Jun 2, 2023

Add more test cases for regular PR checks.
All test cases are for azurecloud.

  • Positive Tests
    • Login with SP + windows + GitHub-hosted runner
    • Login with SP + ubuntu + GitHub-hosted runner
    • Login with OIDC SP + windows + GitHub-hosted runner
    • Login with OIDC SP + ubuntu + GitHub-hosted runner
    • Login with SP + windows + Self-hosted runner
    • Login with SP + ubuntu + Self-hosted runner
    • Login with OIDC SP + ubuntu + Self-hosted runner
    • Login with OIDC SP + windows + Self-hosted runner
    • Both creds and client-id & tenant-id & subscription-id are provided
      • only parameter creds will take effect
    • Login with SP + windows + GitHub-hosted + enable-AzPSSession=false
    • allow-no-subscriptions=true
  • Negative Tests
    • Login with SP + macOS+ GitHub-hosted runner
    • Login with OIDC SP + macOS+ GitHub-hosted runner
    • Miss clientSecret value in creds
    • Wrong keys in creds
    • Only client-id is provided, but tenant-id or subscription-id is not provided
    • Only tenant-id and subscription-id, but client-id is not provided
    • Invalid audience value

@YanaXu YanaXu temporarily deployed to Automation test June 2, 2023 08:02 — with GitHub Actions Inactive
@YanaXu YanaXu changed the title [Test] Add test cases for PR checks [Test] Add Positive and Negative Scenario Tests Jun 2, 2023
@YanaXu YanaXu merged commit 4bba28a into master Jun 6, 2023
@YanaXu YanaXu deleted the yanxu/add_testcases branch June 6, 2023 02:22
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