ds-gui-automation 0.2.34 → 0.2.35
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 +4 -4
- data/features/cart_thanks.feature +5 -5
- data/features/step_definitions/thanks_steps.rb +6 -1
- data/features/support/env.rb +3 -3
- data/features/thanks.feature +80 -1
- data/henry-context.yml +100 -0
- data/lib/ds/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67771b326c05281bb7516edbcd72f2647248f53a
|
4
|
+
data.tar.gz: 58b192b0864c24d9065fc11a9ddb6b28a4cfd692
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab1dfbcd9631fa08fec0fcb3d28afc724fa9adf7935803b1394b877a478767eec4e798edf1d55baf140d7f2fd781f749f24f3c787950e0a0862189c7b491591d
|
7
|
+
data.tar.gz: 37a0c5ae5c2556c4c70bd0d105f4c90ff79126206e254bb5449c023510e170cd601f27fd9e1b6d6f5fb6c7033da2874ba50d6bdd8805d6eb60b2ed962ec2e923
|
@@ -25,24 +25,24 @@ Feature: Destination Services Thanks
|
|
25
25
|
@br
|
26
26
|
Examples:
|
27
27
|
|country|tour_tracking_id|ticket_tracking_id|
|
28
|
-
|BR|HB_ORL_CIRQUEOFFE,HB_ORL_LEGOFLORID,HB_ORL_MCOMDVLTMS,HB_LAX_UNIVERSTUD,HB_TPA_BUSCHROW,PAM_BUE_368,PAM_NYC_259,PAM_GR3_163,GL_SCL_4978|DY_ORL,UN_ORL|
|
28
|
+
|BR|HB_ORL_CIRQUEOFFE,HB_ORL_LEGOFLORID,HB_ORL_MCOMDVLTMS,HB_LAX_UNIVERSTUD,HB_TPA_BUSCHROW,PAM_BUE_368,PAM_NYC_259,PAM_GR3_163,GL_SCL_4978|DY_ORL,UN_ORL,SW_ORL,BG_ORL|
|
29
29
|
|
30
30
|
@ar
|
31
31
|
Examples:
|
32
32
|
|country|tour_tracking_id|ticket_tracking_id|
|
33
|
-
|AR|
|
33
|
+
|AR|PAM_SLA_104,PAM_SLA_77|DY_ORL,UN_ORL,SW_ORL,BG_ORL|
|
34
34
|
|
35
35
|
@mx
|
36
36
|
Examples:
|
37
37
|
|country|tour_tracking_id|ticket_tracking_id|
|
38
|
-
|MX|HB_LAX_UNIVERSTUD,PAM_CUN_915,GL_LAS_659|DY_ORL,UN_ORL|
|
38
|
+
|MX|HB_LAX_UNIVERSTUD,PAM_CUN_915,GL_LAS_659|DY_ORL,UN_ORL,SW_ORL,BG_ORL|
|
39
39
|
|
40
40
|
@co
|
41
41
|
Examples:
|
42
42
|
|country|tour_tracking_id|ticket_tracking_id|
|
43
|
-
|CO|HB_ORL_CIRQUEOFFE,GL_ADZ_1691|DY_ORL,UN_ORL|
|
43
|
+
|CO|HB_ORL_CIRQUEOFFE,GL_ADZ_1691|DY_ORL,UN_ORL,SW_ORL,BG_ORL|
|
44
44
|
|
45
45
|
@cl
|
46
46
|
Examples:
|
47
47
|
|country|tour_tracking_id|ticket_tracking_id|
|
48
|
-
|CL|HB_ORL_CIRQUEOFFE,PAM_BZC_534|DY_ORL,UN_ORL|
|
48
|
+
|CL|HB_ORL_CIRQUEOFFE,PAM_BZC_534|DY_ORL,UN_ORL,SW_ORL,BG_ORL|
|
@@ -46,6 +46,8 @@ Then(/^I verify that the reservation was made on Fenix for "(.*)" and "(.*)"$/)
|
|
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})
|
49
|
+
elsif trackingId.eql?("SW_ORL") || trackingId.eql?("BG_ORL")
|
50
|
+
transaction = HTTParty.get("http://10.2.7.16:80/fenix/ds/tours?transaction_id=#{crm_id}")
|
49
51
|
else
|
50
52
|
transaction = HTTParty.get("http://10.2.7.16:80/fenix/ds/#{type}?transaction_id=#{crm_id}")
|
51
53
|
end
|
@@ -114,10 +116,13 @@ Then(/^I verify that the reservation was made on Fenix for cart$/) do
|
|
114
116
|
|
115
117
|
booking_name = booking.text
|
116
118
|
|
117
|
-
|
119
|
+
binding.pry
|
120
|
+
(booking_name.include?('Walt Disney World') || booking_name.include?('Universal Orlando')) || (booking_name.include?("SeaWorld")) || (booking_name.include?("Busch")) ? type = 'tickets' : type = 'tours'
|
118
121
|
|
119
122
|
if BETA
|
120
123
|
transaction = HTTParty.get("http://10.2.7.16:80/fenix/ds/#{type}?transaction_id=#{crm_id}", :headers =>{'X-Version-Override' => BETA_COOKIES})
|
124
|
+
elsif booking_name.include?("SeaWorld") || booking_name.include?("Busch")
|
125
|
+
transaction = HTTParty.get("http://10.2.7.16:80/fenix/ds/tours?transaction_id=#{crm_id}")
|
121
126
|
else
|
122
127
|
transaction = HTTParty.get("http://10.2.7.16:80/fenix/ds/#{type}?transaction_id=#{crm_id}")
|
123
128
|
end
|
data/features/support/env.rb
CHANGED
@@ -71,11 +71,11 @@ client.timeout = 3000
|
|
71
71
|
process_clean = Henry::ProcessCleaner.new(:zombies => ["#{BROWSER}"])
|
72
72
|
process_clean.clean
|
73
73
|
|
74
|
-
|
74
|
+
system "ps aux | grep chrome | awk '{ print $2 }' | xargs -I {} kill -9 {}"
|
75
75
|
|
76
|
-
|
76
|
+
sleep 3
|
77
77
|
|
78
|
-
|
78
|
+
system "ps aux | grep firefox | awk '{ print $2 }' | xargs -I {} kill -9 {}"
|
79
79
|
|
80
80
|
browser_outside = Watir::Browser.new BROWSER.to_sym, :http_client => client, switches: ["--user-agent=#{user_agent}"]
|
81
81
|
browser_outside.cookies.clear
|
data/features/thanks.feature
CHANGED
@@ -288,4 +288,83 @@ Feature: Destination Services Thanks
|
|
288
288
|
@cl
|
289
289
|
Examples:
|
290
290
|
|country|tracking_id|type|
|
291
|
-
|CL|UN_ORL|tickets|
|
291
|
+
|CL|UN_ORL|tickets|
|
292
|
+
|
293
|
+
|
294
|
+
@seaworld_thanks
|
295
|
+
Scenario Outline: thanks from results
|
296
|
+
Given I perform a search in "<country>" with "<tracking_id>" from seo URL
|
297
|
+
When I click on the detail button of the corresponding "<tracking_id>"
|
298
|
+
And I fill the detail information for tickets universal
|
299
|
+
And I proceed to universal checkout
|
300
|
+
Then I should see the checkout page correctly
|
301
|
+
When I fill the checkout information
|
302
|
+
And I fill the particular information for tickets
|
303
|
+
And I proceed to thanks
|
304
|
+
And I fill the risk information
|
305
|
+
Then I should see the thanks page correctly
|
306
|
+
And I verify that the reservation was made on Fenix for "<type>" and "<tracking_id>"
|
307
|
+
|
308
|
+
@ar
|
309
|
+
Examples:
|
310
|
+
|country|tracking_id|type|
|
311
|
+
|AR|SW_ORL|tickets|
|
312
|
+
|
313
|
+
@br
|
314
|
+
Examples:
|
315
|
+
|country|tracking_id|type|
|
316
|
+
|BR|SW_ORL|tickets|
|
317
|
+
|
318
|
+
@mx
|
319
|
+
Examples:
|
320
|
+
|country|tracking_id|type|
|
321
|
+
|MX|SW_ORL|tickets|
|
322
|
+
|
323
|
+
@co
|
324
|
+
Examples:
|
325
|
+
|country|tracking_id|type|
|
326
|
+
|CO|SW_ORL|tickets|
|
327
|
+
|
328
|
+
@cl
|
329
|
+
Examples:
|
330
|
+
|country|tracking_id|type|
|
331
|
+
|CL|SW_ORL|tickets|
|
332
|
+
|
333
|
+
@buschgardens_thanks
|
334
|
+
Scenario Outline: thanks from results
|
335
|
+
Given I perform a search in "<country>" with "<tracking_id>" from seo URL
|
336
|
+
When I click on the detail button of the corresponding "<tracking_id>"
|
337
|
+
And I fill the detail information for tickets universal
|
338
|
+
And I proceed to universal checkout
|
339
|
+
Then I should see the checkout page correctly
|
340
|
+
When I fill the checkout information
|
341
|
+
And I fill the particular information for tickets
|
342
|
+
And I proceed to thanks
|
343
|
+
And I fill the risk information
|
344
|
+
Then I should see the thanks page correctly
|
345
|
+
And I verify that the reservation was made on Fenix for "<type>" and "<tracking_id>"
|
346
|
+
|
347
|
+
@ar
|
348
|
+
Examples:
|
349
|
+
|country|tracking_id|type|
|
350
|
+
|AR|BG_ORL|tickets|
|
351
|
+
|
352
|
+
@br
|
353
|
+
Examples:
|
354
|
+
|country|tracking_id|type|
|
355
|
+
|BR|BG_ORL|tickets|
|
356
|
+
|
357
|
+
@mx
|
358
|
+
Examples:
|
359
|
+
|country|tracking_id|type|
|
360
|
+
|MX|BG_ORL|tickets|
|
361
|
+
|
362
|
+
@co
|
363
|
+
Examples:
|
364
|
+
|country|tracking_id|type|
|
365
|
+
|CO|BG_ORL|tickets|
|
366
|
+
|
367
|
+
@cl
|
368
|
+
Examples:
|
369
|
+
|country|tracking_id|type|
|
370
|
+
|CL|BG_ORL|tickets|
|
data/henry-context.yml
CHANGED
@@ -1565,6 +1565,106 @@ tasks:
|
|
1565
1565
|
tags:
|
1566
1566
|
- assistance_flow
|
1567
1567
|
- mx
|
1568
|
+
reports:
|
1569
|
+
- format: html
|
1570
|
+
name: ${DATE}_${TASK_NAME}.html
|
1571
|
+
|
1572
|
+
- name: seaworld_thanks_br
|
1573
|
+
class_name: Henry::Task::CucumberTask
|
1574
|
+
options:
|
1575
|
+
tags:
|
1576
|
+
- seaworld_thanks
|
1577
|
+
- br
|
1578
|
+
reports:
|
1579
|
+
- format: html
|
1580
|
+
name: ${DATE}_${TASK_NAME}.html
|
1581
|
+
|
1582
|
+
- name: seaworld_thanks_ar
|
1583
|
+
class_name: Henry::Task::CucumberTask
|
1584
|
+
options:
|
1585
|
+
tags:
|
1586
|
+
- seaworld_thanks
|
1587
|
+
- ar
|
1588
|
+
reports:
|
1589
|
+
- format: html
|
1590
|
+
name: ${DATE}_${TASK_NAME}.html
|
1591
|
+
|
1592
|
+
- name: seaworld_thanks_cl
|
1593
|
+
class_name: Henry::Task::CucumberTask
|
1594
|
+
options:
|
1595
|
+
tags:
|
1596
|
+
- seaworld_thanks
|
1597
|
+
- cl
|
1598
|
+
reports:
|
1599
|
+
- format: html
|
1600
|
+
name: ${DATE}_${TASK_NAME}.html
|
1601
|
+
|
1602
|
+
- name: seaworld_thanks_co
|
1603
|
+
class_name: Henry::Task::CucumberTask
|
1604
|
+
options:
|
1605
|
+
tags:
|
1606
|
+
- seaworld_thanks
|
1607
|
+
- co
|
1608
|
+
reports:
|
1609
|
+
- format: html
|
1610
|
+
name: ${DATE}_${TASK_NAME}.html
|
1611
|
+
|
1612
|
+
- name: seaworld_thanks_mx
|
1613
|
+
class_name: Henry::Task::CucumberTask
|
1614
|
+
options:
|
1615
|
+
tags:
|
1616
|
+
- seaworld_thanks
|
1617
|
+
- mx
|
1618
|
+
reports:
|
1619
|
+
- format: html
|
1620
|
+
name: ${DATE}_${TASK_NAME}.html
|
1621
|
+
|
1622
|
+
- name: buschgardens_thanks_br
|
1623
|
+
class_name: Henry::Task::CucumberTask
|
1624
|
+
options:
|
1625
|
+
tags:
|
1626
|
+
- buschgardens_thanks
|
1627
|
+
- br
|
1628
|
+
reports:
|
1629
|
+
- format: html
|
1630
|
+
name: ${DATE}_${TASK_NAME}.html
|
1631
|
+
|
1632
|
+
- name: buschgardens_thanks_ar
|
1633
|
+
class_name: Henry::Task::CucumberTask
|
1634
|
+
options:
|
1635
|
+
tags:
|
1636
|
+
- buschgardens_thanks
|
1637
|
+
- ar
|
1638
|
+
reports:
|
1639
|
+
- format: html
|
1640
|
+
name: ${DATE}_${TASK_NAME}.html
|
1641
|
+
|
1642
|
+
- name: buschgardens_thanks_cl
|
1643
|
+
class_name: Henry::Task::CucumberTask
|
1644
|
+
options:
|
1645
|
+
tags:
|
1646
|
+
- buschgardens_thanks
|
1647
|
+
- cl
|
1648
|
+
reports:
|
1649
|
+
- format: html
|
1650
|
+
name: ${DATE}_${TASK_NAME}.html
|
1651
|
+
|
1652
|
+
- name: buschgardens_thanks_co
|
1653
|
+
class_name: Henry::Task::CucumberTask
|
1654
|
+
options:
|
1655
|
+
tags:
|
1656
|
+
- buschgardens_thanks
|
1657
|
+
- co
|
1658
|
+
reports:
|
1659
|
+
- format: html
|
1660
|
+
name: ${DATE}_${TASK_NAME}.html
|
1661
|
+
|
1662
|
+
- name: buschgardens_thanks_mx
|
1663
|
+
class_name: Henry::Task::CucumberTask
|
1664
|
+
options:
|
1665
|
+
tags:
|
1666
|
+
- buschgardens_thanks
|
1667
|
+
- mx
|
1568
1668
|
reports:
|
1569
1669
|
- format: html
|
1570
1670
|
name: ${DATE}_${TASK_NAME}.html
|
data/lib/ds/version.rb
CHANGED
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.35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Santiago Ochoa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: henry-container
|