flights_gui_tests 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/features/step_definitions/landing/negative_steps.rb +2 -2
- data/flights_gui_tests.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a0d52dda0000da455d849bcbb7e39bd61cc7a7e
|
4
|
+
data.tar.gz: c1d8556d2575ac763dc81091e7666b8bd37d235c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 519e7fcbb5bdd60dc48feefea84b41960704992cd5b42e5280cd380d994e28fde88e2f9f48fb065d28e5f008bf5fc7edd9a6b362c8ea1ba181a413af7ae156bb
|
7
|
+
data.tar.gz: 887d167d4ca2c55ac9855b3167e063a4729f3dcc675685566eb2dd7769ba9349796049f70b2f267ab401916f2f117a4221910b6ed571e91e64c5bcd68064b4e8
|
@@ -4,8 +4,8 @@ Entonces(/^verifico que el mensaje de error en el cluster sea correcto$/) do
|
|
4
4
|
clusters=@page.datos_de_itinerarios
|
5
5
|
clusters.each_with_index do |cluster,i|
|
6
6
|
if (cluster.idas.length>1 or (cluster.vueltas and cluster.vueltas.length>1))
|
7
|
-
@page.div(:class=>"cluster",:index=>i).link(:class,"buy btn-buy flights-button").click
|
8
|
-
@page.div(:class=>"cluster",:index=>i).li(:class=>'item error-message',:index=>((cluster.idas.length>1) ? 0 : 1)).text.no_accents.should match("Choose a (return|departure) flight|Por favor, seleccione un vuelo de|Por favor, selecione um voo de")
|
7
|
+
@page.browser.div(:class=>"cluster",:index=>i).link(:class,"buy btn-buy flights-button").click
|
8
|
+
@page.browser.div(:class=>"cluster",:index=>i).li(:class=>'item error-message',:index=>((cluster.idas.length>1) ? 0 : 1)).text.no_accents.should match("Choose a (return|departure) flight|Por favor, seleccione un vuelo de|Por favor, selecione um voo de")
|
9
9
|
end
|
10
10
|
end
|
11
11
|
end
|
data/flights_gui_tests.gemspec
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
|
17
17
|
|
18
|
-
gem.version = '0.0.
|
18
|
+
gem.version = '0.0.4' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
|
19
19
|
|
20
20
|
gem.add_dependency('henry-container', '>= 0.1.39')
|
21
21
|
gem.add_dependency('page-object')
|