seleniumrecord 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c218633c4ac035844b5029134164f49fbbbffd09
4
- data.tar.gz: d79b3c62f1b796e10a42d7306ce056a096a0ea5e
3
+ metadata.gz: 664c80a91baed3aa8e1d2904c36b69ad18366eed
4
+ data.tar.gz: ddef40c764c9316bd9c1dfc57b3c320ec4cc9702
5
5
  SHA512:
6
- metadata.gz: 3315d71b705d77a4a943aab0ab82733b1bb31db8e49f4dd7ac9c39557e9b63150c02c34bc5048a454d00e0f093d3b57a9132fe972cfd46ca413b447457687d46
7
- data.tar.gz: 2eaeecf4f932bc1494bfb89e3e230a84de40a8d5cc2b15ce2b2848bb7fbc63f24178869b4fbd40b3d2caa8c9630c8617797c4f4dcd2292b5bc8bd02343fe4dd8
6
+ metadata.gz: ac96b82fdea63af59765e3d9e591426916a029456f23090798198ed4e12b005dee5839d5f216fb01e55bd4fccdc645715d5d4aefafaeeb21f343ffa1dc5c8036
7
+ data.tar.gz: b451c5600a51ac3a8fc5ff98f71d023c8ec4ce621eab2cf766bd6fc9491aa0cefc880d59efe4894562d1b60ccf9fafb43112992e27178d2f0e057f77852509d8
data/CHANGELOG.md CHANGED
@@ -1,9 +1,17 @@
1
+ ## 0.0.4
2
+
3
+ * Solved dependency reference error on load
4
+ * Protection against `Selenium::WebDriver::Error::StaleElementReferenceException`
5
+ on `click` method with `cover` encapsulation
6
+
1
7
  ## 0.0.3
2
8
 
3
- * Fixed SeleniumRecord::Lookup::MatchingStrategy
9
+ * Fixed `SeleniumRecord::Lookup::MatchingStrategy`
4
10
  * Renamed Lookup strategies for cleaner code
5
11
  * Added Basic Documentation
6
12
  * Added method `focus` to `SeleniumRecord::Actions` module
13
+ * Moved `cover` method in `SeleniumRecord::Actions` module for managing to
14
+ `SeleniumRecord::Core`. Applied `cover` to `find` and `find_elements` methods
7
15
 
8
16
  ## 0.0.2.revision
9
17
 
@@ -1,4 +1,5 @@
1
- Dir["#{File.dirname(__FILE__)}/selenium_record/*.rb"].each { |f| require f }
1
+ require_relative 'selenium_record/base'
2
+ require_relative 'selenium_record/navigation_item'
2
3
 
3
4
  # Selenium Record provides objects for interacting with browser and managing
4
5
  # the application during tests. Also joins in every object behaviour and
@@ -49,7 +49,7 @@ module SeleniumRecord
49
49
  end
50
50
 
51
51
  def click(locator)
52
- find(locator).click
52
+ cover { find(locator).click }
53
53
  end
54
54
 
55
55
  def fill(locator, text)
@@ -7,6 +7,7 @@ require_relative 'scopes'
7
7
  require_relative 'waits'
8
8
  require_relative 'preconditions'
9
9
  require_relative 'axis'
10
+ require_relative 'axiable'
10
11
  require_relative 'html'
11
12
  require_relative 'theme'
12
13
  require_relative 'translations'
@@ -1,3 +1,3 @@
1
1
  module SeleniumRecord
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seleniumrecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Saenz Tagarro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-17 00:00:00.000000000 Z
11
+ date: 2014-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport