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

  • Application
  • PHR
  • PHRTestCase
  • Overview
  • Namespace
  • Class

Class Application

Page object which serves as a base to all applications.

Azalea\Selenium\Core\WebDriver
Extended by Azalea\Selenium\Core\Page
Extended by Azalea\Selenium\PHR\Application

Direct known subclasses

Azalea\Selenium\PHR\PHR
Namespace: Azalea\Selenium\PHR
Located at lib/src/Azalea/Selenium/PHR/Application.php
Methods summary
public static Azalea\Test\Core\Page
# login( Azalea\Test\TestCase\BaseTestCase $driver, string $email, string $password )

Logs into the application with the given credentials.

Logs into the application with the given credentials.

Parameters

$driver
$email
$password

Returns

Azalea\Test\Core\Page

Throws

InvalidArgumentException
public static Azalea\Test\Core\Page
# loginAs( Azalea\Test\TestCase\BaseTestCase $driver, Azalea\Test\Util\User $user )

Logs into the application with the given User.

Logs into the application with the given User.

Parameters

$driver
$user

Returns

Azalea\Test\Core\Page

Throws

InvalidArgumentException
public Azalea\Test\Page\LoginPage
# logout( )

Logs out of the application by completing the log out user interaction sequence.

Logs out of the application by completing the log out user interaction sequence.

Returns

Azalea\Test\Page\LoginPage
public boolean
# isErrorPopup( string $text = null )

Returns true if there is an error popup displayed on the screen. Optionally, if $text is supplied, it will compare the popup's text with $text and return true only if they are a match

Returns true if there is an error popup displayed on the screen. Optionally, if $text is supplied, it will compare the popup's text with $text and return true only if they are a match

Parameters

$text

Returns

boolean
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 APPLICATION_CONTAINER_ID
# "main_view"
Properties summary
protected string $heading

$heading To be set by child class

$heading To be set by child class

# ""
Properties inherited from Azalea\Selenium\Core\WebDriver
$driver, $timeout
API documentation generated by ApiGen