ole-qa-framework 2.6.3 → 2.6.4

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.
@@ -1,10 +1,17 @@
1
1
  ### v2.6.4 - 2013/09/12
2
2
 
3
+ * Added Describe Workbench Function
4
+ * result_present?(str)
5
+ * searches for a given string in the search results table
6
+ and reports whether or not that string was found
7
+
8
+ ### v2.6.3 - 2013/09/12
9
+
3
10
  * Fixed Describe Workbench Definitions
4
11
  * Doc Type Radio Buttons
5
- * Bib
6
- * Holdings
7
- * Item
12
+ * Bib
13
+ * Holdings
14
+ * Item
8
15
 
9
16
  ### v2.6.2 - 2013/08/23
10
17
 
@@ -1,7 +1,7 @@
1
- # Default options for non-development use.
1
+ # Default options for using development environment.
2
2
  ---
3
- :url: http://tst.ole.kuali.org/
3
+ :url: http://dev.ole.kuali.org/
4
4
  :headless?: true
5
5
  :implicit_wait: 0
6
6
  :explicit_wait: 15
7
- :doc_wait: 45
7
+ :doc_wait: 60
@@ -15,6 +15,6 @@
15
15
  module OLE_QA
16
16
  module Framework
17
17
  # The version number for this project.
18
- VERSION = '2.6.3'
18
+ VERSION = '2.6.4'
19
19
  end
20
20
  end
@@ -60,6 +60,9 @@ module OLE_QA::Framework::OLELS
60
60
 
61
61
  def set_functions
62
62
  super
63
+ # Check whether the given text exists within the search results table.
64
+ # - Returns true or false based on whether the given string was found.
65
+ function(:result_present?) {|str| b.td(:xpath => "//table/tbody/tr/td[div/*[contains(text(),\"#{str}\")]]").present?}
63
66
  # Return the checkbox for the results line containing the given text.
64
67
  # Usage:
65
68
  # workbench.select_by_text("Foo").set(true|false)
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: 2.6.3
4
+ version: 2.6.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: