filipefurtad0
598f69f42f
Clears cache around examples
...
for specs testing cache
2023-06-15 11:28:01 +01:00
Maikel Linke
9bd6615dad
Change spec to "unhide" customers on create
2023-06-15 12:02:45 +10:00
Mohamed ABDELLANI
298ae8ffc3
set create_manualll flag if the customer already exists
2023-06-15 12:02:45 +10:00
Mohamed ABDELLANI
ebc3073604
use Customer#visible on the customers listing endpoints
...
Update app/models/customer.rb
Co-authored-by: Maikel <maikel@email.org.au >
Update spec/models/customer_spec.rb
Co-authored-by: Maikel <maikel@email.org.au >
Update spec/models/customer_spec.rb
Co-authored-by: Maikel <maikel@email.org.au >
authorize created_manually field to be set on APIv1
2023-06-15 12:02:45 +10:00
Matt-Yorkley
93df70c0a7
Use order total excluding discounts in voucher calculations
2023-06-14 10:19:30 +01:00
Matt-Yorkley
11382a518e
Fix test setup in BOM spec
2023-06-14 10:19:30 +01:00
Matt-Yorkley
a0d0f8fd2f
Tidy up checkout tax spec
2023-06-14 10:19:30 +01:00
Maikel Linke
c2605b2606
Display loading spinner before quick reports
...
We had a race condition that could first display the report and then
replace it again with the "loading" spinner. That doesn't seem to happen
now that we changed the order of cable events.
2023-06-14 15:40:52 +10:00
Matt-Yorkley
074eb4b592
Move tax charge logic out of checkout controller and update payment transition
2023-06-13 17:53:46 +01:00
Matt-Yorkley
8d633234f4
Set voucher specs to pending temporarily
2023-06-13 14:58:16 +01:00
Matt-Yorkley
0e289a23c1
Set some legacy checkout specs that we might want to rewrite later to pending
2023-06-13 14:58:16 +01:00
Mohamed ABDELLANI
7e84579aa3
spec/system/consumer/shopping/checkout_stripe_spec
...
these tests are using the legacy checkout
2023-06-13 14:58:16 +01:00
Mohamed ABDELLANI
bd0e7cdfc8
remove legacy checkout tests
2023-06-13 14:58:16 +01:00
Sigmund Petersen
c2305615a6
Merge pull request #10971 from filipefurtad0/mouse_hover_spec
...
Adds spec for tooltips on orders page
2023-06-12 09:53:16 +02:00
Konrad
fc09f95fa1
Merge pull request #10961 from jibees/10946-white-label-trix-editor-changes-on-the-custom-tab-content-do-not-trigger-the-update-button
...
[WhiteLabel] Make update button active when changing custom tab content
2023-06-09 21:46:02 +02:00
Konrad
13037d2d9d
Merge pull request #10949 from jibees/10630-buu-as-an-enterprise-user-i-can-see-the-back-office-with-new-brand-colours
...
[`admin_style_v3`] As an enterprise user i can see the back office with new brand colours
2023-06-09 21:24:01 +02:00
Konrad
d0f4c44add
Merge pull request #10938 from jibees/10931-white-label-custom-tab-without-a-title-impossible-to-disable-the-custom-tab
...
[White Label] Validate the presence of a custom tab title before creating it (+ max 20 characters length)
2023-06-09 19:01:13 +02:00
Konrad
502b5e8664
Merge pull request #10937 from jibees/10900-white-label-remove-ofn-navigation-for-small-width-screens
...
[White Label] Remove ofn navigation for small width screens as well when option is activated
2023-06-09 16:28:22 +02:00
filipefurtad0
24913476ac
Adds spec for tooltips on orders page
2023-06-09 11:23:42 +01:00
Maikel Linke
ec865627d2
Wait for page setup to avoid flaky spec
...
I'm hiding a real bug here. There's a race condition when the cable event of
the finished report is sent before the loading spinner rendered. The
spinner then overwrites the report again. I added a spec for that but
don't have a solution yet.
I also noticed that the loading spinner is not displayed in testing but
we can assert on the CSS class of the container.
2023-06-09 16:22:01 +10:00
Jean-Baptiste Bellet
74fd1814e4
Create a trixeditor controller and broadcast a change event on form
...
Therefore, AngularJS can set form as dirty
+ add associated spec
2023-06-09 08:03:17 +02:00
Matt-Yorkley
7caf4b03d4
Improve flakyness on report specs
2023-06-09 14:44:53 +10:00
Matt-Yorkley
b230b37284
Update report email spec
2023-06-09 14:44:53 +10:00
Matt-Yorkley
f4261b85b8
Merge pull request #10940 from Matt-Yorkley/order-tidyup
...
Order class tidyup
2023-06-08 15:06:59 +01:00
Filipe
7974e1eaa6
Merge pull request #10936 from abdellani/fix-order-progressing-automatically-on-BOO
...
fix Viewing an order in state "confirmation" changes the state to "complete"
2023-06-08 14:50:04 +01:00
Jean-Baptiste Bellet
d1d050e6a4
Limit size to 20 char for the custom tab title
2023-06-08 11:27:07 +02:00
David Cook
e2ba18f828
Set sentence case tab names in Ruby instead of CSS
...
I chose .capitalize instead of .humanize, because the latter has extra features which may not be desired.
2023-06-08 11:24:44 +02:00
Maikel Linke
4ecbbae55e
Adapt large browser window as default
...
We were really close to that anyway. It simplifies the code a bit.
2023-06-08 13:51:29 +10:00
Maikel Linke
7cf68cd33b
Ensure that specs restore default window size
2023-06-08 13:51:25 +10:00
Maikel Linke
241b307762
Fix typos
2023-06-08 11:34:05 +10:00
Matt-Yorkley
b58b555e38
Improve flaky spec
2023-06-07 13:01:37 +01:00
Matt-Yorkley
968bf882c4
Fix flaky spec
2023-06-07 13:01:37 +01:00
Matt-Yorkley
daf243996b
Improve flaky spec
2023-06-07 13:01:37 +01:00
Matt-Yorkley
7a7ab17db4
Improve customer tests
2023-06-07 13:01:37 +01:00
Matt-Yorkley
6daf29400f
Improve distribution and line items tests
2023-06-07 13:01:37 +01:00
Filipe
2d28a57c6f
Merge pull request #10922 from jibees/10903-white-label-make-logo-url-link-more-tolerant-in-terms-of-format-and-add-example
...
[White Label] Make logo url link more tolerant in terms of format
2023-06-07 10:00:31 +01:00
Matt-Yorkley
67c3e09dba
Use RESTful routes for orders controller actions
2023-06-07 00:35:47 +01:00
Jean-Baptiste Bellet
7dc8c4b891
Hide OFN navigation also on small width screens
2023-06-06 14:55:41 +02:00
Jean-Baptiste Bellet
a8b85a65e9
Add context for visiting a path
2023-06-06 14:44:05 +02:00
Jean-Baptiste Bellet
5c3e07db52
Test that OFN navigation is on mobile views as well
2023-06-06 14:44:05 +02:00
Matt-Yorkley
a62e51c0d0
Remove Order #refresh_shipment_rates method
2023-06-05 23:54:04 +01:00
Jean-Baptiste Bellet
1594d1c718
Validate custom tab title
2023-06-05 15:41:33 +02:00
Jean-Baptiste Bellet
abe63e5b04
Add context for visiting a path
2023-06-05 12:08:43 +02:00
Jean-Baptiste Bellet
ccb183d60b
Sort by order_date desc for line_items in BOM
...
+ update spec to have different order time
2023-06-05 10:05:09 +02:00
Maikel Linke
38bd31d0e3
Style Layout/TrailingWhitespace
2023-06-05 10:42:21 +10:00
Jean-Baptiste Bellet
880ba85791
Add http to white label logo link if this do not start with http
2023-06-01 17:37:05 +02:00
Jean-Baptiste Bellet
ced8f8aa58
Use shared_examples as we will test many URLs later on
...
"It's a Surprise Tool That Will Help Us Later"
2023-06-01 17:37:05 +02:00
Filipe
12159edaca
Merge pull request #10833 from Matt-Yorkley/order-angular
...
Remove Angular from admin orders index page
2023-06-01 13:57:39 +01:00
Matt-Yorkley
a20277c3a7
Completely remove option_values and option_types from the codebase
2023-06-01 10:12:19 +01:00
Filipe
2d4d8e26f5
Merge pull request #10875 from jibees/10561-allow-user-to-create-custom-tab-in-shop-navigation
...
[White Label] Allow user to create custom tab in shop navigation
2023-06-01 07:21:25 +01:00