effective_test_bot 1.5.12 → 1.5.13
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5574c71dde9cc67e51bec9dda1ebe5042e8c4e1f24a77c56184eada72989a081
|
4
|
+
data.tar.gz: e2ccd01cd9883e04df6885a3688406e6e14e225a3d3b581ec432f354bb3bec31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 168828fe6177fc183323eaac87845a6af23ae6ff561548dd4cafa0d37173612c06c21a7f393b9e23def99eb5a7b8e9226e463a4d29760d9d84104733ce81f2e7
|
7
|
+
data.tar.gz: d42e74d0d921dd03b05a60a58f143d8269fdb6032832f20fb3814c65fd12e247a63fc2ce51efb1562d1c3b569e4f1dc73544563ca775dfb131db62c76fe99fa3
|
@@ -58,12 +58,12 @@ module EffectiveTestBotFormHelper
|
|
58
58
|
end
|
59
59
|
|
60
60
|
# Fills in the Stripe Elements form
|
61
|
-
def fill_stripe(card_number: '
|
61
|
+
def fill_stripe(card_number: '5555 5555 5555 4444', mm: '01')
|
62
62
|
stripe_iframe = find("iframe[src^='https://js.stripe.com/v3']")
|
63
63
|
assert stripe_iframe.present?, 'unable to find stripe iframe'
|
64
64
|
|
65
65
|
within_frame(stripe_iframe) do
|
66
|
-
fill_in('Card number', with: '
|
66
|
+
fill_in('Card number', with: '5555555555554444')
|
67
67
|
fill_in('MM / YY', with: mm.to_s + (Time.zone.now.year + 2).to_s.last(2))
|
68
68
|
fill_in('CVC', with: '123')
|
69
69
|
fill_in('ZIP', with: '90210')
|
@@ -83,7 +83,7 @@ module EffectiveTestBotFormHelper
|
|
83
83
|
before_path = page.current_path
|
84
84
|
|
85
85
|
within_frame(stripe_iframe) do
|
86
|
-
fill_in('Card number', with: '
|
86
|
+
fill_in('Card number', with: '5555555555554444')
|
87
87
|
fill_in('Expiry', with: "12#{Time.zone.now.year - 1999}")
|
88
88
|
fill_in('CVC', with: '123')
|
89
89
|
find_submit.click
|
@@ -107,7 +107,7 @@ module EffectiveTestBotFormHelper
|
|
107
107
|
|
108
108
|
within_frame(moneris_checkout_iframe) do
|
109
109
|
fill_in('Cardholder Name', with: 'Test User')
|
110
|
-
fill_in('Card Number', with: '
|
110
|
+
fill_in('Card Number', with: '5555555555554444')
|
111
111
|
fill_in('MM/YY', with: "12#{Time.zone.now.year - 1999}")
|
112
112
|
fill_in('CVV', with: '123')
|
113
113
|
find_submit.click
|
@@ -130,7 +130,8 @@ module EffectiveTestBotFormHelper
|
|
130
130
|
before_path = page.current_path
|
131
131
|
|
132
132
|
within_frame(deluxe_checkout_iframe) do
|
133
|
-
|
133
|
+
assert_content 'Expiry'
|
134
|
+
find('input[id=ccNum]').set("5555555555554444")
|
134
135
|
find('input[id=ccExpry]').set("12#{Time.zone.now.year - 1999}")
|
135
136
|
find('input[id=ccCvv]').set("123")
|
136
137
|
find_submit.click
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_test_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|