ds-gui-automation 0.1.87 → 0.1.88

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: 2d0d271e4863e0d88b092e5c8a4165750ddd8a8f
4
- data.tar.gz: 05b0be2ee74ae1b6ffd44eb2ad4b755ead392d50
3
+ metadata.gz: 6a46176fca360ffa26d27e2d45a7e454cc039dc6
4
+ data.tar.gz: c4c90e378ba25f11d92111dc48df92a243ba43af
5
5
  SHA512:
6
- metadata.gz: 0f7b64b719e8113d45430676d9ef629e702598d1db6a370b8316a8f42cbfba952917cdbc081d1f3361d0b7db1c3385627c71b83fc0816e4d71f5112f5df44daf
7
- data.tar.gz: c8608d163b07f4f50feb0030cf687d8a3405b081b2ab4ad4caaeb9223488fb095a25ab721deef43d840db452d253992bb85e57ac8df54b3f4164e87ecc64cc71
6
+ metadata.gz: dd51f9047c958365de34fdb1e5a51f8c0934a848703472e74f9f8660cdb73ac4a8cfbb24df7c8ea6ed76d95766a8b21f78e6fe86e55a2925e3b1034f1042a2ff
7
+ data.tar.gz: 3d1898e4992fe7491ec276438da845880a65b0963dc73f9d0a9af3eb9cd1274a577bccc80af1a886b5e028af06a58df8a5137b6fde4fc738d4858d6ec511f92b
@@ -11,7 +11,7 @@ Feature: Destination Services Self Service Login
11
11
  @br
12
12
  Examples:
13
13
  |country|tracking_id|type|crm_id|
14
- |BR|HB_ORL_SEAWRLDROW|tours|97229943|
14
+ |BR|PAM_ORL_1281|tours|97229943|
15
15
 
16
16
  @ar
17
17
  Examples:
@@ -25,7 +25,7 @@ Feature: Destination Services Thanks
25
25
  @br
26
26
  Examples:
27
27
  |country|tour_tracking_id|ticket_tracking_id|
28
- |BR|HB_ORL_SEAWRLDROW,HB_ORL_LEGOFLORID,HB_ORL_BUSCHROW,HB_NYC_NYCITYPASS,HB_ORL_MCOMDVLTMS,HB_LAX_UNIVERSTUD,HB_ORL_BMGMCO,HB_TPA_BUSCHROW,PAM_CUN_1221,PAM_BUE_368,PAM_NYC_259,PAM_GR3_163,GL_SCL_512,GL_SCL_519,GL_ORL_2246|DY_ORL,UN_ORL|
28
+ |BR|PAM_ORL_1281,HB_ORL_LEGOFLORID,HB_ORL_BUSCHROW,HB_NYC_NYCITYPASS,HB_ORL_MCOMDVLTMS,HB_LAX_UNIVERSTUD,HB_ORL_BMGMCO,HB_TPA_BUSCHROW,PAM_CUN_1221,PAM_BUE_368,PAM_NYC_259,PAM_GR3_163,GL_SCL_512,GL_SCL_519,GL_ORL_2246|DY_ORL,UN_ORL|
29
29
 
30
30
  @ar
31
31
  Examples:
@@ -40,9 +40,9 @@ Feature: Destination Services Thanks
40
40
  @co
41
41
  Examples:
42
42
  |country|tour_tracking_id|ticket_tracking_id|
43
- |CO|HB_ORL_SEAWRLDROW,PAM_CUN_1221,GL_ADZ_1691|DY_ORL,UN_ORL|
43
+ |CO|PAM_ORL_1281,PAM_CUN_1221,GL_ADZ_1691|DY_ORL,UN_ORL|
44
44
 
45
45
  @cl
46
46
  Examples:
47
47
  |country|tour_tracking_id|ticket_tracking_id|
48
- |CL|HB_ORL_SEAWRLDROW,PAM_BZC_534|DY_ORL,UN_ORL|
48
+ |CL|PAM_ORL_1281,PAM_BZC_534|DY_ORL,UN_ORL|
@@ -102,13 +102,13 @@ Feature: Destination Services Detail
102
102
  @vi
103
103
  Examples:
104
104
  |country|tracking_id|type|brand|installments|
105
- |BR|HB_ORL_SEAWRLDROW|tours|Visa|3|
105
+ |BR|PAM_ORL_1281|tours|Visa|3|
106
106
 
107
107
  @br
108
108
  @ac
109
109
  Examples:
110
110
  |country|tracking_id|type|brand|installments|
111
- |BR|HB_ORL_SEAWRLDROW|tours|MasterCard|3|
111
+ |BR|PAM_ORL_1281|tours|MasterCard|3|
112
112
 
113
113
  @ar
114
114
  @vi
@@ -18,9 +18,39 @@ Feature: Destination Services Insurance
18
18
  @br
19
19
  Examples:
20
20
  |country|tracking_id|type|
21
- |BR|HB_ORL_SEAWRLDROW|insurances|
21
+ |BR|PAM_ORL_1281|insurances|
22
22
 
23
23
  @ar
24
24
  Examples:
25
25
  |country|tracking_id|type|
26
26
  |AR|PAM_SLA_76|insurances|
