...
- Preconditions: none
- Test steps:
ndslabsctl
ndslabsctl -h
ndslabsctl --help
- Expected results
- Any of these commands should display the help/usage information
- Issues:
- help command still references "apictl"
- Resolved
Project administration
Add project (admin only)
...
- Preconditions
- Admin is logged in or current project user is logged in
- Test steps
- ndslabsctl get project <project>
- Expected results
- Displays project details (as json)
- Password is redacted
- Alternate flows:
- Project does not exist (404)Problem: Can only get details of currently logged in project -> admin user can no longer get project detailsResolved
- Project is not current project (401 unauthorized)
- Preconditions
...
- Preconditions
- User is logged in
- Test steps
- ndslabsctl logout
- ndslabsctl list services
- Expected results:
- List command results in "unauthorized"
- Issues
- Attempting to logout without logging in first yields:
"Error removing passwd data: remove /home/core/.apictl/.passwd: no such file or directory"
Resolved
- Attempting to logout without logging in first yields:
Change password
- Preconditions:
- User is logged in
- Test steps
- ndslabsctl login <user>
- ndslabsctl passwd
- Enter current password
- Enter new password
- Confirm new password
- Alternate flows:
- User not logged in (401 unauthorized)
- Invalid password
- Password mismatch yield error message: "Passwords do not match"
- Expected results
- Password is changed
...