Rachel Arnould
e98d4af630
Merge pull request #9659 from saunmanoj888/fix-bulk-product-update-unit-value
...
Allow to change unit value for numbers with a comma separator on bulk product update
2022-09-21 13:04:08 +02:00
Maikel
a4de128a76
Merge pull request #9674 from filipefurtad0/wicked_pdf_config
...
Makes wicked-pdf config ENV-dependent
2022-09-21 13:16:41 +10:00
Maikel
fe2e510fdc
Merge pull request #9621 from filipefurtad0/invoice_spec_to_account_for_tax_ordering
...
Invoice spec to account for tax ordering
2022-09-21 10:14:07 +10:00
Maikel
5173ddb7a0
Merge pull request #9675 from filipefurtad0/split_build_consumer_tests
...
Makes build run all specs; fixes failing specs
2022-09-20 11:20:52 +10:00
Filipe
bd698f5d81
Merge pull request #9683 from filipefurtad0/customer_query_superadmin_spec
...
Spec reproducing failing customer query, as superadmin
2022-09-19 15:53:07 +01:00
filipefurtad0
7e168fad02
Spec reproduing failing customer query, as superadmin
2022-09-19 14:11:13 +01:00
Jean-Baptiste Bellet
7186526dc6
Fix block too long warnings
2022-09-19 09:26:34 +02:00
filipefurtad0
8c8b262ea1
Sets examples pending and dry running with xit
2022-09-16 15:24:51 +01:00
filipefurtad0
6ae741936f
Scrolls down the page to enable finding element
2022-09-16 15:24:39 +01:00
Jean-Baptiste Bellet
cf8bab97e8
Fix spec by not raising the error image not found
...
`GET http://localhost:3000/throbber.gif 404 (Not Found)`
In the meantime, open an issue to remove jquery.jstree from this page: 9677
2022-09-16 11:04:08 +02:00
Jean-Baptiste Bellet
ba2ad4a0c4
Since #9126 , replacing Paperclip with ActiveStorage, some methods changed
2022-09-16 10:51:04 +02:00
Jean-Baptiste Bellet
4a8dc37b40
Since #9087 , we don't use a boolean but an enum, 'public' or 'hidden'
2022-09-16 10:02:27 +02:00
Jean-Baptiste Bellet
3942c4d808
Fix failing spec: since #9606 we use tom-select
2022-09-16 09:32:34 +02:00
filipefurtad0
bc1ae01eb6
Updates invoice_spec to A3 page size setting
...
Separates display_as in assertion to prevent line break failures
2022-09-15 14:34:15 +01:00
filipefurtad0
e54acf3ca0
Changes tax parcels into the correct order
...
This should fail now, adding pending example on next commit
Wraps failing assertions around pending block
Addresses rubocop Style/LineEndConcatenation convention
Removes pending blocks
2022-09-14 08:02:45 +01:00
saunmanoj888
498d003684
Add unit specs for the js changes for unit_value
2022-09-13 23:28:27 +05:30
binarygit
90f4b1328b
Remove angular from shipping methods tab in enterprise/edit
2022-09-13 15:20:33 +05:45
Jean-Baptiste Bellet
86cb86e8b5
Add a flash error where no available shipping methods to the customer
...
+ update specs as well
2022-09-12 09:42:26 +02:00
Jean-Baptiste Bellet
9dd3a8bc5a
Store all distributors shipping methods to one array
2022-09-12 09:42:26 +02:00
Maikel
68256346e7
Merge pull request #9644 from filipefurtad0/fix_flaky_search
...
Splits tests into existing/non-existing shops
2022-09-12 14:05:49 +10:00
Maikel
44bf63137a
Merge pull request #9606 from binarygit/remove-angular-from-address
...
Remove Angular from Address Tab
2022-09-12 13:49:54 +10:00
filipefurtad0
215f3e97ad
Splits tests into existing/non-existing shops
...
Sets failing tests as pending for issues #9649 and #5467
2022-09-09 13:08:45 +01:00
jibees
9563dd6c51
Merge pull request #9497 from jibees/9493-fix-issues-around-rounding-in-imperial-metric-system
...
Avoid floating rounded errors when using imperial or metric system
2022-09-08 16:34:12 +02:00
Rachel Arnould
aa36986d66
Merge pull request #9521 from jibees/create-new-report-revenues-by-hub
...
Create a new report that shows revenues (incl. or excl. taxes) by hub only available for super-admin
2022-09-08 16:10:14 +02:00
Jean-Baptiste Bellet
53978de632
Create a new report that show revenues (incl. or excl. taxes) by hub
...
+ Create spec
2022-09-08 09:04:44 +02:00
Maikel
d9f5f7995d
Merge pull request #9611 from mkllnk/9605-tax-total
...
Index tax totals correctly for invoice display
2022-09-08 12:04:19 +10:00
Maikel
f201b9fd11
Merge pull request #9631 from mkllnk/9153-tax-recalculation
...
[Split Checkout] Recalculate tax on summary step
2022-09-08 11:39:44 +10:00
Jean-Baptiste Bellet
d53b2b94b9
When creating new product via /admin/products/new use BigDecimal
...
to avoid bad rounded multiplication
example here:
700*0.001 = 0.7000000000000001
+ update specs as well
2022-09-07 09:17:46 +02:00
Maikel
21054c1a8a
Merge pull request #9594 from binarygit/remove-angular-from-primary-details
...
Remove Angular from Primary Details Tab
2022-09-06 10:17:14 +10:00
Maikel Linke
1d04510365
Update totals on summary step
2022-09-05 15:54:33 +10:00
Maikel Linke
6c7a089527
Recalculate tax on summary step
2022-09-05 15:14:08 +10:00
binarygit
abbb61b943
Remove country controller from enterprises/new and Business Details tab
2022-09-05 09:52:27 +05:45
binarygit
36b5cb3b49
Replace country controller with dependent select in address tab
2022-09-05 09:52:27 +05:45
Maikel Linke
eaca953106
Create only required test data for speed
...
It reduced the execution time by 5% on my machine (2-3 seconds).
2022-09-05 13:42:47 +10:00
Maikel Linke
cc5125f49e
Apply related db assertions in tax spec
...
Somehow the helper methods were testing two different orders even though
each spec is using only one order, the one which is currently being
checked out by the user.
So I brought the code closer into the example to easier see what is
related and tested.
I also changed the assertions for the pending spec but can't really
verify them yet until I have completely working code.
2022-09-05 11:40:47 +10:00
Maikel Linke
3f2b3b88eb
Re-use in-memory test objects
...
And reduce code by referring to objects instead of just ids.
2022-09-05 10:59:15 +10:00
Maikel
b0a4fcdc26
Merge pull request #9598 from mkllnk/spec-typos
...
Correct typo in spec which lead to flakiness
2022-09-01 11:39:38 +10:00
Maikel Linke
326b0af35f
Sort tax total by percentage on invoice
2022-09-01 11:19:02 +10:00
Maikel Linke
91eaa522cf
Simplify tax totals helper
2022-08-31 16:47:04 +10:00
Maikel Linke
2a57dc9766
Index tax totals correctly for invoice display
2022-08-31 16:47:04 +10:00
Maikel Linke
f37b681fac
Allow more tax data in the summary
...
I converted the value to a hash so that we can put all information in
there and we won't need the current hash key as percentage any more.
2022-08-31 16:47:04 +10:00
Maikel Linke
f4466b1aad
Spec problem with tax rate summary display
2022-08-31 16:47:04 +10:00
Maikel Linke
33feb7f63f
Test for explicit values, not reusing faulty code
2022-08-31 16:47:04 +10:00
binarygit
8861b6d077
Replace permalinks angular ctrl with stimulus
2022-08-31 10:06:51 +05:45
binarygit
52b1f40acb
Replace select2 with tom-select in primary details tab
2022-08-31 10:06:51 +05:45
filipefurtad0
e0a20bf8af
Adds specific tax rates to each type of cost
2022-08-29 17:36:39 +01:00
Maikel Linke
bf3da0531e
Correct grammar in spec description
2022-08-29 14:43:43 +10:00
Maikel Linke
3a365b6dc6
Remove useless braces
2022-08-29 14:42:11 +10:00
Maikel Linke
ee7dc821ca
Correct typo in spec which lead to flakiness
...
I'm not sure why this spec passed on CI when it was retried but it was
obviously wrong. Correcting that copy&paste error seems to make the spec
pass.
2022-08-29 14:39:43 +10:00
Maikel
bba665e2e1
Merge pull request #9577 from filipefurtad0/invoice-spec
...
Moves invoice_spec.rb into /system; sets :rack_test as webdriver
2022-08-29 11:34:20 +10:00