David Arnold
c67c1b05cb
ci: run each test individually (fix) ( #28107 )
2024-10-13 01:38:23 +00:00
David Arnold
0e1978e5f4
ci: run each test individually ( #28106 )
2024-10-13 01:21:31 +00:00
David Arnold
ee1469a045
ci: erpnext lazy loading test records ( #28080 )
2024-10-13 01:22:18 +02:00
David Arnold
0204db6547
chore: move to use new test record api ( #28105 )
2024-10-12 23:13:41 +00:00
David Arnold
5dd330cef2
fix(testing): record creation output; only visit missing once ( #28104 )
2024-10-13 00:53:34 +02:00
David Arnold
cc1ddb975f
fix(test): Enhance test record syncing and logging functionality ( #28094 )
...
- Add reset option to clear existing test objects
- Clearly distinguishe between index doctype and record doctype
- Optimize record retrieval from test log, fix record pool layout
- Implement removal of doctype records from test log
- Enhance logging with record count information
2024-10-13 00:04:43 +02:00
David Arnold
9d63208c9c
fix: test record generation ( #28102 )
...
* chore: improve log record of testing command invokation
* chore(testing): narrower specificacion of the persistence log
* fix(testing): append raw record source data to globalTestRecords
2024-10-12 22:31:40 +02:00
David Arnold
3e3ebd2593
style: test class & module output capture ( #28096 )
2024-10-11 23:24:01 +00:00
David Arnold
1b00b5c723
fix(testing): variable naming for clarity ( #28095 )
2024-10-11 20:32:46 +00:00
David Arnold
4abc13b33c
refactor: improve test record generation and logging ( #28092 )
...
- Rename functions for clarity
- Enhance logging with more detailed messages
- Refactor record creation process for better organization
- Improve handling of record synchronization and caching
2024-10-11 18:20:35 +00:00
David Arnold
da561ff749
docs: clarify the code path, add comments ( #28090 )
2024-10-11 15:58:40 +00:00
David Arnold
4a65637c4a
fix: persistent per-site test record creation log file name ( #28089 )
...
* fix: persistent per-site test record creation log file name
* fix: persistent per-site test record creation log erasure
2024-10-11 13:20:27 +02:00
Suraj Shetty
2e8272cd89
fix: Copy to clipboard ( #28088 )
2024-10-11 10:12:11 +00:00
Ponnusamy
faefcd12b9
feat: in filed date & time calculations; eg 2024-12-01 + 5d ( #27534 )
...
* feat: add and subtract datetime
* fix: time picker doesn't show correct value
* style: pre-commit
* Revert "fix: time picker doesn't show correct value"
This reverts commit e0650d11252462cba4a9296aa9a4ea8f256c503a.
2024-10-11 10:38:24 +02:00
Akhil Narang
fe3e22efc9
Merge pull request #28073 from akhilnarang/guess-fieldtype-total-row
...
chore(add_total_row): guess fieldtype from cell data type if not defined
2024-10-11 11:35:04 +05:30
David Arnold
bd07ae994d
feat: may copy MappingProxyType ( #28083 )
2024-10-11 04:01:23 +00:00
David Arnold
c9eb0475cf
docs: reduce verbosity of deprecation messages ( #28082 )
2024-10-10 17:09:33 +00:00
David Arnold
d6fb73aa3d
ci: support downstream erpnext migration within exception code path ( #28081 )
2024-10-10 19:01:59 +02:00
David Arnold
788f71e259
fix: rebasing oversight in test record persistent logger ( #28078 )
...
* fix: rebasing oversight in test record persistent logger
* perf: make test record log append-only jsonl log
2024-10-10 14:55:34 +00:00
Sumit Bhanushali
7d19631d85
Merge pull request #28074 from frappe/success_action_fix
...
fix: render of multicheck for success action
2024-10-10 17:43:12 +05:30
Sumit Bhanushali
a8c338a299
fix: render of multicheck for success action
2024-10-10 17:29:10 +05:30
Akhil Narang
dea09e5384
chore(add_total_row): guess fieldtype from cell data type if not defined
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-10-10 17:13:02 +05:30
David Arnold
443c38daa9
refactor: toml test records for readability ( #28065 )
...
* refactor: toml test records for readability
* fix: maintain backwards compatibility
* refactor: transform in-tree records
* chore: don't use deprecated functions (treewide)
* chore: revert migration of tests which depend on old test records list
* feat: add cls.globalTestRecords on IntegrationTestCase
2024-10-10 13:24:02 +02:00
Khaled Bin Amir
afd5d73a5b
doc: Add ABBR variable to help text of doc naming settings ( #27809 )
...
* Add ABBR variable in naming settings
* Update document_naming_settings.json
2024-10-10 10:04:40 +00:00
David Arnold
b53ec634c2
docs: log test record creation into testing log ( #28071 )
2024-10-10 10:02:03 +00:00
David Arnold
3873580bba
fix: persistent per-site record creation log ( #28070 )
2024-10-10 09:32:59 +00:00
David Arnold
df245773c8
fix: prevent excessive growth on cached recursion ( #28069 )
2024-10-10 07:59:52 +00:00
David Arnold
59dd4dcd8f
fix: test record discovery ( #28067 )
...
* fix: doctype name discovery
* fix: preserve dependency order
2024-10-10 00:25:42 +00:00
David Arnold
83bc1f09e9
refactor: clarify test record dep management in test modules ( #28060 )
2024-10-09 13:44:27 +00:00
David Arnold
bd06784d1b
ci: Run optimized python and control warnings ( #28063 )
...
* ci: run doubly optimized python
* ci: control python warnings
2024-10-09 13:29:30 +00:00
Corentin Forler
9024441ee9
fix(Form Builder): Fix Code control not updating ( #27422 )
2024-10-09 10:19:58 +00:00
David Arnold
db93823001
feat: better test & dumpster output ( #28044 )
2024-10-09 12:05:19 +02:00
Akhil Narang
7e8290b05f
Merge pull request #28053 from akhilnarang/fix-grid-issues
...
fix: grid issues in web forms
2024-10-09 14:33:16 +05:30
Sagar Vora
30abcf66e8
fix: escape backslashes in repl to prevent syntax errors ( #28052 )
2024-10-09 14:28:14 +05:30
Akhil Narang
ad33101164
Revert "Merge pull request #27502 from ljain112/fix-idx-pagination"
...
This reverts commit 9dbe2571cf , reversing
changes made to b841a7ccef .
2024-10-09 14:19:57 +05:30
Akhil Narang
1423f1a136
Revert "fix(grid): return if no df"
...
This reverts commit 3fdd9624d8 .
2024-10-09 14:00:28 +05:30
Akhil Narang
cf0f0a6e5f
Merge pull request #28043 from barredterra/auto_repeat_controller
...
fix(Auto Repeat): `after_save` is not a valid DocType controller hook
2024-10-09 11:04:26 +05:30
Akhil Narang
91f52ff087
Merge pull request #28025 from 18alantom/fix-broken-assets
...
fix: disappearing frontend asset bundles
2024-10-09 11:02:45 +05:30
18alantom
cd2dabc4d9
fix: copy file if it does not exist
2024-10-09 10:34:05 +05:30
David Arnold
95950c8d81
refactor: organize test contextmanagers ( #28041 )
...
* refactor: prefer staticmethod decorator
* refactor: add cm register utility and keep cms in one file
* refactor: enter safe_exec enabled context (treewide)
* refactor: move trace fields to the other test context managers
* chore: marke all test_runner functions for deprecation
* chore: mark some tests.utils functions for deprecation (moved)
* chore: mark traced_field_conext for deprecation (moved)
* chore: placate semgrep in dumpster
* fix: show deprecation warnings per module in tests (incl. from dumpster)
* chore: remove use of deprecated functions from tests
2024-10-09 02:09:19 +02:00
barredterra
67f7e7148e
fix(Auto Repeat): after_save is not a valid DocType controller hook
2024-10-08 18:38:25 +01:00
Frappe PR Bot
c8f42fe15d
chore: update POT file ( #27994 )
2024-10-08 17:59:21 +01:00
David Arnold
8cfeb156df
devx: add deprecation dumpster ( #27887 )
...
* feat: Add deprecation_dumpster.py file
* docs: add jovial and jocose docstring for frappe/deprecation_dumpster.py
* refactor: fill the dumpster with its own kind
* refactor: move to the deprecation dumpster
* chore: color coding class
* fix: only check import error when import errors
2024-10-08 18:56:10 +02:00
David Arnold
e7776021aa
refactor: Structure frappe.test.utils (green to green) ( #28038 )
...
* docs: constitute frappe.test readme
* refactor: move utils to __init__
* refactor: move generators into generators.py
* refactor: move cm into context_managers.py
* refactor: move test classes into submodule
* refactor: reexport general purpose context managers
* refactor: adapt imports (treewide)
2024-10-08 15:10:24 +00:00
David Arnold
b0b8139233
fix: commit watcher logger ( #28037 )
2024-10-08 12:17:42 +00:00
Sumit Bhanushali
dbebd81ef5
Merge pull request #28034 from frappe/attachment-style
...
fix: alignment and icon color for attachments
2024-10-08 17:30:10 +05:30
Akhil Narang
88bb7601d4
Merge pull request #28033 from akhilnarang/update-role-migration-patch
...
fix: ensure that the role exists
2024-10-08 17:17:27 +05:30
Sumit Bhanushali
65600558b9
fix: removed line height as it caused truncate for some letters
2024-10-08 17:17:19 +05:30
Sumit Bhanushali
98ce759cab
fix: alignment and icon color for attachments
2024-10-08 16:53:21 +05:30
Akhil Narang
84bee76aba
fix: ensure that the role exists
...
Some setups can have broken links here, resulting in a KeyError
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-10-08 16:52:57 +05:30