Behat step definitions for Report builder.  
 More...
|  | 
|  | resolve_page_instance_url (string $type, string $identifier) | 
|  | Convert page names to URLs for steps like 'When I am on the "[identifier]" "[page type]" page'. 
 | 
|  | 
Behat step definitions for Report builder. 
- Copyright
- 2021 Paul Holden paulh.nosp@m.@moo.nosp@m.dle.c.nosp@m.om 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ get_partial_named_selectors()
  
  | 
        
          | static behat_reportbuilder::get_partial_named_selectors | ( |  | ) |  |  | static | 
 
Return the list of partial named selectors. 
- Return values
- 
  
    | behat_component_named_selector[] |  |  
 
 
 
◆ getSession()
  
  | 
        
          | behat_session_interface::getSession | ( |  | $name = null | ) |  |  | inherited | 
 
Returns the Mink session. 
- Parameters
- 
  
    | string | null | $name | name of the session OR active session will be used |  
 
- Return values
- 
  
  
Implemented in behat_form_field.
 
 
◆ i_press_action_in_the_report_row()
      
        
          | behat_reportbuilder::i_press_action_in_the_report_row | ( | string | $action, | 
        
          |  |  | string | $row ) | 
      
 
Press a given action from the action menu in a given report row. 
@When I press :action action in the :row report row
- Parameters
- 
  
  
 
 
◆ i_set_the_column_aggregation_to()
      
        
          | behat_reportbuilder::i_set_the_column_aggregation_to | ( | string | $column, | 
        
          |  |  | string | $aggregation ) | 
      
 
Set aggregation for given column in report editor (proxied so we can skip if aggregation type not available) 
@When I set the :column column aggregation to :aggregation
- Parameters
- 
  
    | string | $column |  |  | string | $aggregation |  |  
 
- Exceptions
- 
  
  
 
 
◆ resolve_page_instance_url()
  
  | 
        
          | behat_reportbuilder::resolve_page_instance_url | ( | string | $type, |  
          |  |  | string | $identifier ) |  | protected | 
 
Convert page names to URLs for steps like 'When I am on the "[identifier]" "[page type]" page'. 
Recognised page names are: | type | identifier | description | | Editor | Report name | Custom report editor | | View | Report name | Custom report view |
- Parameters
- 
  
    | string | $type |  |  | string | $identifier |  |  
 
- Return values
- 
  
  
- Exceptions
- 
  
    | Exception | for unrecognised report or page type |  
 
 
 
◆ PAGE_READY_JS
  
  | 
        
          | const behat_session_interface::PAGE_READY_JS |  | inherited | 
 
Initial value:= "document.readyState === 'complete' && " .
        "(typeof M !== 'object' || typeof M.util !== 'object' || " .
        "typeof M.util.pending_js === 'undefined' || M.util.pending_js.length === 0)"
The JS code to check that the page is ready. 
The document must be complete and either M.util.pending_js must be empty, or it must not be defined at all. 
 
 
The documentation for this class was generated from the following file: