Overview

Namespaces

  • Azalea
    • Selenium
      • App
        • Charts
        • Components
        • Encounters
        • Home
        • Login
        • Main
        • Messages
        • Patients
        • Scheduler
      • Core
      • EHR
        • UI
          • Charts
          • Documents
          • Encounters
          • Home
          • Messaging
            • Folders
          • Patients
          • Payments
          • Precerts
          • Reports
          • Scheduler
          • Settings
            • General
              • Locations
              • Roles
              • Users
        • User
      • Login
        • UI
      • PHR
        • UI
        • User
      • Toolkit
        • Exception
        • Validation
    • Util
  • None
  • tests
    • integration
      • barebones
        • controllers
          • charts
          • patients
          • system
        • models
          • billing
          • encounters
          • examples
          • messaging
          • rcm
          • system
    • unit
      • barebones
        • lib
        • utilities
          • calculations

Classes

  • LoginPage
  • LoginTestCase
  • ResetPasswordPage
  • Overview
  • Namespace
  • Class

Class LoginPage

Page object which represents the Login Page. Use the login method to login with a particular user.

Azalea\Selenium\Core\WebDriver
Extended by Azalea\Selenium\Core\Page
Extended by Azalea\Selenium\Login\LoginPage
Namespace: Azalea\Selenium\Login
Located at lib/src/Azalea/Selenium/Login/LoginPage.php
Methods summary
public
# login( string $email, string $password )

Performs the login action

Performs the login action

Parameters

$email
$password
public
# loginAs( Azalea\Selenium\Core\User $user )

Performs the login action from a pre-defined User object.

Performs the login action from a pre-defined User object.

Parameters

$user
public boolean
# isInvalidLogin( )

Returns true if we are in an invalid login state.

Returns true if we are in an invalid login state.

Returns

boolean
public Azalea\Selenium\Login\ResetPasswordPage
# resetPassword( )

Navigate to the Forgot Password link.

Navigate to the Forgot Password link.

Returns

Azalea\Selenium\Login\ResetPasswordPage
protected boolean
# verify( )

Called by the Page class to verify that we are on the correct page.

Called by the Page class to verify that we are on the correct page.

Returns

boolean

Overrides

Azalea\Selenium\Core\Page::verify()
Methods inherited from Azalea\Selenium\Core\Page
checkTitle(), get(), title()
Methods inherited from Azalea\Selenium\Core\WebDriver
__call(), __construct(), clickAndWait(), displayed(), displayedById(), exists(), existsById(), getCurrentHash(), getDriver(), getElementsByCss(), setDriver(), spinWait(), updateHash(), wait()
Constants summary
string LOGIN_PAGE_TITLE
# "Azalea Health - Secure Site"
Properties summary
protected static string $url
# "/login.php"
Properties inherited from Azalea\Selenium\Core\WebDriver
$driver, $timeout
API documentation generated by ApiGen