firewatir 1.8.0 → 1.8.1.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +17 -0
- data/VERSION +1 -1
- data/lib/firewatir/element_collections.rb +3 -3
- data/lib/firewatir/elements/non_control_element.rb +2 -2
- metadata +16 -12
data/CHANGES
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
== Version 1.8.1 - 2011/04/07
|
2
|
+
|
3
|
+
=== IE improvements
|
4
|
+
|
5
|
+
* Added #frames method (Ivan Kabluchkov).
|
6
|
+
* Added Frame#exists?, #src, #name and other Element methods (Ivan Kabluchkov).
|
7
|
+
* Added multiple locators support for #frame method (Ivan Kabluchkov).
|
8
|
+
* Added *_no_wait methods (Ivan Kabluchkov).
|
9
|
+
|
10
|
+
=== Firefox improvements
|
11
|
+
|
12
|
+
* Nothing
|
13
|
+
|
14
|
+
=== General improvements
|
15
|
+
|
16
|
+
* Using Watir::Util for better compatibility with ActiveSupport used by Rails 3. Closes http://jira.openqa.org/browse/WTR-474 (Jarmo Pertman)
|
17
|
+
|
1
18
|
== Version 1.8.0 - 2011/28/02
|
2
19
|
|
3
20
|
=== IE improvements
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.8.
|
1
|
+
1.8.1.rc1
|
@@ -9,9 +9,9 @@ module FireWatir
|
|
9
9
|
include JsshSocket
|
10
10
|
|
11
11
|
def self.inherited subclass
|
12
|
-
class_name = subclass.to_s
|
13
|
-
method_name =
|
14
|
-
element_class_name =
|
12
|
+
class_name = Watir::Util.demodulize(subclass.to_s)
|
13
|
+
method_name = Watir::Util.underscore(class_name)
|
14
|
+
element_class_name = Watir::Util.singularize(class_name)
|
15
15
|
|
16
16
|
FireWatir::Container.module_eval "def #{method_name}
|
17
17
|
locate if respond_to?(:locate)
|
@@ -3,8 +3,8 @@ module FireWatir
|
|
3
3
|
# Base class containing items that are common between the span, div, label, p and pre classes.
|
4
4
|
class NonControlElement < Element
|
5
5
|
def self.inherited subclass
|
6
|
-
class_name = subclass.to_s
|
7
|
-
method_name =
|
6
|
+
class_name = Watir::Util.demodulize(subclass.to_s)
|
7
|
+
method_name = Watir::Util.underscore(class_name)
|
8
8
|
FireWatir::Container.module_eval "def #{method_name}(how, what=nil)
|
9
9
|
locate if respond_to?(:locate)
|
10
10
|
return #{class_name}.new(self, how, what); end"
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firewatir
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 977940506
|
5
|
+
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 8
|
9
|
-
-
|
10
|
-
|
9
|
+
- 1
|
10
|
+
- rc1
|
11
|
+
version: 1.8.1.rc1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Angrez Singh
|
@@ -15,7 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2011-
|
19
|
+
date: 2011-04-07 00:00:00 +03:00
|
19
20
|
default_executable:
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
@@ -26,12 +27,13 @@ dependencies:
|
|
26
27
|
requirements:
|
27
28
|
- - "="
|
28
29
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
30
|
+
hash: 977940506
|
30
31
|
segments:
|
31
32
|
- 1
|
32
33
|
- 8
|
33
|
-
-
|
34
|
-
|
34
|
+
- 1
|
35
|
+
- rc1
|
36
|
+
version: 1.8.1.rc1
|
35
37
|
type: :runtime
|
36
38
|
version_requirements: *id001
|
37
39
|
description: " FireWatir stands for \"Web Application Testing in Ruby for Firefox\". FireWatir (pronounced firewater) is a free, \n open-source functional testing tool for automating browser-based tests of web applications. \n It works with applications written in any language.\n FireWatir drives the Firefox browser the same way an end user would. \n It clicks links, fills in forms, presses buttons. \n FireWatir also checks results, such as whether expected text appears on the page, or whether a control is enabled.\n FireWatir is a Ruby library that works with Firefox on Windows. It also works on Linux, Mac but without support for\n JavaScript popups (currently support will be there shortly).\n"
|
@@ -195,12 +197,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
195
197
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
196
198
|
none: false
|
197
199
|
requirements:
|
198
|
-
- - "
|
200
|
+
- - ">"
|
199
201
|
- !ruby/object:Gem::Version
|
200
|
-
hash:
|
202
|
+
hash: 25
|
201
203
|
segments:
|
202
|
-
-
|
203
|
-
|
204
|
+
- 1
|
205
|
+
- 3
|
206
|
+
- 1
|
207
|
+
version: 1.3.1
|
204
208
|
requirements:
|
205
209
|
- Mozilla Firefox browser 1.5 or later.
|
206
210
|
rubyforge_project: Watir
|