Maikel Linke
8d500a2c27
Remove superflouous login test helper
...
It was often used with a `visit` statement after which resulted in
unnecessary page loads. There was only one case where a `visit` was
expected but it wasn't needed either.
2023-04-17 10:56:51 +10:00
Jean-Baptiste Bellet
e74328f1d7
Add i18n for payment state key
...
+ update spec
2023-04-06 10:28:44 +02:00
Neal Chambers
940f806e5f
Fix Rubocop Layout/LineLength
2023-04-04 09:44:15 +09:00
filipefurtad0
25108f4c70
Removes all fixture files; asserts on downloaded file
...
Changes helper method to assert there is one file only
load_file_txt will be useful in other spec files too, and could probably be moved to spec/support/file_helper.rb
2023-03-29 16:24:21 +11:00
filipefurtad0
56b9c28955
Splits test cases into respective context blocks
...
Reduces code
2023-03-03 11:39:03 +00:00
filipefurtad0
b99383185b
Adds coverage for PDF file download
2023-03-01 14:32:35 +00:00
filipefurtad0
66485e2e16
Adds coverage for XLSX file download
2023-03-01 14:32:35 +00:00
filipefurtad0
c1b60d88d6
Adds coverage for CSV file download
2023-03-01 14:32:28 +00:00
Mohamed ABDELLANI
960dd81b76
remove customer id filter
2023-02-20 14:58:51 +01:00
Mohamed ABDELLANI
c43834915d
sales_tax_totals_by_order report
2023-02-20 14:19:08 +01:00
cyrillefr
f6f62515b5
Remove I18n keys in system admin specs
2023-02-16 14:33:09 +01:00
Filipe
d0897ec677
Merge pull request #10248 from jibees/10117-reports-in-order-cycle-customer-totals-incorrect-sorting-when-lastname-first-letter-isnt-capitalized
...
Reports, Orders and fulfillment: Sort by customer lastname + firstname case insensitive
2023-02-02 14:39:10 +00:00
Mohamed ABDELLANI
4822be532b
test Sales Tax Totals By Producer
2023-01-21 18:40:27 +01:00
Jean-Baptiste Bellet
8958fe4199
Orders and fulfilment: Sort by lastname + firstname case insensitive
2023-01-06 15:36:12 +01:00
Mohamed ABDELLANI
500c23ce27
fix failing tests after replacing "" with none
2022-12-05 10:03:56 +01:00
Mohamed ABDELLANI
005d5cafde
test if the rendering options are stored for every reports seperately and if they persiste after logout
2022-11-28 11:35:00 +01:00
Filipe
a7353eb69f
Merge pull request #9575 from apricot12/9487-Dimensions-Packing-Reports
...
Added HEIGHT, WEIGHT, WIDTH, DEPTH columns to packing reports by customer.
2022-11-10 09:55:26 +00:00
Nihal Mohammed
5c0f3a2d4b
Add weight, height, width, depth fields to pack by customer reports
...
+ update specs by adding dimensions fields into reports specs
2022-10-25 10:09:26 +02:00
Konrad
4a7ac45dba
Merge pull request #9830 from jibees/9821-remove-report_inverse_columns_logic-feature-toggle
...
Remove `report_inverse_columns_logic` feature toggle
2022-10-25 00:23:31 +02:00
Jean-Baptiste Bellet
02787e668f
Remove report_inverse_columns_logic feature toggle
...
Co-Authored-By: Maikel <maikel@email.org.au >
2022-10-24 11:12:22 +02:00
Maikel Linke
167ce0e53c
Expect report rows in random order
...
It's not deterministic which variant is shown first and therefore this
spec would fail from time to time.
2022-10-24 15:40:35 +11:00
Maikel Linke
c22f6cb805
Add more fields to revenue report as used by Aus
...
We currently maintain our own CSV generation script which could be
replaced if we got all this information here.
2022-10-18 12:51:13 +11: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
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
700f91efb5
Merge pull request #9449 from filipefurtad0/packing_report
...
Updates specs on Packing and Payment Reports
2022-08-09 14:56:22 +10:00
filipefurtad0
ce96094f49
Adds around block with time.freeze
2022-08-08 12:23:11 +01:00
filipefurtad0
116f503cf6
Updates Payments reports spec
2022-07-26 16:07:29 +01:00
filipefurtad0
023ebe1909
Asserts on pre-filling of dates; removes manual date selection
2022-07-26 16:07:29 +01:00
filipefurtad0
c57d5a2408
Updates spec to smoke-test Pack by Product
2022-07-26 12:49:08 +01:00
filipefurtad0
86b448445f
Adds test cases on Distributor Totals by Supplier
2022-07-22 14:05:33 +01:00
filipefurtad0
ba9ba7da95
Adds test cases to OC Supplier Totals by Distributor
2022-07-22 14:05:33 +01:00
filipefurtad0
f02e1ea04a
Adds test cases to Order Cycle Supplier Totals
2022-07-22 14:05:33 +01:00
filipefurtad0
f88b31ec67
Adds assertion on table headers for different sub-report types
2022-07-22 14:05:33 +01:00
filipefurtad0
6906dd47e8
Changes I18n to strings and cleans up Order Cycle Customer Totals
2022-07-22 14:04:58 +01:00
filipefurtad0
e44845c327
Creates system spec for orders and fulfilment report; adds existing test cases to this file
2022-07-04 11:08:54 +01:00
filipefurtad0
d63aca3129
Removes 'pending' after #9229 merge
2022-06-23 10:40:11 +01:00
filipefurtad0
be7d44a603
Updates payments_report_spec.rb
2022-06-23 10:24:20 +01:00
filipefurtad0
98eecb1b3e
Updates packing report spec
2022-06-23 10:24:20 +01:00
filipefurtad0
db8eb52359
Updates enterprise_summary_fee spec
2022-06-23 10:24:20 +01:00
filipefurtad0
54bcd75f3f
Corrects namespace; adds pending on failing examples - payment_r
2022-06-23 10:24:20 +01:00
filipefurtad0
32e247bf75
Removes spree namespace; adds pending on failing examples - packing_r
2022-06-23 10:24:20 +01:00
filipefurtad0
5892eab4e3
Removes spree namespace; adds pending on failing examples - enterprise_fee_r
2022-06-23 10:24:20 +01:00
Sebastian Castro
42da443901
Report Refactor 3: Enterprise FeeSummary
...
This one as actually not really been refactored, too much work to rewrite it so I just encapsulated the result within the new methods definitions
2022-05-12 16:54:14 +02:00
Sebastian Castro
3d1b61ae6e
Report Refactor 1: Products & Inventory
2022-05-12 16:54:13 +02:00
Sebastian Castro
881a708ecf
Report Refactor 1: Payments
2022-05-12 16:54:13 +02:00
Sebastian Castro
09247b21cd
Reports Refactor 1
...
Use code closer to the new packing report controller
Handle nil @report_subtypes
2022-05-12 16:54:12 +02:00
Matt-Yorkley
97b22ec65d
Update related specs
2021-11-04 14:55:23 +00:00
Matt-Yorkley
817f0942dd
Pull in reports POC work replacing Packing reports
2021-11-04 14:55:23 +00:00
filipefurtad0
2fa842e8f7
Update/move payments_report_spec into system
2021-10-25 12:11:56 +01:00