|
|
d9d9263824
|
test(admin): complete remaining admin behavior tests
Add tests for:
- Background jobs: ECS filtering, job start prevention, ECS launch (21.3, 22.4, 22.5)
- History: invalid entity ID, date formatting, nil values, inline history, no pagination, inspector recursion (23.2, 24.2, 24.4, 24.5, 24.7, 25.2)
- Import batches: date/source filtering, sorting, pagination (27.1, 27.2, 28.1, 28.2)
- Excel invoices: parsing, client/vendor/account resolution, grouping, cash/non-cash invoices (30.1-30.7)
- Sales summaries: date filtering, client scoping, account typeahead, credit/debit validation, save behavior (32.1, 32.2, 33.5, 33.7-33.9)
- Cross-cutting: admin access control, audit history, impersonation, form validation, Solr indexing (34.1-38.2)
All 48 admin tests passing with 345 assertions.
|
2026-05-07 01:48:20 -07:00 |
|
|
|
ddbb6abc3a
|
test(admin): implement integration and unit tests for admin behaviors
Implement comprehensive test coverage for admin dashboard behaviors:
- Dashboard access control (2.1, 2.2)
- Client filtering by name, code, group (4.1-4.5)
- Client sorting and pagination (5.1-5.3)
- Client wizard validation (6.12, 6.17, 6.18, 6.20)
- Account filtering, sorting, and dialog validation (9.1-11.9)
- Vendor filtering and wizard validation (13.1-14.12)
- Vendor merge validation (15.2, 15.3)
- Transaction rule filtering, wizard, execution, and deletion (17.1-20.3)
Also fixes vendor terms override duplicate validation in vendors.clj.
|
2026-05-06 23:00:25 -07:00 |
|
|
|
1a48abdd7c
|
test(invoice): implement integration tests for invoice behaviors
Adds comprehensive integration tests covering:
- Invoice list filtering (vendor, account, date range, due date, amount, import status, scheduled payments, unresolved, location)
- Invoice list sorting (date, invoice number, due date, total, outstanding balance, vendor, client, location)
- Invoice list pagination (default 25, custom per-page)
- Selection behaviors (select all filtered)
- Permission gates (GraphQL layer behavior)
- Lock date behaviors (edit, void, unvoid, undo autopay, bulk operations)
- Single/Bulk void with payment exclusions
- Bulk edit with lock date exclusions
- Credit payment (net zero, multiple vendors blocked, positive balance blocked)
- Import validation (missing fields, unmatchable vendors, no client access)
- Import approve/disapprove
- Legacy route redirects
Updates docs/testing/behaviors/invoice.md with 76 completed behavior markers.
57 tests, 99 assertions, all passing.
|
2026-05-05 05:00:51 -07:00 |
|
|
|
ececdc8f5f
|
test(invoice): add integration tests for invoice behaviors
- Fix schema ordering: move :journal-entry-line/running-balance to schema.edn
- Add invoice_behaviors_test.clj covering:
- Permission gates (26.5, 26.6, 26.8)
- Lock date blocking (27.1, 27.3)
- New invoice validation (8.1, 8.5)
- Edit invoice (11.1, 11.3)
- Bulk edit (15.4)
- Single/bulk void (16.3, 16.4, 17.1)
- Unvoid restoring from history (18.1)
- Undo autopay (19.1)
- Invoice list filtering (2.6, 2.8, 2.10, 2.14)
- Invoice list sorting (3.5, 3.7, 3.10)
- Invoice list pagination (4.1, 4.3)
- Legacy route redirects (28.1)
- Mock Solr in wrap-setup fixture to prevent Connection refused
- Fix setup-test-data to merge user-provided entities with defaults
- Fix InMemSolrClient.index_documents to handle entity IDs
- Fix ezcater_xls test to use dynamic entity IDs
- Update invoice.md behavior checklist with completed items
|
2026-05-04 23:10:46 -07:00 |
|
|
|
8063a8fcbd
|
Builds client SSR approach, sunsets old cljs.
|
2024-02-07 21:22:56 -08:00 |
|
|
|
3d9d02f76a
|
a bunch of cleanup to remove stuff
|
2023-10-14 23:37:04 -07:00 |
|
|
|
12c676629d
|
Bulk coding works on multiple clients
|
2023-09-14 21:48:00 -07:00 |
|
|
|
c98766873e
|
fixes tests.
|
2023-08-31 23:43:19 -07:00 |
|
Bryce
|
5b5b15cb27
|
Makes plaid user configurable
|
2023-07-24 20:55:40 -07:00 |
|
Bryce
|
de6c6b3031
|
working on solr stuff.
|
2023-06-06 21:08:19 -07:00 |
|
|
|
3ce9cceee0
|
Fixes a few issues discovered
|
2023-05-13 23:36:14 -07:00 |
|
|
|
8bd73b8a98
|
Removes docjure, freeing space
|
2023-05-10 10:39:58 -07:00 |
|
|
|
05f1f009fd
|
Adds cloud approach to reading excel
|
2023-05-09 16:32:00 -07:00 |
|
|
|
c52444499f
|
adds alternative ezcater solution.
|
2023-05-05 15:10:39 -07:00 |
|
|
|
f2025c2e65
|
made cloud tests work again.
|
2023-05-01 20:21:58 -07:00 |
|
|
|
611af7f9bb
|
making tests work again.
|
2023-05-01 09:42:06 -07:00 |
|
|
|
b2ad7790cf
|
Migrates back to datomic on-prem
|
2023-04-29 07:12:51 -07:00 |
|
|
|
8dae0fde10
|
(cloud) fixes issues encountered in testing.
|
2023-04-24 21:05:54 -07:00 |
|
|
|
ed37b19d6a
|
Makes transaction pencil much faster.
|
2023-04-07 20:38:02 -07:00 |
|
|
|
ff2891204f
|
merge fixes
|
2023-04-04 13:24:23 -07:00 |
|
|
|
8fcfe9e880
|
merged.
|
2023-04-04 13:11:25 -07:00 |
|
|
|
9745cc4f3b
|
Makes cintas import work
|
2023-04-04 12:48:37 -07:00 |
|
|
|
68e809d8fb
|
(cloud) experimental approach to ensure the ledgers do not get out of sync
|
2023-04-02 07:45:12 -07:00 |
|
|
|
5df47c8837
|
(cloud) running balance update way more streamlined now
|
2023-03-30 16:44:25 -07:00 |
|
|
|
3a126e0b23
|
Merged vendor tests, got them working
|
2023-03-27 16:59:15 -07:00 |
|
|
|
24366058cf
|
merged vendor test
|
2023-03-27 16:17:51 -07:00 |
|
|
|
17841934a5
|
makes all invoice operations work again
|
2023-03-27 14:11:20 -07:00 |
|
|
|
ca45795b11
|
More test coverage, also found a bug where bulk voided invoices were not unvoidable
|
2023-03-27 13:25:43 -07:00 |
|
|
|
e3fbc50e6a
|
merged
|
2023-03-27 07:51:53 -07:00 |
|
|
|
8d6832e1fe
|
added more tests.
|
2023-03-27 07:51:14 -07:00 |
|
|
|
bcd9698eb6
|
merged.
|
2023-03-26 20:43:46 -07:00 |
|
|
|
4fccb47082
|
Adds tests for transactions
|
2023-03-26 20:32:44 -07:00 |
|
|
|
e6a2626312
|
print checks tests.
|
2023-03-25 15:34:26 -07:00 |
|
|
|
7562213e97
|
merged.
|
2023-03-25 15:30:46 -07:00 |
|
|
|
5e9f480790
|
Added check printing test
|
2023-03-25 15:27:43 -07:00 |
|
|
|
8508fbe70c
|
progress on making check tests work.
|
2023-03-24 16:11:18 -07:00 |
|
|
|
eb7394b42b
|
account tests.
|
2023-03-24 15:34:43 -07:00 |
|
|
|
bfa04ef83f
|
got accounts working
|
2023-03-24 15:34:14 -07:00 |
|
|
|
21f4dee7b2
|
account tests.
|
2023-03-24 15:25:26 -07:00 |
|
|
|
1057a263a9
|
made user test pass.
|
2023-03-24 14:45:15 -07:00 |
|
|
|
5b694cec63
|
Merge branch 'master' into port-datomic-cloud
|
2023-03-24 14:01:53 -07:00 |
|
|
|
f82bb2dc6b
|
user testing
|
2023-03-24 14:01:01 -07:00 |
|
|
|
4f94602716
|
fixes issues with a neverending search. Also fixes client saving to match normal test.
|
2023-03-24 13:01:33 -07:00 |
|
|
|
e810612fbb
|
(cloud) makes ledger running balances fast and smooth
|
2023-03-24 11:02:17 -07:00 |
|
|
|
7635237605
|
Fixes broken test
|
2023-03-24 11:01:08 -07:00 |
|
|
|
1497549d64
|
All tests pass again.
|
2023-03-24 11:00:02 -07:00 |
|
|
|
9260834135
|
scrubbed all reference to datomic.api
|
2023-03-24 10:59:06 -07:00 |
|
|
|
58b9dcf272
|
Added test for client graphql
|
2023-03-24 10:54:19 -07:00 |
|
|
|
9ab70b869b
|
Makes invoice reject accounts that cannot be used.
|
2023-02-04 20:15:19 -08:00 |
|
|
|
f7d5454d2c
|
Makes a vendor account acceptable even if the invoice account isn't.
|
2023-02-04 19:57:42 -08:00 |
|