Class: PortalModule::Pages::DataTransformationPage

Inherits:
Object
  • Object
show all
Includes:
PageObject
Defined in:
lib/portal_module/pages/data_transformation_page.rb

Instance Method Summary collapse

Instance Method Details

#activateObject



53
54
55
56
# File 'lib/portal_module/pages/data_transformation_page.rb', line 53

def activate
  self.activate_button
  self
end

#downloadObject



58
59
60
61
# File 'lib/portal_module/pages/data_transformation_page.rb', line 58

def download
  self.download_button
  self
end

#get_dynamic_urlObject



17
18
19
# File 'lib/portal_module/pages/data_transformation_page.rb', line 17

def get_dynamic_url
  PortalModule.configuration.url(DataTransformationPage)
end

#load_org(org_string) ⇒ Object



63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'lib/portal_module/pages/data_transformation_page.rb', line 63

def load_org org_string
  org_name = org_string.split('~')[1]
  return self if viewing_span == org_name

  self.search_text = org_string
  self.search_button

  viewing_span_element.wait_until(120, "Org not loaded - #{org_name}") do
    viewing_span == org_name
  end

  self
end

#saveObject



48
49
50
51
# File 'lib/portal_module/pages/data_transformation_page.rb', line 48

def save
  self.save_button
  self
end

#upload(file_path) ⇒ Object



77
78
79
80
81
# File 'lib/portal_module/pages/data_transformation_page.rb', line 77

def upload file_path
  self.file_input = file_path
  self.upload_button
  self
end