ole-qa-framework 3.7.1 → 3.7.3

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YWJhMDhkZTQwNGM5ZTQxMDY2MTM4MWQ0MDQzYTNjYzE3ZTM3YjgyZA==
4
+ ODgwN2YyYTJmYjk2OTgyMTljZjdmYjgyMmMxYjU0ZTA1ZWM4OTAyNw==
5
5
  data.tar.gz: !binary |-
6
- OGVjZmE4MjUzNjVmZDk5MmMyOTI0M2RiZTM2ZDViZWFhNjhlN2NkMQ==
6
+ MTNkZDk2NjM4NjYwYmQ1MTdjMGU1NzZlZTFhNDZmOTgyYTUwOWRkMA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDE1ODg5M2VmZTE2ZjZkYmZhYzEyMWVmMzZmZmUwZDcwNTA4ZDM1NDAzNGY5
10
- MDg2MWZlNzBhZTY2N2QwYzgxYzU1YTc2NmI2ODQ0ZWI1YjU5ZWQzOGU2ODM2
11
- NzAyODRmMGU3ZDIxMjg2NWI2MzRiZWU0MjRkZTY4YzFiZDJhYzQ=
9
+ MmMzNWYxNWIzZGUyOWFlZTFkZTRhMDAwZDYwOWI1YThiODFlYzQ3MWFlNzA0
10
+ ZGU5NTdkN2ZjOTMzNTA4MDZhNzk0ZTYxMzBjMjQyZTgwOGU1OTU3Zjg4NDg2
11
+ ZmU2ZDRkNDRmZjc1ODUyYzZkODYyNjMzYWU5MjZkMzA3NDY0ODk=
12
12
  data.tar.gz: !binary |-
13
- YjdjYmY0ZTRkZjlkZWYyZmI4ZjNmZjU1MTE1NGMxNWI0OWFhYjBjYTA0MmYy
14
- ODk4YjQzNjVlNjg2Yjg0NjJmODhjMjI1MTE0ZjMwNWYxZDNkMWZkMzY4NGIw
15
- NzQzYmYwYmEwNDllZmY0MzFhYmVmMzc2YTYzZTNmMWY1NDhjMmY=
13
+ NzU0ZTdiYmM0ODYwYTk0YWRkMDE1OTZjZjIyNDgzYjdjMjBkZGQxNTY5YzQ1
14
+ OTRjY2IwMjYyNTBiYjIwMzI5OTlmYjEyZWI2MjA4MDQxYjkyMWQzYTUyM2Mx
15
+ NDFjNGYyMGM0NzI1Y2VlYzVhZTUyM2QzZDk1ZjRlYjg2NzNhZGY=
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ### v3.7.3 - 2013/12/18
2
+
3
+ * Location Lookup
4
+ * Added .id_by_text function
5
+ * Added .parent_id_by_text function
6
+
7
+ ### v3.7.2 - 2013/12/18
8
+
9
+ * Location Lookup
10
+ * Fix error in return_by_text function.
11
+
1
12
  ### v3.7.1 - 2013/12/18
2
13
 
3
14
  * Location 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.7.1'
18
+ VERSION = '3.7.3'
19
19
  end
20
20
  end
@@ -44,7 +44,10 @@ module OLE_QA::Framework::OLELS
44
44
  function(:copy_by_text) {|which| b.a(:xpath => "//td[div/span[contains(text(),'#{which}')]]/preceding-sibling::td/div/fieldset/div/div/a[contains(text(),'copy')]")}
45
45
  # Return the 'return results' link for a search results line containing the given text.
46
46
  # @note Used when the lookup screen is opened from another page, like the create/edit location page.
47
- function(:return_by_text) {|which| b.a(:xpath => "//td[div/span[contains(text(),'#{which}')]]/preceding-sibling::td/div/fieldset/div/div/a[contains(text(),'return results')]")}
47
+ function(:return_by_text) {|which| b.a(:xpath => "//td[div/span[contains(text(),'#{which}')]]/preceding-sibling::td/div/fieldset/div/div/a[contains(text(),'return value')]")}
48
+ # Return the ID or Parent ID element from a search results line containing the given text.
49
+ function(:id_by_text) {|which| b.span(:xpath => "//tr[td/div/span[contains(text(),'#{which}')]]/td[2]/div/span")}
50
+ function(:parent_id_by_text) {|which| b.span(:xpath => "//tr[td/div/span[contains(text(),'#{which}')]]/td[5]/div/span")}
48
51
  end
49
52
 
50
53
  def wait_for_elements
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ole-qa-framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.1
4
+ version: 3.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jain Waldrip