Enrolment And Access UAT Journeys
Purpose
Use these journeys when a change may affect sign-in, session handling, seller profile details, user defaults, or admin access management.
Preconditions
- You know which user account to test with.
- For admin checks, the account has administrator access.
- For non-admin checks, use a normal active account.
Sign-In And Session Smoke
Automation: Partially automated UAT:
Glovelly.Uat.Tests.SmokeTests.SignInEntryPointIsVisiblecovers the public sign-in entry point and authenticated UAT tests cover the test-auth session path; real Google sign-in, refresh, and sign-out remain manual.
Steps
- Open Glovelly.
- Sign in with the test account.
- Open Clients, Gigs, and Invoices.
- Refresh the page.
- Confirm the same workspace data returns without a new sign-in prompt.
- Sign out.
Expected Results
The user can sign in, navigate through the core workspaces, refresh without losing the session, and sign out cleanly.
Seller Profile And Defaults
Automation: Backend automated; manual UAT:
Glovelly.Api.Tests.SellerProfileEndpointsTestscovers profile persistence and validation; PDF/default browser checks remain manual.
Steps
- Open seller profile.
- Add or edit seller name, address, email, and payment details.
- Save.
- Generate or redraft an invoice.
- Download the PDF.
Expected Results
The invoice PDF reflects seller profile and payment details. Missing profile details produce helpful UI notices rather than broken invoices.
User Settings
Automation: Backend automated; manual UAT:
Glovelly.Api.Tests.AuthEndpointsTests.UpdateSettings_*covers settings persistence and validation; browser default reuse remains manual.
Steps
- Open user settings.
- Change the display name and save.
- Confirm the profile menu shows the new name immediately.
- As an administrator, open the Admin section and confirm the matching user row shows the new name without a browser refresh.
- Refresh the page or sign in again and confirm the name remains saved.
- Change default invoice or mileage settings.
- Save.
- Create a new client or gig that uses defaults.
- Generate an invoice where those defaults should apply.
Expected Results
The display name updates immediately in the profile menu and Administrator user list, and remains saved after refresh or a new sign-in. Saved defaults are reused in later client, gig, or invoice workflows where expected. Existing records are not unexpectedly overwritten.
Admin Access
Automation: Backend automated; manual UAT: admin access APIs have backend coverage; browser role-management flow remains manual.
Steps
- Open Admin as an administrator.
- Create a user record and leave
Email this user an invitation to sign inchecked. - Save.
- Open the invitation as the recipient and confirm it identifies the Google email address to use and provides an
Accept invitation and sign inbutton. - Follow the button and sign in with Google using that provisioned, verified email address.
- Confirm Glovelly grants access and subsequent sign-ins continue to work.
- Return to the administrator session and confirm the user list updates and the status confirms the invitation was sent.
- Create another user record and clear
Email this user an invitation to sign in. - Save.
- Confirm the user list updates without an invitation-sent status.
- Edit a user record.
- Toggle active state or role.
- Save.
- Edit your own display name and save.
- Confirm the avatar dropdown updates to the saved name without a browser refresh.
Expected Results
Admin changes persist and non-admin users cannot access admin workflows. An administrator editing their own account sees the updated display name immediately in the avatar dropdown. New users can accept an email invitation only by signing in with the provisioned verified Google email, after which Glovelly enrols that Google identity. Admins can choose not to send the invitation when needed.
Access-Request Approval
Automation: Backend automated; manual UAT:
Glovelly.Api.Tests.AccessRequestAdminEndpointsTestscovers approval, expiry, decline idempotency, invitation delivery failure, and notification review links.
Steps
- Sign in to Google with an unauthorised account with a verified email address and request access.
- Open the access-request notification received by an active administrator.
- Follow
Review access requestand, if needed, complete Google sign-in as an administrator. - Confirm Glovelly opens the Access requests dialog with the requester selected and the requester email is displayed but cannot be edited.
- Choose the requester role and active state, leave
Send invitation emailselected, and approve access. - Confirm the requester is removed from the pending list and the result confirms provisioning and invitation delivery.
- Sign in as the requester with the same verified Google email and confirm normal first sign-in grants the provisioned role.
- Open Access requests from the administrator profile menu, select another pending request, choose Decline, and cancel the confirmation.
- Confirm the request remains pending, then decline it again and confirm the decline.
- Confirm declined requests can no longer be approved and a standard user cannot see Access requests in the profile menu.
Expected Results
Notification links only navigate to an authenticated administrator review; they never provision access by themselves. Approval provisions the stored request identity without retyping the email, preserves Google first-login binding, and optionally sends an invitation. Decline requires confirmation and makes no user changes. Pending request count and profile-menu indicator reflect outstanding review work.
Inactive User Deletion
Automation: Backend automated; manual UAT:
Glovelly.Api.Tests.AdminEndpointsTests.DeleteUser_WhenInactive_DeletesUser,DeleteUser_WhenActive_ReturnsValidationProblem, andDeleteUser_WhenCurrentUser_ReturnsValidationProblem
Steps
- Select an active user.
- Confirm the
Delete userbutton is red and disabled. - Edit that user, mark the account inactive, and save.
- Confirm
Delete useris enabled. - Click
Delete userand decline the confirmation prompt. - Confirm the user remains in the list.
- Click
Delete useragain and accept the confirmation prompt.
Expected Results
Only inactive users can be deleted. Active users, including the current administrator account, cannot be deleted.
Notes
Access changes can lock testers out of an environment. Confirm the target user before changing active state or administrator role.