Multi File Toggle

Framework: BDD Generated: 2026-06-23 Model: claude-sonnet-4-6
Test Name: Multi-file toggle is visible in the input panel
Feature: Multi-file mode — toggle and lock behavior
Traceability: @SHIFT-49
Description: Verifies that the multi-file toggle control is present on the Analyze page for all users.
This Test Verifies:
Verification StepWhat It Checks
Toggle visibility The multi-file toggle appears in the input area of the Analyze page
Test Name: Multi-file toggle shows a lock icon when not logged in
Feature: Multi-file mode — toggle and lock behavior
Traceability: @SHIFT-49
Description: Verifies that guest users see a lock icon on the multi-file toggle, signaling the feature requires sign-in.
This Test Verifies:
Verification StepWhat It Checks
Lock icon for unauthenticated users A lock icon is displayed on the multi-file toggle when the user is not signed in
Test Name: Clicking the multi-file toggle when not logged in shows a sign-in prompt
Feature: Multi-file mode — toggle and lock behavior
Traceability: @SHIFT-49
Description: Verifies that guest users who attempt to enable multi-file mode are shown a sign-in prompt and the feature remains disabled.
This Test Verifies:
Verification StepWhat It Checks
Warning toast on toggle click A 'Sign in to use multi-file mode.' message appears when an unauthenticated user clicks the toggle
Multi-file mode stays off Multi-file mode is not activated after the click attempt by a guest user
Test Name: Hovering the lock icon shows a tooltip
Feature: Multi-file mode — toggle and lock behavior
Traceability: @SHIFT-49
Description: Verifies that hovering over the lock icon on the multi-file toggle displays a helpful tooltip directing users to sign in.
This Test Verifies:
Verification StepWhat It Checks
Tooltip on lock icon hover A 'Sign in to unlock' tooltip becomes visible when a guest user hovers over the lock icon
Test Name: Clicking the lock icon navigates to the login page
Feature: Multi-file mode — toggle and lock behavior
Traceability: @SHIFT-49
Description: Verifies that guest users are taken to the login page when they click the lock icon on the multi-file toggle.
This Test Verifies:
Verification StepWhat It Checks
Navigation to login page Clicking the lock icon redirects an unauthenticated user to the login page
Test Name: Open lock icon is shown when logged in and is not a link
Feature: Multi-file mode — toggle and lock behavior
Traceability: @SHIFT-49
Description: Verifies that signed-in users see an open lock icon on the multi-file toggle and that it does not navigate away from the page.
This Test Verifies:
Verification StepWhat It Checks
Open lock icon for authenticated users The multi-file toggle shows an open lock icon when the user is signed in
Open lock icon is not clickable as a link The open lock icon does not function as a navigation link for authenticated users
Test Name: Multi-file mode is disabled and queue is cleared when the user logs out
Feature: Multi-file mode — toggle and lock behavior
Traceability: @SHIFT-49
Description: Verifies that when a signed-in user logs out, multi-file mode is automatically turned off and any queued files are removed.
This Test Verifies:
Verification StepWhat It Checks
Multi-file mode disabled after logout Multi-file mode is no longer active after the user signs out and returns to the Analyze page
File queue cleared after logout Any files previously added to the multi-file queue are no longer visible after logout
Lock icon restored after logout The multi-file toggle reverts to showing a lock icon once the user has signed out