27
+
28
+
29
+ @assistance_flow
30
+ Scenario Outline: thanks from results
31
+ Given I perform a search for assistance flow in "<region>" and "<country>"
32
+ When I proceed to insurance checkout from flow
33
+ Then I should see the checkout page correctly
34
+ When I fill the checkout information
35
+ And I proceed to thanks
36
+ And I fill the risk information
37
+ Then I should see the thanks page correctly
38
+ And I verify that the reservation was made on Fenix for "<type>" and "<tracking_id>"
39
+
40
+ @ar
41
+ @latam
42
+ Examples:
43
+ |country|tracking_id|type|region|
44
+ |AR|PAM_SLA_76|insurances|latam|
45
+
46
+ @ar
47
+ @europe
48
+ Examples:
49
+ |country|tracking_id|type|region|
50
+ |AR|PAM_SLA_76|insurances|europe|
51
+
52
+ @ar
53
+ @others
54
+ Examples:
55
+ |country|tracking_id|type|region|
56
+ |AR|PAM_SLA_76|insurances|others|
@@ -16,7 +16,7 @@ Feature: Destination Services Results
16
16
  @hb
17
17
  Examples:
18
18
  |country|tracking_id|type|
19
- |BR|HB_ORL_SEAWRLDROW|tours|
19
+ |BR|PAM_ORL_1281|tours|
20
20
  |BR|HB_ORL_LEGOFLORID|tours|
21
21
  |BR|HB_ORL_BUSCHROW|tours|
22
22
  |BR|HB_NYC_NYCITYPASS|tours|
@@ -97,7 +97,7 @@ Feature: Destination Services Results
97
97
  @hb
98
98
  Examples:
99
99
  |country|tracking_id|type|
100
- |CO|HB_ORL_SEAWRLDROW|tours|
100
+ |CO|PAM_ORL_1281|tours|
101
101
 
102
102
  @co
103
103
  @pam
@@ -121,7 +121,7 @@ Feature: Destination Services Results
121
121
  @hb
122
122
  Examples:
123
123
  |country|tracking_id|type|
124
- |CL|HB_ORL_SEAWRLDROW|tours|
124
+ |CL|PAM_ORL_1281|tours|
125
125
 
126
126
  @cl
127
127
  @pam
@@ -51,4 +51,16 @@ When(/^I proceed to checkout from the insurance home$/) do
51
51
 
52
52
  DestinationServicesGUI::Checkout.wait_for_checkout
53
53
 
54
- end
54
+ end
55
+
56
+ Given(/^I perform a search for assistance flow in "(.*?)" and "(.*?)"$/) do | region, country |
57
+
58
+ DestinationServicesGUI::Search.set_country(country)
59
+
60
+ DestinationServicesGUI::Search.perform_assistance_search(region)
61
+
62
+ end
63
+
64
+ When(/^I proceed to insurance checkout from flow$/) do
65
+ binding.pry
66
+ end
@@ -99,7 +99,7 @@ Feature: Destination Services Thanks
99
99
  @hb
100
100
  Examples:
101
101
  |country|tracking_id|type|
102
- |CO|HB_ORL_SEAWRLDROW|tours|
102
+ |CO|PAM_ORL_1281|tours|
103
103
 
104
104
  @co
105
105
  @pam
@@ -123,7 +123,7 @@ Feature: Destination Services Thanks
123
123
  @hb
124
124
  Examples:
125
125
  |country|tracking_id|type|
126
- |CL|HB_ORL_SEAWRLDROW|tours|
126
+ |CL|PAM_ORL_1281|tours|
127
127
 
128
128
  @cl
129
129
  @pam
data/henry-context.yml CHANGED
@@ -1627,4 +1627,24 @@ tasks:
1627
1627
  - mx
1628
1628
  reports:
1629
1629
  - format: html
1630
- name: ${DATE}_${TASK_NAME}.html
1630
+ name: ${DATE}_${TASK_NAME}.html
1631
+
1632
+ - name: assistance_flow_ar
1633
+ class_name: Henry::Task::CucumberTask
1634
+ options:
1635
+ tags:
1636
+ - assistance_flow
1637
+ - ar
1638
+ reports:
1639
+ - format: html
1640
+ name: ${DATE}_${TASK_NAME}.html
1641
+
1642
+ - name: assistance_flow_br
1643
+ class_name: Henry::Task::CucumberTask
1644
+ options:
1645
+ tags:
1646
+ - assistance_flow
1647
+ - br
1648
+ reports:
1649
+ - format: html
1650
+ name: ${DATE}_${TASK_NAME}.html
data/lib/ds/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DestinationServicesGUI
2
- VERSION = "0.1.87"
2
+ VERSION = "0.1.88"
3
3
  end
@@ -69,4 +69,20 @@ module Search
69
69
 
70
70
  end
71
71
 
72
+ def perform_assistance_search(region)
73
+
74
+ from_date = (Time.now + 2629743).strftime('%Y-%m-%d')
75
+
76
+ to_date = (Time.now + 2629743 + 604800).strftime('%Y-%m-%d')
77
+
78
+ # http://www.decolar.com/assistance/#!/search/#{region}/#{from_date}/#{to_date}/2
79
+
80
+ url = $DOMAIN + '/assistance/#!' + "/search/#{region}/#{from_date}/#{to_date}/2"
81
+
82
+ browser.goto(url)
83
+
84
+ binding.pry
85
+
86
+ end
87
+
72
88
  end
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.1.87
4
+ version: 0.1.88
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-01 00:00:00.000000000 Z
11
+ date: 2015-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container