gwt_widgets 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +2 -0
- data/Rakefile +1 -1
- data/features/step_definitions/datebox_steps.rb +1 -1
- data/features/support/pages/date_picker_page.rb +0 -4
- data/features/support/pages/dialog_box_page.rb +1 -1
- data/lib/gwt_widgets/date_picker.rb +5 -4
- data/lib/gwt_widgets/dialog_box.rb +1 -1
- data/lib/gwt_widgets/version.rb +1 -1
- metadata +4 -4
data/ChangeLog
CHANGED
data/Rakefile
CHANGED
@@ -3,7 +3,7 @@ class DialogBoxPage
|
|
3
3
|
|
4
4
|
page_url "http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwDialogBox"
|
5
5
|
|
6
|
-
button(:show_dialog, :
|
6
|
+
button(:show_dialog, :value => 'Show Dialog Box')
|
7
7
|
|
8
8
|
gwt_dialogbox(:dialogbox, :class => 'gwt-DialogBox')
|
9
9
|
|
@@ -1,15 +1,16 @@
|
|
1
|
-
class GwtWidgets::DatePicker < PageObject::Elements::
|
1
|
+
class GwtWidgets::DatePicker < PageObject::Elements::Table
|
2
2
|
|
3
3
|
def choose_day (day)
|
4
|
-
div_element(:class => 'datePickerDay', :text => day.to_s).click
|
4
|
+
#div_element(:class => 'datePickerDay', :text => day.to_s).click
|
5
|
+
div_elements(:class => 'datePickerDay')[day.to_i + 4].click
|
5
6
|
end
|
6
7
|
|
7
8
|
def chosen_day
|
8
|
-
div_element(:class => '
|
9
|
+
div_element(:class => 'datePickerDayIsValue').text
|
9
10
|
end
|
10
11
|
|
11
12
|
def highlighted_day
|
12
|
-
div_element(:class => '
|
13
|
+
div_element(:class => 'datePickerDayIsToday').text
|
13
14
|
end
|
14
15
|
|
15
16
|
|
data/lib/gwt_widgets/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gwt_widgets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: page-object
|
@@ -168,7 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
168
168
|
version: '0'
|
169
169
|
segments:
|
170
170
|
- 0
|
171
|
-
hash:
|
171
|
+
hash: 3910878368132772078
|
172
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
173
|
none: false
|
174
174
|
requirements:
|
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
177
|
version: '0'
|
178
178
|
segments:
|
179
179
|
- 0
|
180
|
-
hash:
|
180
|
+
hash: 3910878368132772078
|
181
181
|
requirements: []
|
182
182
|
rubyforge_project: gwt_widgets
|
183
183
|
rubygems_version: 1.8.25
|