ole-qa-framework 3.9.4 → 3.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8ac441c0c85dc0214837b21d3ff724b75f94272
4
- data.tar.gz: 2e2739c46fe78127d1deab4d145735f3c0088cc4
3
+ metadata.gz: a97922c0b475bd720f20e7ffae0b9cc694b3edc9
4
+ data.tar.gz: 3bdcc60cdad4462ac7f673931fd597fded581444
5
5
  SHA512:
6
- metadata.gz: dcebb6b3676cf93707ea2dc1fb0c881229380d23e2ae07d2e4107819c4f08db04633123e1cbcbe5b5b2816ed12a2d700c80100e915dca0907ab6803e25a721d1
7
- data.tar.gz: da421b53d4fb1b6cdea311b7bb75a742698648db0726be78e59bf5f6ff2b6c4247701b12407a05558573b67426916cd489f3a897c8ffb863dc5222c7431acee5
6
+ metadata.gz: c3b5814680ac80199b61444b99afde1fef0f89de73847b84c92eb23b2c93be774de4e7f467a65db1718f733d375004dfe9cfac6a93af5143f16fb5546858922f
7
+ data.tar.gz: ced1b2a200da155007e7a16abcf76bf8b7d9a1759006858320100ede1dc2f67be0b3b123d580612387d677fc2ca2af5517e69627edee12133bfbe25bd4b55718
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ### v3.9.5 - 2014/02/06
2
+
3
+ * Batch Profile (base class for Batch Export Profile & Batch Import Profile)
4
+ * Added .approve_button
5
+ * Added .message
6
+ * Added .messages
7
+ * Batch Job Details
8
+ * Added .job_status_by_text
9
+ * Batch Job Report
10
+ * Fixed set_elements error
11
+ * Added .view_export_file_link
12
+
1
13
  ### v3.9.4 - 2014/02/05
2
14
 
3
15
  * Batch Process Type Lookup
@@ -15,6 +15,6 @@
15
15
  module OLE_QA
16
16
  module Framework
17
17
  # The version number for this project.
18
- VERSION = '3.9.4'
18
+ VERSION = '3.9.5'
19
19
  end
20
20
  end
@@ -40,6 +40,9 @@ module OLE_QA::Framework::OLELS
40
40
  element(:submit_button) {b.button(:text => 'submit')}
41
41
  element(:save_button) {b.button(:id => 'usave')}
42
42
  element(:cancel_button) {b.a(:id => 'ucancel')}
43
+ element(:approve_button) {b.button(:text => /([Bb]lanket )?[Aa]pprove/)}
44
+ element(:message) {b.li(:class => 'uif-infoMessageItem')}
45
+ element(:messages) {b.lis(:class => 'uif-infoMessageItem')}
43
46
  end
44
47
 
45
48
  def wait_for_elements
@@ -42,6 +42,8 @@ module OLE_QA::Framework::OLELS
42
42
  # Return the 'Remove' button for a row containing the given text.
43
43
  # @note This could be dangerous with the wrong selection text. Use this function carefully!
44
44
  function(:remove_by_text) {|text| b.button(:xpath=>"//table/tbody/tr[td/div/span[contains(text(),'#{text}')]]/td/div/fieldset/div/div/button[contains(text(),'Remove')]")}
45
+ # Return the Job Status span for a row containing the given text.
46
+ function(:job_status_by_text) {|text| b.span(:xpath => "//table/tbody/tr[td/div/span[contains(text(),'#{text}')]]/td/div/span[starts-with(@id,'statusField_line')]")}
45
47
  # Return the 'View Job Report' link for a row containing the given text.
46
48
  function(:job_report_by_text) {|text| b.a(:xpath => "//table/tbody/tr[td/div/span[contains(text(),'#{text}')]]/td/div/fieldset/div/div/div/a[contains(text(),'View Job Report')]")}
47
49
  end
@@ -24,6 +24,7 @@ module OLE_QA::Framework::OLELS
24
24
  end
25
25
 
26
26
  def set_elements
27
+ super
27
28
  element(:title) {b.h2.span(:class => 'uif-headerText-span')}
28
29
  element(:job_id) {b.span(:id => 'jobIdField-popup_control')}
29
30
  element(:job_name) {b.span(:id => 'jobNameField-popup_control')}
@@ -43,6 +44,7 @@ module OLE_QA::Framework::OLELS
43
44
  element(:time_spent) {b.span(:id => 'timeSpentField-popup_control')}
44
45
  element(:status) {b.span(:id => 'statusField-popup_control')}
45
46
  element(:status_description) {b.span(:id => 'statusDescField-popup_control')}
47
+ element(:view_export_file) {b.div(:id => 'exportPath-popup').a(:class => 'uif-link')}
46
48
  end
47
49
 
48
50
  def wait_for_elements
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ole-qa-framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.4
4
+ version: 3.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jain Waldrip
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-05 00:00:00.000000000 Z
11
+ date: 2014-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler