taf 0.4.5 → 0.4.6

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
  SHA256:
3
- metadata.gz: 12ebfddff9dbe3828c881adcfa902215434fea99b5ed47af92dbd89431fe7bd1
4
- data.tar.gz: 23f1b651a5f4774611b8d0a6a30ec84d8231700c8e1ec30df39f37ea4a4351bf
3
+ metadata.gz: 98afd007e9cf30821d8543994680b8fd8a8540ace5252a5aa4863900caf1034d
4
+ data.tar.gz: e2ecb265527f100c74606dec7cb6878d65ef8853df46b4837a7b7f15cf1acfc3
5
5
  SHA512:
6
- metadata.gz: eea80be5461d272a812876380914b86e8c3ca31c5452604dc2f1b6afb40acd05accfbf38afc1f070042d3982d8e523476c852824ebbef9d0d944e8b766d89435
7
- data.tar.gz: c5369e634720edc5b53d545fe66b846f914b85e1c38a8acdc3d3ff9ff967fd1e1e4ff0cce5302d0bbd51f632a6973314f4fd73148a04037e9bc81e4c668db8f9
6
+ metadata.gz: dc8af10f6757f6f4a39835278a8f679e35d5c9022b02fa2b8f26b36441fc41244d05e3d1c3788383f578ca646fc818c87869c9ea07e192aa8a716d9d37fea841
7
+ data.tar.gz: f6246f7f9e7b2a2bbe145501b804fc50b20b7e1dddc35f4a2c4b3e023d4177f12b4939510c013c971b5859537a34522cc9dbecee13ac1fa7956b4b92dd4d3838
@@ -9,10 +9,8 @@ module Taf
9
9
  def initialize(step_attributes)
10
10
  @value = step_attributes[:testvalue]
11
11
  @value2 = step_attributes[:testvalue2]
12
- @value3 = step_attributes[:testvalue3]
13
12
  @locate = step_attributes[:locate]
14
13
  @locate2 = step_attributes[:locate2]
15
- @locate3 = step_attributes[:locate3]
16
14
  end
17
15
 
18
16
  def self.register(name)
@@ -8,14 +8,11 @@ module Taf
8
8
  register :radio_button
9
9
 
10
10
  def perform
11
- Taf::Browser.b.radio("#{@locate}": @value).wait_until(&:exists?)
12
- Taf::Browser.b
13
- .radio("#{@locate}": @value, "#{@locate2}": @value2.to_s)
14
- .set
15
- Taf::MyLog.log.info("Radio button: #{@value2} has been selected")
11
+ Taf::Browser.b.radio("#{@locate}": @value).wait_until(&:exists?).set
12
+ Taf::MyLog.log.info("Radio button: #{@value} has been selected")
16
13
  true
17
14
  rescue StandardError
18
- Taf::MyLog.log.warn("Radio button: #{@value2} does not exist")
15
+ Taf::MyLog.log.warn("Radio button: #{@value} does not exist")
19
16
  false
20
17
  end
21
18
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Taf
4
- VERSION = '0.4.5'
4
+ VERSION = '0.4.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Perrett
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-21 00:00:00.000000000 Z
11
+ date: 2019-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler