Module: LeapSalesforce
- Defined in:
- lib/leap_salesforce_ui.rb,
lib/leap_salesforce_ui/error.rb,
lib/leap_salesforce_ui/form_filler.rb,
lib/leap_salesforce_ui/set_record_type.rb,
lib/leap_salesforce_ui/page_introspection.rb,
lib/leap_salesforce_ui/generator/appenders.rb,
lib/leap_salesforce_ui/generator/page_objects.rb
Overview
Adding additional UI capability to leap_salesforce gem
Defined Under Namespace
Modules: FormFiller, Generator, Generators, PageIntrospection, SetRecordType Classes: SetFieldError, SubmitError
Class Attribute Summary collapse
-
.headless ⇒ Boolean
Whether to run in headless mode.
-
.login_through_session ⇒ Boolean
Whether to login using session obtained via SOAP.
-
.ui_user ⇒ String
User used for UI tests.
Class Method Summary collapse
Class Attribute Details
.headless ⇒ Boolean
Returns Whether to run in headless mode. Default false.
54 55 56 |
# File 'lib/leap_salesforce_ui.rb', line 54 def headless @headless end |
.login_through_session ⇒ Boolean
Returns Whether to login using session obtained via SOAP.
56 57 58 |
# File 'lib/leap_salesforce_ui.rb', line 56 def login_through_session @login_through_session end |
.ui_user ⇒ String
Returns User used for UI tests.
51 52 53 |
# File 'lib/leap_salesforce_ui.rb', line 51 def ui_user @ui_user end |
Class Method Details
.browser(test_name = nil) ⇒ Object
41 42 43 |
# File 'lib/leap_salesforce_ui.rb', line 41 def browser(test_name = nil) @browser ||= new_browser(test_name) end |
.close_browser ⇒ Object
45 46 47 48 |
# File 'lib/leap_salesforce_ui.rb', line 45 def close_browser @browser&.close @browser = nil end |