ds-gui-automation 0.2.4 → 0.2.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 277ea35251634e4abddf52c9b6bb4ceb26613d42
|
4
|
+
data.tar.gz: a9dcb03439848bbe30ae4f27b8f1d45b9de79543
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
31
|
+
@browser.ul(:class, 'ds-checkout-thanks-resume-item-list').present?.should be_true
|
32
32
|
|
33
|
-
crm_id = @browser.
|
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.
|
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})
|
data/lib/ds/version.rb
CHANGED
@@ -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
|
|
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
|
+
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-
|
11
|
+
date: 2015-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: henry-container
|