Sha256: ca389a380de7b79ab042d3bfd069c11b4fb6cdf123a43034b49e3112c9743e3b

Contents?: true

Size: 386 Bytes

Versions: 7

Compression:

Stored size: 386 Bytes

Contents

# frozen_string_literal: true

# Base class for updating an entity in Salesforce
class UpdatePage
  extend BasePage
  extend LeapSalesforce::PageIntrospection
  extend LeapSalesforce::FormFiller

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
leap_salesforce_ui-0.3.0 lib/leap_salesforce_ui/update_page.rb
leap_salesforce_ui-0.2.0 lib/leap_salesforce_ui/update_page.rb
leap_salesforce_ui-0.1.9 lib/leap_salesforce_ui/update_page.rb
leap_salesforce_ui-0.1.8 lib/leap_salesforce_ui/update_page.rb
leap_salesforce_ui-0.1.7 lib/leap_salesforce_ui/update_page.rb
leap_salesforce_ui-0.1.6 lib/leap_salesforce_ui/update_page.rb
leap_salesforce_ui-0.1.5 lib/leap_salesforce_ui/update_page.rb