Integration Tests
How Tests Are Being Conducted
All integration tests are being conducted using Testim, a robust automated testing platform. Detailed test results and cases have been documented in an attached Excel sheet for reference and tracking.
Use Case 1: Mock Interview
-
Login and Begin the Interview
- Mock Inputs: User login credentials.
- Result: Confirmation of successful login and redirection to the mock interview dashboard.
-
Performance Analytics
- Mock Inputs: User's responses, completion time, and accuracy.
- Result: Dashboard showing comprehensive performance metrics such as response time, correctness, and overall rating.
-
Feedback Retrieval
- Mock Inputs: User’s written and oral answers.
- Result: AI-generated feedback.
Use Case 2: Digital Whiteboard
-
Drawing on Whiteboard
- Mock Inputs: Stylus or touchscreen input.
- Result: Precise pen strokes reflecting real-time input with no lag.
-
Undo/Redo Functionality
- Mock Inputs: Sequence of drawing, undo and redo commands.
- Result: The whiteboard restores previous strokes correctly.
-
Save and Export Whiteboard
- Mock Inputs: User clicks the Submit button after completing their work on the whiteboard.
- Result:
- The whiteboard content is saved in Firebase.
- A confirmation message is logged in the browser console upon successful saving.
- If there’s an error during the process, an error message is logged in the console with details for troubleshooting.
Use Case 3: AI Assistant
- Hint Request Processing
- Mock Inputs: User's current answer progress.
- Result: Relevant hint or leading question generated based on progress.
Use Case 4: Account Creation
- OAuth Account Linking
- Mock Inputs: User credentials
- Result: Seamless OAuth verification and creation of a new account.
Use Case 5: User Practice History
-
History Retrieval and Display
- Mock Inputs: User’s practice history.
- Result: Display of past questions, AI feedback, and speech emotion scores.
-
Sort History
- Mock Inputs: Sort criteria (e.g., date, question type, or score).
- Result: Display of Sorted results according to user input.
Use Case 6: Logout
- Logout Functionality
- Mock Inputs: User clicks the Logout button or link.
- Result:
- User session is terminated securely.
- User is redirected to the login page.
Use Case 7: Login Requirement for Access
- Redirect to Login
- Mock Inputs: User who is not logged in clicks the Get Started button or attempts to access the app.
- Result:
- The user is redirected to the login page if they are not authenticated.
Use Case 8: Dark Mode
- Enable Dark Mode
- Mock Inputs: User toggles the Dark Mode switch in the settings.
- Result:
- The app interface transitions to a dark theme.
- All UI components, including text, buttons, and backgrounds, adjust to maintain readability.
Use Case 9: Toggle to Hide Teddy
- Toggle Visibility
- Mock Inputs: User clicks the Toggle Teddy button.
- Result:
- Teddy assistant is hidden from the interface.
- Clicking the button again makes Teddy reappear.
Here is the link to the file: View CSV File