Jean-Baptiste Bellet
cdf71b419f
Search within all enterprises if user is the super admin
2022-09-29 09:30:21 +02:00
filipefurtad0
e00a59212c
Fixes invert columns logic on reports spec
2022-09-28 11:49:20 +01:00
filipefurtad0
538844a1fb
Removes _visible: true_ from system specs
2022-09-27 17:32:25 +01:00
filipefurtad0
7b33405530
Replaces translation with actual string
...
DRY: creates update_and_assert_message
2022-09-23 13:00:39 +01:00
filipefurtad0
6e3c0858c1
Adds decimal and thousands separator test
2022-09-23 12:47:18 +01:00
filipefurtad0
fb8d2827d2
Adds number localization preferences test
2022-09-23 12:03:18 +01: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
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
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
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
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 Linke
33feb7f63f
Test for explicit values, not reusing faulty code
2022-08-31 16:47:04 +10:00
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
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
filipefurtad0
f47d86c15b
Sets cuprite as default; sets rack_test in before/after blocks
2022-08-17 23:25:02 +01:00
Filipe
ae391f8af4
Merge pull request #9414 from Philwi/user-generates-api-key
...
Let users view and regenerates api key
2022-08-17 21:36:13 +01:00
Filipe
d3f1d4a5f9
Merge pull request #9529 from Philwi/make-the-shop-url-clickable
...
Make the shop url clickable
2022-08-17 20:47:07 +01:00
Filipe
cedfa35a98
Merge pull request #9341 from jibees/9336-redirect-to-login_path-if-user-is-disabled
...
Disabled_at logic: redirect to login path if user is disabled
2022-08-17 20:33:57 +01:00
Filipe
b992daa1d8
Merge pull request #9510 from binarygit/convert-enterprises/edit-page-to-stimulus
...
Convert enterprises/edit page to stimulus
2022-08-17 18:11:59 +01:00
Maikel Linke
41ef2a4ea5
Run invoice spec as feature spec
2022-08-17 16:30:57 +10:00
filipefurtad0
077479346e
Moves invoice_print_spec into system
2022-08-17 16:21:54 +10:00
Filipe
5c41022f76
Merge pull request #9165 from filipefurtad0/tax_split_checkout
...
[Split Checkout] Adds spec to test Tax charges (repoducing issue #9153 )
2022-08-16 19:30:32 +01:00
Maikel Linke
56d8d1eaf7
Scope helper methods to relevant test cases
...
Global methods are usually not a good idea.
2022-08-15 17:34:21 +01:00
Maikel
a3fa4a0d3e
Merge pull request #9543 from filipefurtad0/remove_selenium_webdriver
...
Removes selenium-webdriver and webdriver gems; updates spec_helper
2022-08-15 17:34:46 +10:00
Maikel Linke
d86aeaa22a
Remove unnecessary after-spec code
2022-08-15 16:51:53 +10:00