Package core.helpers

Class LoginHelper

java.lang.Object
core.helpers.LoginHelper

public class LoginHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    if single signin enabled, And new test user is different form previous, shutdown webdriver And restart user is stored at Suite level
    protected static boolean
    if single signin disabled, continue with login if enabled, continue if: - user has changed - logged in user is not set - user is at login page

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LoginHelper

      public LoginHelper()
  • Method Details

    • handleDifferentUser

      public static void handleDifferentUser()
      if single signin enabled, And new test user is different form previous, shutdown webdriver And restart user is stored at Suite level
      Throws:
      Exception
    • isContinueLogin

      protected static boolean isContinueLogin()
      if single signin disabled, continue with login if enabled, continue if: - user has changed - logged in user is not set - user is at login page
      Returns: