Rachel Arnould
|
329ad1ddb2
|
Merge pull request #11874 from dacook/buu-success-message-11517
[BUU] Flash message redesign
|
2023-12-13 11:59:19 +01:00 |
|
Mohamed ABDELLANI
|
4a22224c73
|
fix existing tests
|
2023-12-08 13:33:36 +01:00 |
|
Maikel
|
7bc1442b5b
|
Merge pull request #11899 from filipefurtad0/system_spec_zero_priced_variant
Adds test cases to account for priceless and 0.0 priced variant creation
|
2023-12-07 07:53:42 +11:00 |
|
Konrad
|
7efc6f35b2
|
Merge pull request #11891 from bmd08a1/ft/search-by-customer-fullname-with-comma
Allow searching orders by customers' full name with comma and full name reversed
|
2023-12-06 21:08:28 +01:00 |
|
David Cook
|
0f3a952fd0
|
Add translation for product cloned message
A validation error shouldn't happen. If it does, it's an exception, not an error.
|
2023-12-06 15:13:20 +11:00 |
|
David Cook
|
6dc04c458c
|
Show saving success message in flash
I don't know if this is the best way to do it with SR, but it works..
|
2023-12-06 10:12:17 +11:00 |
|
David Cook
|
70f153b0f7
|
Refactor spec
Only the first example is testing the updated variant here.
|
2023-12-06 10:11:19 +11:00 |
|
David Cook
|
300998acb6
|
Merge pull request #11811 from dacook/buu-stock-levels-11062
[BUU] Stock level popout
|
2023-12-05 13:56:01 +11:00 |
|
filipefurtad0
|
7aeb6e4cd9
|
Adds test cases to account for priceless and 0.0 priced variant creation
|
2023-12-04 18:40:55 +00:00 |
|
Dung Bui
|
8a3aababa1
|
group specs into one it block, added fullname with comma reversed ransacker
|
2023-12-04 08:45:19 +07:00 |
|
Dung Bui
|
6206164c30
|
fix rubocop
|
2023-12-03 14:28:50 +07:00 |
|
Dung Bui
|
600226cb52
|
add fullname reversed search
|
2023-12-03 14:15:41 +07:00 |
|
Dung Bui
|
febda2ce12
|
add search by fullname with comma
|
2023-12-03 14:10:12 +07:00 |
|
Maikel Linke
|
72755840c0
|
Update specs for background reports
|
2023-12-01 15:22:34 +11:00 |
|
Maikel Linke
|
75467a0c65
|
Update specs for background reports
|
2023-12-01 15:22:34 +11:00 |
|
Maikel Linke
|
d1c73f86c0
|
Update specs for background reports
|
2023-12-01 15:22:34 +11:00 |
|
Maikel Linke
|
049df77558
|
Update specs for background reports
|
2023-12-01 15:22:34 +11:00 |
|
Maikel Linke
|
0b7cf86b5b
|
Update report spec for background reports
|
2023-12-01 15:22:34 +11:00 |
|
David Cook
|
c35b82373e
|
Merge pull request #11867 from mkllnk/tos-spec
DRY Terms of Service spec to save time
|
2023-12-01 11:10:48 +11:00 |
|
Maikel Linke
|
08d0345967
|
Simplify feature selection in spec
|
2023-12-01 08:55:47 +11:00 |
|
filipefurtad0
|
3bf4e47d53
|
Sets shared example for invoice bulk printing
with legal invoices feature enabled and disabled
|
2023-11-30 12:44:49 +00:00 |
|
Maikel Linke
|
f6e9bfe15d
|
Further simplify Terms of Service spec
Since system specs are expensive, the standard workflow can be tested in
one "smoke test", as one scenario.
Run time reduced from 5.8s to 4.9s.
|
2023-11-29 12:21:38 +11:00 |
|
Maikel Linke
|
d3f2c72730
|
DRY Terms of Service spec to save time
The test conditions were already checked in the normal file upload.
Run time reduced from 7.2s to 5.8s.
|
2023-11-29 12:21:37 +11:00 |
|
David Cook
|
f034e46aed
|
Fix label
Strangely, the spec passed when run locally, but not in CI. It's a curious case of the wrong letter case.
|
2023-11-28 10:44:34 +11:00 |
|
David Cook
|
bc6a83017b
|
Update spec
Ok that was an afterthought, but better late than never.
|
2023-11-28 10:44:34 +11:00 |
|
David Cook
|
eccfe96a5b
|
Use form hash structure
The array format is generally fine, but to properly support checkboxes, we need this format with hash keys.
https://guides.rubyonrails.org/form_helpers.html#understanding-parameter-naming-conventions
|
2023-11-28 10:44:34 +11:00 |
|
David Cook
|
55cd8a6773
|
Add on_demand field
But 'Array parameters do not play well with the check_box helper.'
...
|
2023-11-28 10:43:10 +11:00 |
|
David Cook
|
7aefa834bf
|
Add on_hand input
|
2023-11-28 10:43:10 +11:00 |
|
Filipe
|
92686c97d6
|
Merge pull request #11853 from dacook/check_pdf_file_bulk_invoice_print2
Spec refactor
|
2023-11-24 10:14:53 +00:00 |
|
David Cook
|
3bfe0f86f2
|
Merge pull request #11852 from filipefurtad0/fix_display_inventory_warning_spec
Fix display inventory warning spec
|
2023-11-24 13:46:41 +11:00 |
|
David Cook
|
eecca8ee96
|
Refactor: match url with regexp
And remove unnecessary button click.
|
2023-11-24 12:41:02 +11:00 |
|
Gaetan Craig-Riou
|
8b5e543ba5
|
Merge pull request #11836 from filipefurtad0/check_pdf_file_bulk_invoice_print
Extends bulk print invoice spec to assert on file contents
|
2023-11-24 11:42:49 +11:00 |
|
filipefurtad0
|
0390d52f18
|
Adds test to reproduce issue #11851
|
2023-11-23 19:49:34 +00:00 |
|
filipefurtad0
|
8b5d5b3626
|
Changes inventory setting for order cycle coordinator
...instead of supplier; Inventory is a feature which is relevant for shops/hubs.
|
2023-11-23 17:27:09 +00:00 |
|
Maikel Linke
|
22e96764ec
|
Simplify spec
|
2023-11-23 08:39:20 +11:00 |
|
filipefurtad0
|
674974f868
|
Moves block within test description
This way, we don't need to use it as a global method
Clarifies context naming
|
2023-11-22 17:01:43 +00:00 |
|
Rachel Arnould
|
1088b6b6dd
|
Merge pull request #11785 from chahmedejaz/task/11067-admin_style_v3-product-clone
Implement product clone
|
2023-11-22 16:29:38 +01:00 |
|
Maikel
|
e16429b166
|
Merge pull request #11821 from mkllnk/feature-toggled-specs
Feature toggled specs
|
2023-11-22 14:18:13 +11:00 |
|
Yasir Azgar
|
72089d8213
|
11612 - pass date args
fix typo
|
2023-11-21 11:15:52 +01:00 |
|
filipefurtad0
|
a5e5b4a114
|
Extends bulk print invoice spec to assert on file contents
|
2023-11-20 19:31:10 +00:00 |
|
Filipe
|
ebd1151054
|
Merge pull request #11730 from murjax/payment-save-flash-9048
Fix Stripe payment flash rendering issue
|
2023-11-17 11:51:42 +00:00 |
|
Maikel
|
a1dbb3353f
|
Merge pull request #11820 from macanudo527/fix_autocorrect_rubocop2
Fix Style Rubocop Errors
|
2023-11-17 14:25:12 +11:00 |
|
Maikel Linke
|
d841b1dae2
|
DRY feature activation in specs
It's simple this way and we have one place to add logic to when needed
(see next commit).
|
2023-11-17 13:17:27 +11:00 |
|
Maikel
|
f087aa07d0
|
Merge pull request #11705 from abdellani/fix-existing-tests
Fix invoice printing tests
|
2023-11-17 12:57:24 +11:00 |
|
Neal Chambers
|
c3c4486d0c
|
Safely autocorrect Style/RedundantStringEscape
Inspecting 1513 files
..........................................................................................................................................................................................................................................................................................................................C...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................C......................................................................................................................................................................................................................................................................................................................................................................................................................................................................C...........................................................................................................
Offenses:
app/models/spree/calculator.rb:31:48: C: [Corrected] Style/RedundantStringEscape: Redundant escape of / inside string literal.
self.class.name.titleize.gsub("Calculator\/", "")
^^
spec/controllers/spree/admin/shipping_methods_controller_spec.rb:40:78: C: [Corrected] Style/RedundantStringEscape: Redundant escape of ' inside string literal.
params[:shipping_method][:calculator_attributes][shipping_amount] = "\'20.0'"
^^
spec/system/admin/enterprise_fees_spec.rb:82:78: C: [Corrected] Style/RedundantStringEscape: Redundant escape of ' inside string literal.
fill_in("#{prefix}_calculator_attributes_preferred_flat_percent", with: "\'20.0'")
^^
spec/system/admin/enterprise_fees_spec.rb:140:42: C: [Corrected] Style/RedundantStringEscape: Redundant escape of ' inside string literal.
'preferred_flat_percent', with: "\'20.0'"
^^
1513 files inspected, 4 offenses detected, 4 offenses corrected
|
2023-11-17 09:03:32 +09:00 |
|
David Cook
|
668b102efc
|
Combine two specs for efficiency
|
2023-11-17 10:21:55 +11:00 |
|
Ahmed Ejaz
|
29eadedc3a
|
Merge branch 'master' into task/11067-admin_style_v3-product-clone
|
2023-11-17 03:45:54 +05:00 |
|
Filipe
|
ed8fd41bec
|
Merge pull request #11290 from cyrillefr/Orders_in_confirmation_state_cannot_be_completed_by_hub_or_shop
Fix Orders in confirmation state cannot be completed by hub or shop
|
2023-11-16 19:50:14 +00:00 |
|
Filipe
|
37436aab80
|
Merge pull request #11799 from murjax/enterprise-panel-navigation-6754
Fix navigation behavior on enterprise settings panel tabs
|
2023-11-16 17:56:49 +00:00 |
|
Maikel Linke
|
3e6db7fda4
|
Update spec of changed report link
The link now contains the local test server instead of some fake domain.
|
2023-11-15 10:29:05 +01:00 |
|