Метод |
Описание |
|
addNewEvent ( $subspecialty, string $event_name = 'Message' ) |
Create a new event of the given name. |
|
checkDisplayFaoIs ( $fao ) |
|
|
checkDisplayMessageIs ( $message ) |
|
|
checkDisplayTypeIs ( $type ) |
|
|
checkForLinkToUrl ( $url ) |
|
|
checkHaveMessagesInDashboard ( ) |
|
|
checkNoUserSearchAvailable ( ) |
|
|
clickEditLink ( ) |
|
|
enterMessage ( $message ) |
|
|
expandSubspecialty ( $subspecialty ) |
more pragramatic approach to expanding sidebar, which should be in core. |
|
getBaseUrl ( ) : mixed |
This might be hideously brittle, but it will get the job done for now. |
|
getCurrentUrl ( boolean $remove_base = true ) : mixed | string |
|
|
getLinkElementForUrl ( $url ) : Behat\Mink\Element\NodeElement | mixed | null |
|
|
isValidationMessagePresent ( $message ) |
|
|
logout ( ) |
|
|
saveAndConfirm ( ) |
|
|
saveEvent ( ) |
This should be the same behaviour for every OE page. |
|
selectAutoCompleteOptionByIndex ( $index ) |
Crude selection of the autocomplete results (searching by text value is awkward because of span
highlighting for the match). |
|
selectLatestEvent ( ) |
|
|
selectMessageType ( $type ) |
|
|
selectedUserIs ( $username ) |
|
|
storeBookmark ( $name ) |
|
|
typeIntoFAOSearch ( $search_term ) |
Search for a user in the FAO field. |
|