David Cook
a123d45eca
Fix spec
...
It's worth noting that this page hasn't been updated by this PR.
I honestly don't know why it broke, but don't care anymore. It seems the extra `login_as_admin_and_visit` was causing a race condition on one spec. It's not necessary so I've removed this context.
Best viewed with whitespace ignored.
2023-04-11 16:38:49 +10:00
Neal Chambers
940f806e5f
Fix Rubocop Layout/LineLength
2023-04-04 09:44:15 +09:00
Jean-Baptiste Bellet
5208094f05
Do not bulk send invoices if order is not 'complete' or 'resumed'
...
+ update specs as well
2023-02-27 14:30:59 +01:00
Jean-Baptiste Bellet
58ea3a10e8
Invert condition on can send invoice
2023-02-27 14:30:59 +01:00
Jean-Baptiste Bellet
5e61aa8a77
Create the bulk send invoice action in order list
...
using the same pattern than SendConfirmationEmail action
Co-Authored-By: David Cook <david@redcliffs.net >
2023-02-27 14:30:59 +01:00
Jean-Baptiste Bellet
af92b9f464
Reorganize spec by dividing into two contexts: 'admin' and 'hub manager'
2023-02-27 14:30:59 +01:00
cyrillefr
abf90b8437
Modify spec for orders
2023-02-07 15:40:40 +01:00
filipefurtad0
5d4ab5c1f8
Adds the bang! when updating DB entries
2023-01-31 12:20:26 +00:00
filipefurtad0
444d689f14
Adds ordering by order total
2023-01-30 20:12:38 +00:00
filipefurtad0
801ebe5819
Adds ordering by billing address name
2023-01-30 20:12:38 +00:00
filipefurtad0
7f4e5d3f2e
Adds ordering by customer name
2023-01-30 20:12:38 +00:00
filipefurtad0
107bb3df66
Adds ordering by shipment state
2023-01-30 20:12:38 +00:00
filipefurtad0
dcbf2ae96b
Removes assertions on the Loading element
2023-01-30 20:12:38 +00:00
filipefurtad0
f2c0a77641
Adds ordering by payment state
2023-01-30 18:39:51 +00:00
filipefurtad0
958a1bde9f
Adds ordering by order state
2023-01-30 17:35:23 +00:00
filipefurtad0
cff06011f1
Fixes rubocop issues; Adds ordering by order number
2023-01-30 17:21:29 +00:00
filipefurtad0
0e878d8ce1
Sets context for filters; Adds context for ordering
2023-01-30 17:08:03 +00:00
filipefurtad0
994232f6d1
Adds pagination test on orders page
2023-01-28 17:50:28 +00:00
filipefurtad0
fa96f7339d
Replaces URL with routing syntax
2023-01-23 11:35:53 +00:00
filipefurtad0
7dc14cc35a
Adds coverage for bulk pdf generation
...
and order cancelling
2023-01-20 18:31:33 +00:00
filipefurtad0
8bfb17144c
Filters by order state
2023-01-20 13:56:40 +00:00
filipefurtad0
f984cd89c2
Filters by invoice number
2023-01-20 13:14:23 +00:00
filipefurtad0
336210b898
Tests shipping methods filtering
2023-01-20 13:10:18 +00:00
filipefurtad0
f7d4d7595c
Filters by customer/billing address first and last names
2023-01-19 16:22:53 +00:00
filipefurtad0
28782775ad
adds filter by Email assertion
2023-01-19 16:22:53 +00:00
filipefurtad0
6f35b38fa8
Asserts on the correct display of orders
...
(for a given distributor)
2023-01-19 16:22:53 +00:00
filipefurtad0
9757ab2a6c
Creates customers and enterprise owners (users)
...
Fixes typo and removes unecessary js: true line
2023-01-19 16:22:53 +00:00
Maikel
79f602b4ea
Remove unnecessary spec line
2023-01-03 10:32:11 +01:00
Jean-Baptiste Bellet
ab39341192
Add permission management with cancancan
2023-01-03 10:32:11 +01:00
Jean-Baptiste Bellet
edc0c189df
Add spec for bulk "Resend email confirmation" action
2023-01-03 10:32:11 +01:00
Jean-Baptiste Bellet
73f55ae776
Implements daterangepicker for /admin/orders
...
+ update specs as well
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
77e384ab71
Replace button by a drop-down
...
+ update specs as well
2022-06-28 17:39:41 +02:00
filipefurtad0
3a4ce808e8
Removes js: true setting from system specs
2021-12-29 19:42:05 +00:00
Luis Azcuaga
e8fd89a6d2
Run rubocop over existing todo
2021-10-25 21:28:28 -05:00
filipefurtad0
6aed6f186d
Adds assertion on filtering by completion date
2021-09-30 17:29:43 +01:00
filipefurtad0
258f797680
Adds assertion on filtering by distributors
2021-09-30 17:01:25 +01:00
filipefurtad0
07e92d343c
Adds assertion on displaying complete but empty orders
2021-09-30 16:22:42 +01:00
filipefurtad0
4ba69850be
Adds assertion on en/dis-abling the Print Invoices button
2021-09-30 15:45:03 +01:00
filipefurtad0
3ee1cc9578
Adds assertion on en/dis-abling the Print Invoices button
2021-09-30 15:43:01 +01:00
filipefurtad0
6000d4c985
Declares variables with let! avoiding repedition (DRY)
2021-09-21 16:33:17 +01:00
filipefurtad0
536d4b9894
Updates orders_spec.rb into system spec
2021-09-21 15:58:45 +01:00