ds-gui-automation 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6b5d189935764b111089e76893f6c17b4b53448
4
- data.tar.gz: 4494ad278bd19c528a384e571c6cda4142d7082c
3
+ metadata.gz: 277ea35251634e4abddf52c9b6bb4ceb26613d42
4
+ data.tar.gz: a9dcb03439848bbe30ae4f27b8f1d45b9de79543
5
5
  SHA512:
6
- metadata.gz: a13afaf742c6df2c44f35f61ca246bff0fb8f8293a3b67a9e4cb08a5649a17d34417aa836e2fb89423b132c9f3a408d9c3e80b30d9f839269a64708657cb4194
7
- data.tar.gz: 50f6ef0ffc1fa37682d977b37cccfb5a1198e2dfd148e682d3cb9c5c423e8493e12c0ae034b1176b8ec3916b4546b58855f33e22e029eeca5ddb10a38c17eee7
6
+ metadata.gz: 9489565f62f4797f70e19eb51b1c93b5ee7db281dfdc4be970d3a6010914eea7368aeeb486bbd730a1f3de3168ea6f89282f394a96e8d7cecd4c3423531e2215
7
+ data.tar.gz: e38ac7b6deb0e59db81187f1a7ffcc12f1487ec3aa41f6fbadb0b176e78c998d34ca168dffb75d3af87b380392dbe9d6cf829c7e0732aa2d0b726db9099115c1
@@ -28,9 +28,9 @@ When(/^I proceed to thanks$/) do
28
28
  end
29
29
 
30
30
  Then(/^I should see the thanks page correctly$/) do
31
- @browser.p(:class,'ds-checkout-thanks-reservation-number').present?.should be_true
31
+ @browser.ul(:class, 'ds-checkout-thanks-resume-item-list').present?.should be_true
32
32
 
33
- crm_id = @browser.p(:class,'ds-checkout-thanks-reservation-number').text.split(': ').last
33
+ crm_id = @browser.ul(:class, 'ds-checkout-thanks-resume-item-list').li.span.text.split(': ').last
34
34
 
35
35
  crm_id.empty?.should be_false
36
36
 
@@ -42,7 +42,7 @@ Then(/^I verify that the reservation was made on Fenix for "(.*)" and "(.*)"$/)
42
42
 
43
43
  sleep 10
44
44
 
45
- crm_id = @browser.p(:class,'ds-checkout-thanks-reservation-number').text.split(': ').last
45
+ crm_id = @browser.ul(:class, 'ds-checkout-thanks-resume-item-list').li.span.text.split(': ').last
46
46
 
47
47
  if BETA
48
48
  transaction = HTTParty.get("http://10.2.7.16:80/fenix/ds/#{type}?transaction_id=#{crm_id}", :headers =>{'X-Version-Override' => BETA_COOKIES})
@@ -1,3 +1,3 @@
1
1
  module DestinationServicesGUI
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
@@ -9,7 +9,7 @@ module Results
9
9
  ## Se selecciona el tipo de vista
10
10
  DestinationServicesGUI.set_cookie({'X-Version-Override' => BETA_COOKIES}) if BETA
11
11
 
12
- browser.refresh
12
+ browser.refresh if BETA
13
13
 
14
14
  wait_for_results
15
15
 
@@ -27,7 +27,7 @@ module Results
27
27
 
28
28
  DestinationServicesGUI.set_cookie({'X-Version-Override' => BETA_COOKIES}) if BETA
29
29
 
30
- browser.refresh
30
+ browser.refresh if BETA
31
31
 
32
32
  wait_for_results
33
33
 
@@ -36,7 +36,11 @@ module TourDetail
36
36
 
37
37
  def go_to_tour_checkout
38
38
 
39
- browser.a(:class, 'ux-flat-button').click
39
+ button = browser.a(:class, 'ux-flat-button')
40
+
41
+ button.wait_until_present(30)
42
+
43
+ button.click
40
44
 
41
45
  end
42
46
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ds-gui-automation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Santiago Ochoa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-30 00:00:00.000000000 Z
11
+ date: 2015-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container