filipefurtad0
4e54279b05
Rearranges relevant and non-relevant test cases
2023-09-04 19:32:06 +01:00
David Cook
32c0b5a3e2
Remove unnecessary details
...
As far as I can tell we didn't need to specify these for the tests.
2023-09-01 12:04:27 +10:00
David Cook
381ce1c2b9
Simplify order definition
...
There only needs to be one order at a time, and it can be created on-demand. We can simply override it in the specs that need to.
2023-09-01 12:00:29 +10:00
filipefurtad0
e0031225d1
Covers order special instruction
2023-08-31 14:25:18 +01:00
filipefurtad0
3374c38d5c
Covers order state - cancelled, resumed - changes
2023-08-31 14:25:18 +01:00
filipefurtad0
301c070fc3
Covers order currency change
2023-08-31 14:25:18 +01:00
filipefurtad0
2e72fe1bce
Covers order number change
2023-08-31 14:25:18 +01:00
filipefurtad0
38eb84b1d8
Covers order total change
2023-08-31 14:25:18 +01:00
filipefurtad0
b0c362f75e
Corrects description, if the order didn't change
2023-08-31 14:25:18 +01:00
filipefurtad0
79a38345e9
Passes order as argument
...
to invoice comparator
2023-08-31 14:25:18 +01:00
filipefurtad0
a223675e74
Covers shipping method change
2023-08-31 14:25:18 +01:00
filipefurtad0
0540548893
Adds coverage for included/added taxes
...
at the order-object level
2023-08-31 14:25:18 +01:00
filipefurtad0
8d382f3de4
Corrects description
...
for order-level, non-relevant attribute change
2023-08-31 14:25:18 +01:00
Maikel
67d5ffdc54
Merge pull request #11475 from filipefurtad0/uncomment_i18n_inflections_spec
...
Uncomments pluralize test
2023-08-31 17:20:35 +10:00
filipefurtad0
6bc8a1a850
Uncomments pluralize test
2023-08-30 22:57:46 +01:00
Maikel
dea96fd3ab
Merge pull request #11469 from openfoodfoundation/dependabot/bundler/rubocop-1.56.2
...
chore(deps-dev): bump rubocop from 1.56.1 to 1.56.2
2023-08-30 12:14:36 +10:00
Konrad
077bb41412
Merge pull request #11348 from abdellani/fix-non-empty-orders-in-cart-state-not-appearing
...
fix Non-empty orders in the cart state do not appear in orders page
2023-08-29 15:33:49 +02:00
David Cook
ff3802fe69
Merge pull request #11457 from filipefurtad0/renames_knapsack_nodes
...
Renames Knapsack nodes
2023-08-29 21:04:43 +10:00
dependabot[bot]
091544583f
chore(deps-dev): bump rubocop from 1.56.1 to 1.56.2
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.56.1 to 1.56.2.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.56.1...v1.56.2 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-29 09:38:31 +00:00
David Cook
78585afc9c
Fix format
2023-08-29 16:00:26 +10:00
filipefurtad0
0d1f3f82fd
Balances build time
...
Two nodes were removed from models and three engines; these were and added to system_consumer and system_admin, respectively
2023-08-28 10:28:14 +01:00
filipefurtad0
3a6ca38432
Renames Knapsack nodes
2023-08-28 10:28:14 +01:00
Filipe
67fdc56270
Merge pull request #11427 from mkllnk/release-template
...
Generate all release note categories with labels
2023-08-28 10:04:57 +01:00
Maikel
cf8d5a584e
Merge pull request #11455 from openfoodfoundation/dependabot/npm_and_yarn/jasmine-core-5.1.1
...
chore(deps-dev): bump jasmine-core from 5.1.0 to 5.1.1
2023-08-28 11:51:36 +10:00
Maikel
7e44c75456
Merge pull request #11453 from dacook/buu-labels
...
Buu labels
2023-08-28 11:50:35 +10:00
Maikel
86842847ad
Merge pull request #11452 from dacook/flaky-spec-products_v3-11328
...
[Flaky] spec/system/admin/products_v3/products_spec.rb
2023-08-28 11:45:12 +10:00
Maikel
dd79761186
Merge pull request #11448 from openfoodfoundation/dependabot/bundler/aws-sdk-s3-1.134.0
...
chore(deps): bump aws-sdk-s3 from 1.133.0 to 1.134.0
2023-08-28 11:43:31 +10:00
Maikel
0b869f2abe
Merge pull request #11451 from mkllnk/flaky-voucher-specs
...
De-flake voucher specs by checking success
2023-08-28 11:16:43 +10:00
dependabot[bot]
00ea2e5b07
chore(deps-dev): bump jasmine-core from 5.1.0 to 5.1.1
...
Bumps [jasmine-core](https://github.com/jasmine/jasmine ) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/jasmine/jasmine/releases )
- [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md )
- [Commits](https://github.com/jasmine/jasmine/compare/v5.1.0...v5.1.1 )
---
updated-dependencies:
- dependency-name: jasmine-core
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-25 09:09:08 +00:00
David Cook
7d6ba2d31f
Clean up unneeded override
2023-08-25 17:23:05 +10:00
David Cook
451513ad04
Markup labels as.. labels
...
This means you can click on the label name to select the field, and accessibility software can read the label name. I was motivated to do this so that we could update the spec to use label text rather than IDs. But it seems we can't do that with tom-select.
I've updated the styles for all form labels (in admin_style_v3 toggle) to match the design.
2023-08-25 17:19:46 +10:00
Maikel Linke
200729f198
Show incomplete orders when sorting by name
...
An inner join with the billing address was hiding some orders when
sorting by billing address name. Telling Rails that those fields are
referenced triggers an outer left join including orders without billing
address.
But when the Bulk Order Management page sorts by `bill_address_lastname`
then Ransack does most of the magic, except that we need to override the
select in combination with distinct results.
2023-08-25 16:15:11 +10:00
David Cook
4d79cdb0ea
Ensure records are created before visiting the page
...
'let!' is executed in the same way as 'before', so it matters which order they are defined in.
For contexts with a single example, I just put it straight into the example.
2023-08-25 16:09:52 +10:00
Maikel Linke
d8da808901
Resolve pending spec, reported issue is fixed
2023-08-25 15:48:31 +10:00
David Cook
ccafdc4494
Remove redundant code
...
bill_address is already joined in this query.
The class variable isn't needed outside this scope.
Arguably I think the condition on the select isn't needed; it wouldn't hurt to always select spree_addresses. But I'll try to avoid changing too much..
2023-08-25 15:48:31 +10:00
Mohamed ABDELLANI
04312b05c6
add orders without billing address to SearchOrders#fetch_orders' results
2023-08-25 15:48:31 +10:00
David Cook
4f9651f5c9
Wait for pagination message to update
...
Hopefully this fixes openfoodfoundation/openfoodnetwork#11328
2023-08-25 14:52:50 +10:00
Maikel Linke
1a95476634
Combine some voucher system specs to save time
...
It also simplifies the spec code a bit not having a shared example.
2023-08-25 13:56:41 +10:00
Maikel Linke
233171a9ce
De-flake voucher specs by checking success
...
Vouchers are applied via a reflex and we need to check for success
before trying to navigate further. The new helper does this in a
consistent way.
2023-08-25 13:56:41 +10:00
Maikel Linke
4be38ba8da
Remove redundant system spec
...
System specs are expensive. And this spec just looked for the visibility
of certain elements while other tests actually use them and therefore
verify their function much more thoroughly.
2023-08-25 13:56:41 +10:00
Maikel
7414b5cbc9
Merge pull request #11397 from rioug/11331-add-required-field-dcf-enterprise
...
Add required enterprise fields to DFC API
2023-08-25 11:44:49 +10:00
Maikel
56f4eca79e
Update engines/dfc_provider/app/controllers/dfc_provider/addresses_controller.rb
...
Fix type in comment
Co-authored-by: David Cook <david@redcliffs.net >
2023-08-25 11:31:00 +10:00
Maikel
a7e2d23e3b
Merge pull request #11449 from openfoodfoundation/dependabot/bundler/knapsack_pro-5.6.0
...
chore(deps-dev): bump knapsack_pro from 5.4.1 to 5.6.0
2023-08-25 10:50:32 +10:00
David Cook
aea0a629ee
Merge pull request #11425 from macanudo527/fix_rails_activerecordoverride
...
Fix Rails/ActiveRecordOverride
2023-08-25 09:22:05 +10:00
dependabot[bot]
5b25fa80a2
chore(deps-dev): bump knapsack_pro from 5.4.1 to 5.6.0
...
Bumps [knapsack_pro](https://github.com/KnapsackPro/knapsack_pro-ruby ) from 5.4.1 to 5.6.0.
- [Changelog](https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v5.4.1...v5.6.0 )
---
updated-dependencies:
- dependency-name: knapsack_pro
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-24 23:01:05 +00:00
dependabot[bot]
61109259e4
chore(deps): bump aws-sdk-s3 from 1.133.0 to 1.134.0
...
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby ) from 1.133.0 to 1.134.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases )
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-ruby/commits )
---
updated-dependencies:
- dependency-name: aws-sdk-s3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-24 23:00:22 +00:00
Maikel
54e8df7c88
Merge pull request #11443 from openfoodfoundation/dependabot/bundler/ffaker-2.22.0
...
chore(deps): bump ffaker from 2.21.0 to 2.22.0
2023-08-25 08:56:34 +10:00
Maikel
0441453469
Merge pull request #11439 from mkllnk/unflake-customer-report-spec
...
Report customers in deterministic order
2023-08-25 08:54:21 +10:00
Neal Chambers
2bfa51cbb1
Fix Rails/ActiveRecordOverride
2023-08-25 08:51:27 +10:00
filipefurtad0
a39c465692
Update all locales with the latest Transifex translations
v4.4.9
2023-08-24 21:36:53 +01:00