Class: UpdatePage

Inherits:
Object
  • Object
show all
Extended by:
BasePage, LeapSalesforce::FormFiller, LeapSalesforce::PageIntrospection
Defined in:
lib/leap_salesforce_ui/update_page.rb

Overview

Base class for updating an entity in Salesforce

Class Method Summary collapse

Methods included from BasePage

browser, soql_object, visit

Methods included from LeapSalesforce::PageIntrospection

id

Methods included from LeapSalesforce::FormFiller

error_list, field_for, form, get_label_for, populate_with, save, set_picklist, set_reference_field, set_text_area, set_text_field, submit_with

Class Method Details

.visit(id) ⇒ Object



10
11
12
13
14
# File 'lib/leap_salesforce_ui/update_page.rb', line 10

def visit(id)
  LoginPage.
  browser.goto "#{SoqlHandler.instance_url}/lightning/r/#{@soql_object.soql_object_name}/#{id}/edit"
  self
end