Exam #2: Mobile App - User Login and Authentication

Prompt:

Generate test cases for a mobile app login feature with these requirements: Users should be able to log in using email and password or via Google/Facebook authentication. The app should prevent brute force attacks and enforce strong password requirements. Include functional, UI, and security test cases.

Example Output:

• Verify that a user can log in successfully with a valid email and password.

• Verify that an error message appears when using an incorrect password.

• Verify that a user can log in via Google authentication.

• Verify that a user can log in via Facebook authentication.

• Verify that the login button remains disabled if the email field is empty.

• Verify that the app prevents login after 5 failed attempts.

• Verify that the system enforces a password policy (e.g., min 8 characters, special characters).

• Verify that the app does not expose password information in error messages.

Last updated