DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
Test Case ID | Test Objective | Test Steps | Expected Outcome | Test Type |
|---|---|---|---|---|
| TC-001 | Validate loading config via AIRFLOW_CLI_ENVIRONMENT |
|
|
|
|
|
|
|
|
| Config is loaded from |
~/airflow/dev. |
json , user is authenticated, Connections are listed | Positive | |
| TC-002 | Handle missing config file for specified environment |
|
|
|
|
| Error: |
Configuration file '~/airflow/nonexistent.json' not |
found | Negative | |
| TC-003 | Verify login with valid username and password using default environment |
|
|
|
|
|
|
| User is authenticated, Connection list is returned | Positive |
| TC-004 | Ensure login fails if --username or --password is missing |
|
|
|
|
| Error: |
--password is |
required | Negative | |
| TC-005 | Reject login with invalid credentials |
|
|
|
|
| Error: |
Invalid credentials | Negative | |
| TC-006 | RBAC prevents restricted user from accessing Connections |
|
|
|
| An error message like |
Permission denied or HTTP 403 | Negative | |
| TC-007 | RBAC allows permitted user to access Connections |
|
|
|
| The connections list is returned | Positive | |
| TC-008 | Handle API downtime gracefully |
|
|
| CLI shows |
API unreachable or an appropriate timeout error | Edge | |
| TC-009 | Verify CLI triggers correct API endpoints |
|
|
| API logs show endpoint: |
GET /api/v2/ |
connections | Positive | |||
| TC-010 | Command Testing |
| Ensure commands are working properly | Positive |
| TC-011 | Verify version |
| Proper airflowctl and airflow versions are listed. | Positive |