Mohamed ABDELLANI
7e84579aa3
spec/system/consumer/shopping/checkout_stripe_spec
...
these tests are using the legacy checkout
2023-06-13 14:58:16 +01:00
Konrad
502b5e8664
Merge pull request #10937 from jibees/10900-white-label-remove-ofn-navigation-for-small-width-screens
...
[White Label] Remove ofn navigation for small width screens as well when option is activated
2023-06-09 16:28:22 +02:00
Maikel Linke
4ecbbae55e
Adapt large browser window as default
...
We were really close to that anyway. It simplifies the code a bit.
2023-06-08 13:51:29 +10:00
Maikel Linke
7cf68cd33b
Ensure that specs restore default window size
2023-06-08 13:51:25 +10:00
Maikel Linke
241b307762
Fix typos
2023-06-08 11:34:05 +10:00
Jean-Baptiste Bellet
daaeca88e8
Add some helpers to test mobile views
2023-06-06 12:00:16 +02:00
Matt-Yorkley
770880c062
Update specs
2023-05-21 00:15:32 +01:00
Maikel Linke
5c6d9a092e
Simplify login spec helpers, avoid long lines
...
The `login_as_admin_and_visit` helper was used a lot but isn't really
shorter than:
login_as_admin
visit path_visit
Calling those methods separately reduces line length. It also removes
the potential impression that it may be more efficient to use the
helper. Now we have less indirection if one of the calls fails and see
the failing spec line straight away.
2023-04-17 11:08:32 +10:00
Maikel Linke
8d500a2c27
Remove superflouous login test helper
...
It was often used with a `visit` statement after which resulted in
unnecessary page loads. There was only one case where a `visit` was
expected but it wasn't needed either.
2023-04-17 10:56:51 +10:00
Maikel Linke
425674c4e5
Remove unused return value of admin login helper
...
Well, there was one use of the return helper. But I don't think that
it's a very intuitive method.
2023-04-17 10:56:51 +10:00
David Cook
865d81d28f
Apply suggestions from code review
2023-04-05 14:05:26 +10:00
Neal Chambers
940f806e5f
Fix Rubocop Layout/LineLength
2023-04-04 09:44:15 +09:00
Konrad
11928859bc
Merge pull request #10438 from jibees/10133-update-column-dropdown-everywhere
...
Redesign old columns dropdown component to match the design of the new one
2023-02-28 20:22:00 +01:00
Jean-Baptiste Bellet
166e2f525e
New design uses lowercase for component title
...
and specify clicking inside the dropdown
2023-02-27 09:56:48 +01:00
Maikel Linke
953ff2bd08
Remove more unused spec helpers
2023-02-24 15:31:18 +11:00
cyrillefr
a75892ccc1
Remove I18n keys in support specs
2023-02-16 14:28:14 +01:00
filipefurtad0
3c4845813d
Adds expectation to assure login was sucessful
2022-11-29 16:45:01 +01:00
Sigmund Petersen
1688bf09e3
Merge pull request #9988 from filipefurtad0/bump_cuprite-0.14.3
...
Cuprite bump: Updates helper to click on css element...
2022-11-16 11:41:09 +01:00
filipefurtad0
1a3c4008fd
Applies helpers to relevant specs
2022-11-15 19:03:14 +00:00
filipefurtad0
4b067e2ece
Creates separate helpers for enabling Stripe and keys
2022-11-15 19:03:14 +00:00
filipefurtad0
760635da1f
Updates helper to click on css element...
...
...instead of passing empty_keys
2022-11-14 12:23:53 +00:00
Maikel
54b0554bb4
Merge pull request #9831 from filipefurtad0/fix_flaky_spec_bom_9811
...
Brings back rspec_retry; Creates helper method for flaky spec #9811
2022-10-27 09:52:43 +11:00
filipefurtad0
3447959a06
Adds click_on_select2 helper
2022-10-25 13:32:29 +01:00
Cillian O'Ruanaidh
62cd507fb9
Stub Spree::Config.stripe_connect_enabled instead of changing it before and back after tests
...
It's less code and sometimes there can be issues when config cache values are changed.
Co-authored-by: Maikel <maikel@email.org.au >
2022-10-21 17:21:31 +01:00
Ashwini Seshadri
edee5c693b
Changed new subscription dialog to use tom-select from select2
...
fixed z-index, text-alignment in the dropdown menu to left in new subscription modal, replaced click_link with page.find().click in subscription specs, removed href in subscription index
2022-09-28 10:47:39 +02:00
Maikel Linke
c8cab8aae5
Update mocked responses to get a ListObject
2022-08-09 15:13:16 +10:00
Jean-Baptiste Bellet
2c29b1f60f
Replace Angular directive and use stimulus controller
...
+ Update specs as well
2022-05-24 12:30:00 +02:00
jibees
641df45fcd
Revert "When creating an order, and assigning a customer, fill all the customer inputs in the shipping/billing address form"
2022-05-24 09:50:18 +02:00
Jean-Baptiste Bellet
9c231a831d
Replace Angular directive and use stimulus controller
...
+ Update specs as well
2022-05-05 14:53:32 +02:00
Jean-Baptiste Bellet
f8f57a31db
Use the right selector
...
In test env. we don't use the stripejs but a mock. Slightly different.
2022-03-03 14:14:39 +01:00
Matt-Yorkley
6116fd8881
Improve inaccurate specs
2022-01-29 14:49:23 +00:00
Matt-Yorkley
0577b46f3f
Create simpler non-Angular login modal
2022-01-29 14:49:23 +00:00
Maikel Linke
178d296c9f
Adapt specs to use stripe_sca_payment_method
...
There are still some specs directly related to StripeConnect and I left
them for now.
2021-12-20 15:00:14 +11:00
Filipe
e036e9b979
Merge pull request #8591 from filipefurtad0/consumer_specs_into_system
...
Consumer specs into system
2021-12-17 13:52:28 +00:00
filipefurtad0
eb315b42e4
Updates cookie_helper to support Ferrum syntax
2021-12-11 17:39:39 +00:00
Matt-Yorkley
9fa19cb772
Update namespacing in specs
2021-12-10 11:46:53 +00:00
shveikus
9e75e0e65c
Add spec for logging using keyboard
2021-11-22 23:40:22 +03:00
Luis Azcuaga
e8fd89a6d2
Run rubocop over existing todo
2021-10-25 21:28:28 -05:00
filipefurtad0
c94b5d1598
Toggles shipping info section
2021-10-20 18:58:06 +01:00
filipefurtad0
21449ea711
Adds respective sections to assure elements are found
2021-10-20 15:37:45 +01:00
filipefurtad0
2db64a5b9f
Deletes unused helper methods
2021-10-19 11:26:00 +01:00
Maikel
a3c31f7d86
Revert "Kill stripe connect"
2021-09-20 08:39:34 +10:00
Nihal Mohammed
eb17c208f9
Update stripe_stubs to handle stripeSCA
2021-09-10 14:43:34 +05:30
Luis Ramos
23627c5453
Run rubocop -a (safe corrections) removing all exceptions so all possible fixes are applied
...
9290 issues fixed
2021-06-17 22:19:26 +01:00
Andy Brett
77c384633b
specify payment intent ID in stripe stub
2021-06-01 22:34:04 +01:00
Andy Brett
b3e08b47b9
set Stripe api key directly instead of using allow
2021-06-01 22:33:12 +01:00
Luis Ramos
f07cc32be0
Remove authorization token from stripe stubs
2021-06-01 22:33:12 +01:00
Maikel Linke
ffb4ba5ef5
Style numeric predicate use with Rubocop
2021-03-25 18:07:11 +11:00
Luis Ramos
c5581fa25f
Rename spec/support/CheckoutHelper to resolve colision with app/helpers/CheckoutHelper
2021-03-16 23:20:11 +00:00
Andy Brett
b5b751fa39
fix admin feature spec
2021-03-09 16:22:46 +01:00