Skip to main content

Login

Overview​

This test suite verifies the functionality of the Login component, which provides login options for various social media platforms such as WhatsApp and Line.

Test Cases​

Test: WhatsApp Login​

  • Description: Verifies the presence of the WhatsApp login button within the Login component.
  • Setup: The Login component is rendered.
  • Expectation: Users should be able to locate the WhatsApp login button on the login screen.
    • Assertion: Checks if the WhatsApp login button (whatsapp-login-btn) is present in the rendered component.

Test: Line Login​

  • Description: Ensures the availability of the Line login button in the Login component.
  • Setup: The Login component is rendered.
  • Expectation: Users should be able to identify the Line login button on the login screen.
    • Assertion: Verifies the presence of the Line login button (line-login-btn) in the rendered component.

Additional Considerations​

  • Each test case focuses on validating the presence of specific login options within the Login component, ensuring that users can access various social media login functionalities seamlessly.