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
Rachel Arnould
2652bc086a
Merge pull request #9755 from cillian/order-cycle-payment-methods
...
Let people choose which payment methods are available to customers on order cycles
2022-10-26 20:10:34 +02:00
filipefurtad0
b53faceebb
Retries improved but still flaky examples
2022-10-26 13:26:21 +01:00
filipefurtad0
14955ac8ca
Minor changes to improve flakyness
2022-10-25 17:39:10 +01:00
filipefurtad0
3447959a06
Adds click_on_select2 helper
2022-10-25 13:32:29 +01:00
Konrad
4a7ac45dba
Merge pull request #9830 from jibees/9821-remove-report_inverse_columns_logic-feature-toggle
...
Remove `report_inverse_columns_logic` feature toggle
2022-10-25 00:23:31 +02:00
Konrad
84bf38ce4d
Merge pull request #9791 from vsmay98/8250-fix-snail-for-all-enterprise-fee
...
Fix snail issue for all enterprise fees
2022-10-24 21:49:45 +02:00
filipefurtad0
367f77f477
Replaces select2_select helper for find/click
2022-10-24 17:57:10 +01:00
Jean-Baptiste Bellet
6dec80aaaf
Links only on right side
2022-10-24 11:12:22 +02:00
Jean-Baptiste Bellet
02787e668f
Remove report_inverse_columns_logic feature toggle
...
Co-Authored-By: Maikel <maikel@email.org.au >
2022-10-24 11:12:22 +02:00
jibees
ee70ab8adb
Merge pull request #9847 from mkllnk/stable-orders_and_fulfillment_spec
...
Expect report rows for same product in random order
2022-10-24 09:57:06 +02:00
Maikel Linke
167ce0e53c
Expect report rows in random order
...
It's not deterministic which variant is shown first and therefore this
spec would fail from time to time.
2022-10-24 15:40:35 +11:00
Maikel
e873771f18
Merge pull request #9822 from filipefurtad0/redis_CannotConnectError
...
Extracts routing outside it block
2022-10-24 13:33:01 +11: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
Cillian O'Ruanaidh
4e6d64c0a1
Let people choose which payment methods are available to customers on order cycles
2022-10-21 17:21:31 +01:00
jibees
3a68e237de
Merge pull request #9772 from mkllnk/revenue-report-for-au
...
Add more fields to revenue report as used by Aus
2022-10-20 23:10:17 +02:00
jibees
da851079f4
Merge pull request #9776 from abdellani/product-creation-minor-improvements
...
Product creation minor improvements
2022-10-20 17:30:47 +02:00
Vishal Jain
de28027623
add system spec
2022-10-20 12:15:22 +05:30
filipefurtad0
c4de247dd9
Clarifies contexts, cleans-up spec DRY
2022-10-19 16:56:04 +01:00
filipefurtad0
a244b34627
Extracts routing to context (DRY); creates context for separate it block
2022-10-19 11:15:15 +01:00
filipefurtad0
dabe37ebcb
Extracts routing outside it block
2022-10-19 11:01:56 +01:00
jibees
7b96a1fb5b
Merge pull request #9815 from mkllnk/bulk-product-spec
...
Stabilise spec by waiting for JS
2022-10-19 09:50:55 +02:00
Maikel Linke
04921aeed4
Stabilise spec by waiting for JS
2022-10-19 09:59:51 +11:00
filipefurtad0
c71c5054e0
Replaces js select2 methods by find/click methods
2022-10-18 21:27:52 +01:00
filipefurtad0
b3059bbdbc
Comments out and adds pending on flaky examples
2022-10-18 10:28:44 +01:00
Maikel Linke
a35fab5e1f
Speed up spec by skipping a page
2022-10-18 14:27:18 +11:00
Maikel Linke
c22f6cb805
Add more fields to revenue report as used by Aus
...
We currently maintain our own CSV generation script which could be
replaced if we got all this information here.
2022-10-18 12:51:13 +11:00
Mohamed ABDELLANI
96c6f58ba2
fix test @/spec/system/admin/products_spec.rb:32
2022-10-14 03:26:40 +01:00
jibees
daaff2f7e8
Merge pull request #9764 from mkllnk/simple-oc-spec
...
Stabilise spec by waiting for JS requests
2022-10-12 10:17:51 +02:00
Jean-Baptiste Bellet
bfbdb5f44b
Don't need to wait for UI feedback: only check on page content
...
ie. table content
2022-10-11 12:16:25 +02:00
Maikel Linke
5bbbe4b67a
Stabilise spec by waiting for JS requests
...
Well, two seconds is just a guess. Ideally the page wouldn't display
until we have everything loaded. But this logic will be replaced when we
chuck out AngularJS.
This version passed over 100 runs with a busy CPU on my machine.
2022-10-11 14:57:59 +11:00
Maikel Linke
6ef0e04c18
Mark currently broken spec as pending
...
I thought it's better to progress with this PR before we break more
things.
2022-10-10 16:03:18 +11:00
Maikel
82e38d7b91
Merge pull request #9526 from jibees/6730-use-a-date-range-picker
...
Admin, List of Orders & Orders Bulk Management pages: use a date range picker
2022-10-10 13:59:37 +11:00
Maikel
058a45f4e5
Merge pull request #9442 from jibees/8904-display-fees-name-instead-of-type-on-invoices
...
Display fees name instead of type on invoices
2022-10-10 13:15:01 +11:00
Jean-Baptiste Bellet
263b36d1d9
Confirm input changed by pressing enter key
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
a272479483
When selecting date range picker, orders should load
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
eec117e769
Implements daterangepicker for /admin/orders/bulk_management
...
+ update specs as well
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
eb621cae35
Update spec to be more defensive
...
Actually, this one fail on master too (when changing month?)
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
73f55ae776
Implements daterangepicker for /admin/orders
...
+ update specs as well
2022-10-08 16:36:26 +02:00
Maikel Linke
1137e6890b
Supply feature mock with default value
...
Otherwise Rspec complains about receiving another argument which is not
the one we defined here before.
2022-10-08 16:23:17 +02:00
Jean-Baptiste Bellet
72df2867d4
Remove admin_and_handling merging
...
+ update specs as well
2022-10-08 10:00:57 +02:00
binarygit
25ae10dbe8
Create bulk orders cancellation feature
2022-10-04 16:57:31 +02:00
Filipe
4b279d28dd
Merge pull request #9262 from cillian/order-cycle-shipping-methods
...
Let people customise which shipping methods are available to customers on order cycles
2022-09-30 14:36:37 +01:00
Cillian O'Ruanaidh
acd4706890
Set closing time correctly in order_cycles/complex_creating_specific_time_spec.rb
2022-09-30 14:22:11 +01:00
Filipe
f7d21406a1
Merge pull request #9702 from ashwini-seshadri/master
...
Fix for new subscription dialog
2022-09-30 13:32:42 +01:00
Cillian O'Ruanaidh
f9e29f3a78
Fix Metrics/AbcSize violation in order_cycles/complex_creating_specific_time_spec.rb
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
6542b47e72
Adjust order_cycles/complex_creating_specific_time_spec to take into account that DistributorShippingMethods instead of ShippingMethods are connected to OrderCycles now
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
2827e07da6
Define :oc with let so it is available globally to other methods such as :expect_fees_saved
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
23f6901fb4
Adjust order_cycles/simple_spec.rb to take new Checkout Options step into account
...
Note, this doesn't test checking/unchecking some distributor shipping methods and not others because that is tested in order_cycles/complex_creating_time_specific_spec.rb.
2022-09-30 13:13:39 +01:00
Cillian O'Ruanaidh
a53a3259a8
Connect DistributorShippingMethods to OrderCycles instead of Spree::ShippingMethods
...
Before if a shipping method was shared between multiple distributors it could only be disabled/enabled on that order cycle for all the distributors which have that shipping method e.g. you couldn't select that shipping method for one distributor but disable it for another.
2022-09-30 13:13:39 +01:00