Matt-Yorkley
ced5329835
Add Stripe spec for multiple attempted payments at checkout
2020-10-05 00:50:59 +01:00
Luis Ramos
a5309627b7
Fix a typo
2020-10-03 15:46:29 +01:00
Luis Ramos
80ea80f26e
DRY stripe spec
2020-10-03 11:50:04 +01:00
Luis Ramos
14f5ecfe0b
Add spec to cover StripeSCA extra auth with redirect and failed auth
2020-10-03 11:39:56 +01:00
Luis Ramos
df4ec67974
Add feature spec that covers stripe_sca redirect case
2020-10-03 11:09:24 +01:00
Luis Ramos
ef70c1fc5c
Make helper more flexible and use it in a spec
2020-10-02 19:20:32 +01:00
Luis Ramos
83456f94e3
Simplify test by re-using helper stripe mock
2020-10-02 19:12:56 +01:00
Luis Ramos
ff9f374950
Merge pull request #6050 from Matt-Yorkley/stripe-checkout-spec
...
Stripe checkout spec
2020-10-02 18:57:22 +01:00
Luis Ramos
da82df39c2
Comment 2 broken specs until we manage to fix them
2020-10-02 11:59:38 +01:00
Matt-Yorkley
1cc950a4d9
DRY StripeHelper methods
2020-10-01 15:54:16 +01:00
filipefurtad0
a85e500bb1
moves content_spec.rb into /configuration and adds an href string, incresing Redcarpet test coverage
2020-09-29 22:39:05 +01:00
Matt-Yorkley
c518e7e0dd
Extract Stripe credit card form filling
2020-09-28 19:59:26 +01:00
Matt-Yorkley
2babfa9a7b
Add rejected card test
2020-09-28 19:55:52 +01:00
Arun Kumar Mohan
06a3e55348
Replace create with build_stubbed in address model specs
2020-09-25 22:54:58 -05:00
Luis Ramos
9b5bd7bb1c
Merge pull request #6066 from arku/perf/variant-override-specs
...
Replace `create` with `build_stubbed` in variant override model specs
2020-09-24 18:47:08 +01:00
Luis Ramos
aa74b58810
Merge pull request #6067 from arku/perf/tag-rule-specs
...
Remove unnecessary create call in tag rule model specs
2020-09-24 18:45:18 +01:00
Luis Ramos
8919adb6bf
Merge pull request #6074 from arku/perf/shipping-rate-specs
...
Replace `create` with `build_stubbed` in shipping rate model specs
2020-09-24 18:42:30 +01:00
Luis Ramos
e04b85e900
Merge pull request #6078 from arku/perf/per-item-flexi-rate-specs
...
Replace `build` with `build_stubbed` in flexi rate and per item model specs
2020-09-24 18:41:29 +01:00
Luis Ramos
b8fae8e3a3
Merge pull request #6077 from arku/perf/calculator-price-sack-specs
...
Replace `build` with `build_stubbed` in price sack model specs
2020-09-24 18:41:19 +01:00
Luis Ramos
01fdee9dba
Merge pull request #6076 from arku/perf/calculator-flat-percent-item-total-specs
...
Replace `build` with `build_stubbed` in flat percent item total specs
2020-09-24 18:40:55 +01:00
Luis Ramos
dfd54c1cbc
Merge pull request #6075 from arku/perf/calculator-weight-specs
...
Replace `create` with `build_stubbed` in calculator weight model specs
2020-09-24 18:40:31 +01:00
Pau Pérez Fabregat
2e5b5eaac5
Merge pull request #6043 from andrewpbrett/imperial-units-product-import
...
Add oz and lb as allowed units in product import
2020-09-23 20:46:54 +02:00
Luis Ramos
a2610279d9
Merge pull request #5976 from luisramos0/address_form
...
Fix address state selector and "use billing address" checkbox in order customer details page
2020-09-23 12:42:37 +01:00
Matt-Yorkley
25a8c44c22
Merge pull request #6018 from Matt-Yorkley/tax-display
...
Tax display
2020-09-22 17:53:04 +02:00
Arun Kumar Mohan
bc77b8bcb2
Replace build with build_stubbed in per item model specs
2020-09-21 21:24:38 -05:00
Arun Kumar Mohan
38ab95a9a4
Replace build with build_stubbed in flexi rate model specs
2020-09-21 21:22:59 -05:00
Arun Kumar Mohan
698d8b35fa
Replace build with build_stubbed in price sack model specs
2020-09-21 21:18:36 -05:00
Arun Kumar Mohan
a257a9e9d2
Replace build with build_stubbed in calculator weight model specs
2020-09-21 21:12:30 -05:00
Arun Kumar Mohan
231fbcd11a
Replace build with build_stubbed in flat percent item total specs
2020-09-21 21:04:16 -05:00
Arun Kumar Mohan
c098ba0ce3
Replace create with build_stubbed in calculator weight model specs
2020-09-21 20:46:50 -05:00
Arun Kumar Mohan
f7a9cc63a7
Replace create with build_stubbed in shipping rate model specs
2020-09-21 20:37:35 -05:00
Arun Kumar Mohan
0aa5ee081e
Replace create with build in adjustment metadata model specs
2020-09-21 01:54:46 -05:00
Arun Kumar Mohan
289fd09e20
Remove unnecessary create call in tag rule model specs
2020-09-21 01:09:14 -05:00
Arun Kumar Mohan
239b6e7577
Replace create with build_stubbed in variant override model specs
2020-09-21 00:45:35 -05:00
Matt-Yorkley
5bca561c4a
Refactor Stripe request stubbing to helper
2020-09-20 17:06:03 +01:00
Luis Ramos
714bfafede
Merge pull request #6037 from arku/fix/hash-diff-deprecation
...
Remove Hash#diff from cancan helper
2020-09-19 20:21:24 +01:00
Matt-Yorkley
70bd2161ba
Rename Stripe Connect factory for clarity
2020-09-19 12:55:31 +01:00
Matt-Yorkley
4080e7daa4
Add comments in StripeJS mock
2020-09-19 12:20:55 +01:00
Matt-Yorkley
cca8f9faf6
Add missing behaviour in StripeJS mock
2020-09-19 12:20:55 +01:00
Matt-Yorkley
368772dad2
Add another missing method to StripeJS mock
...
Our Angular code calls this method in some tests and expects a Promise object with a hash describing a payment method.
2020-09-19 00:39:39 +01:00
Matt-Yorkley
857f4e3a37
Add missing method to StripeJS mock
...
Our Angular code calls this method for interacting with live form validations and messages. We don't really need to use in tests, it just needs to exist otherwise the specs fail.
2020-09-19 00:39:39 +01:00
Matt-Yorkley
67d136548f
Update form elements to more accurately reflect actual Stripe form
...
These attributes more closely reflect the actual form injected by Stripe. The additional attributes are also useful for selecting elements in tests
2020-09-19 00:39:39 +01:00
Matt-Yorkley
4c77c41533
Remove unused postal field from form
2020-09-19 00:39:39 +01:00
Matt-Yorkley
49bd9bd778
Import StripeJS mock from fake_stripe gem
...
This is the original from https://github.com/thoughtbot/fake_stripe/blob/v0.3.0/lib/fake_stripe/assets/v3.js
2020-09-19 00:39:39 +01:00
Matt-Yorkley
0ba3977422
Add new Stripe checkout spec
2020-09-19 00:39:32 +01:00
Matt-Yorkley
4ed34bb942
Add javascript debug option to test suite
2020-09-18 21:20:47 +01:00
Andy Brett
0ef4dec15e
specs for product import using pounds and ounces
2020-09-17 09:34:22 -07:00
Matt-Yorkley
77eaebc2a7
Merge pull request #5888 from andrewpbrett/imperial-auto-units
...
Allow US units on products/variants
2020-09-17 15:04:15 +02:00
Luis Ramos
212820b3da
Merge pull request #5912 from luisramos0/tcs
...
Terms and Conditions - upload PDF in the Enterprise Business Details and read them on Checkout
2020-09-17 12:01:45 +01:00
Luis Ramos
f1358dfa9a
Merge pull request #5722 from rioug/4206-back-from-Edit-Product-removed-filters-products-page
...
4206 back from edit product removed filters products page
2020-09-17 11:51:58 +01:00