kendo-page-object-widgets 0.2.6 → 0.2.7

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: 19035592fe073b406d971d02d4fae3cd1942b417
4
- data.tar.gz: d14c7f7680c7148f740c84247fbad51face934fa
3
+ metadata.gz: 4c06b850fd7cc420898acc1772372fc2ab0af23c
4
+ data.tar.gz: abf4a75e55a93651870c2ee85b8ed244aa2b32a2
5
5
  SHA512:
6
- metadata.gz: ce7a423aaed1f77a64f567b5507a49dc856bd59133bf00bb27175ee51467bb68ee26b6ddca62ee536913d3fde8196ccb5fb55ba5fb2085aa6f8d9f10005c3dd3
7
- data.tar.gz: a8b0780519501de05af60dbfc13fe2de0f3d43426f8db04dddea447f8f61e45dd8b1d3d7e7ce2f1d694fc183f47f6b0fa15a1276ecd9add1972975835429eaa1
6
+ metadata.gz: 7285429be60c3cc93f0c3d6446c28b064e12ef311c7821ec8f1b2f71fbdabf00338555a2a5feb2dc1978c6aae4112e112f809cf08433ff86918669e9706ec065
7
+ data.tar.gz: 269318fcd883c28cd2b3660b9f128326a8864382a09dfb34ea14aa74eb34fb5f5325a03ebdc222347c4e31be352fe84977f136fb96be76e98b54bdc13c2d6aa7
@@ -1,3 +1,3 @@
1
1
  module KendoPageObjectWidgets
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
@@ -15,8 +15,8 @@ module KendoPageObjectWidgets
15
15
  end
16
16
 
17
17
  accessor.send :define_method, "#{name}_text=" do |value|
18
- self.send("#{name}_element").append(value)
19
- sleep 0.1
18
+ self.send("#{name}_element").value = value
19
+ self.send("#{name}_options_container").when_visible(10)
20
20
  end
21
21
 
22
22
  accessor.send :define_method, "#{name}_valid?" do
@@ -58,4 +58,3 @@ module KendoPageObjectWidgets
58
58
  end
59
59
  end
60
60
  end
61
-
@@ -65,7 +65,9 @@ module KendoPageObjectWidgets
65
65
  end
66
66
 
67
67
  accessor.send :define_method, "#{name}_id" do
68
- self.send("#{name}_element").attribute('id')
68
+ id = self.send("#{name}_element").attribute('id')
69
+ return id if !id.empty?
70
+ self.send("#{name}_element").attribute('name').split('_')[0...-1].join('_')
69
71
  end
70
72
 
71
73
  accessor.send :private, "#{name}_text_field", "#{name}_id", "#{name}_select_list_opener", "#{name}_options_list", "#{name}_options_container", "#{name}_opener"
@@ -75,4 +77,3 @@ module KendoPageObjectWidgets
75
77
  end
76
78
  end
77
79
  end
78
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kendo-page-object-widgets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mosaic Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-08 00:00:00.000000000 Z
11
+ date: 2018-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 2.4.5.1
139
+ rubygems_version: 2.4.5.2
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Kendo Widgets