ds-gui-automation 0.2.22 → 0.2.23
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a80d107dcf9d4887640c0dd2b9d296e1f12e2290
|
|
4
|
+
data.tar.gz: f189a44cf17fe8d06938cb3f684f49dbd9370842
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: afe62bf3bef58d88e946fb20825820e5d67313364c71efe1a81a19f9bcc023d5d5cd53efbe37f1f266769e51f00377f4a941cf7a9a18f81346b419e42242c9f9
|
|
7
|
+
data.tar.gz: c09135355872202fb3a9c490da7fa6a8c353951217639db956178447fa6887e2771c9e71bab945b61acd355f2895e659a2e0c1880d8ba04bd7136dc310949e2e
|
|
@@ -8,7 +8,7 @@ When(/^I fill the detail information$/) do
|
|
|
8
8
|
|
|
9
9
|
DestinationServicesGUI::Detail.get_tour_available_dates.shuffle.first.click
|
|
10
10
|
|
|
11
|
-
schedule = @browser.select(:
|
|
11
|
+
schedule = @browser.select(:id, 'activity-option-1')
|
|
12
12
|
|
|
13
13
|
if schedule.present? ##checkea que haya al menos un horario disponible, en caso de existir el select list
|
|
14
14
|
(DestinationServicesGUI::Detail.get_tour_available_schedules.size > 0).should be_true
|
|
@@ -98,7 +98,7 @@ Then(/^I should see the detail page for the selected tour$/) do
|
|
|
98
98
|
|
|
99
99
|
DestinationServicesGUI::Detail.get_tour_available_dates.first.click
|
|
100
100
|
|
|
101
|
-
schedule = @browser.select(:
|
|
101
|
+
schedule = @browser.select(:id, 'activity-option-1')
|
|
102
102
|
|
|
103
103
|
if schedule.present? ##checkea que haya al menos un horario disponible, en caso de existir el select list
|
|
104
104
|
(DestinationServicesGUI::Detail.get_tour_available_schedules.size > 0).should be_true
|
|
@@ -133,7 +133,7 @@ Then(/^I should see the detail page for Disney$/) do ## pending update
|
|
|
133
133
|
|
|
134
134
|
DestinationServicesGUI::Detail.get_tour_available_dates.first.click
|
|
135
135
|
|
|
136
|
-
schedule = @browser.select(:
|
|
136
|
+
schedule = @browser.select(:id, 'activity-option-1')
|
|
137
137
|
|
|
138
138
|
if schedule.present? ##checkea que haya al menos un horario disponible, en caso de existir el select list
|
|
139
139
|
(DestinationServicesGUI::Detail.get_tour_available_schedules.size > 0).should be_true
|
data/lib/ds/version.rb
CHANGED
|
@@ -20,7 +20,7 @@ module TourDetail
|
|
|
20
20
|
|
|
21
21
|
def get_tour_available_schedules
|
|
22
22
|
|
|
23
|
-
options = browser.select(:
|
|
23
|
+
options = browser.select(:id, 'activity-option-1').options.to_a.delete_if { | option | option.text.include? "Selec" }
|
|
24
24
|
|
|
25
25
|
options
|
|
26
26
|
|