Commit graph

1090 commits

Author SHA1 Message Date
mergify[bot]
8a7b9ca77f
Merge pull request #15877 from gavindsouza/migrate-refactor
refactor: Site Migration
2022-02-21 09:06:52 +00:00
Shariq Ansari
9949dad02a
Merge branch 'develop' into update-child-table-on-new-connection 2022-02-16 13:58:44 +05:30
mergify[bot]
1df33cbfcf
Merge pull request #15975 from resilient-tech/fix-limit-without-filter
fix: limit without filter
2022-02-15 13:40:56 +00:00
mergify[bot]
b47a299f30
Merge pull request #15927 from gavindsouza/test_api-refactor
refactor: API Testing Suite
2022-02-15 12:23:56 +00:00
mergify[bot]
c961ea856b
Merge pull request #15931 from nextchamp-saqib/fix-load-more-btn
fix: load more button loads only 20 records at a time
2022-02-15 11:12:13 +00:00
gavin
f5afe4fd4a
Merge pull request #15972 from gavindsouza/virtual-docfield-fixes-0
fix(Virtual DocField): Misc fixes
2022-02-15 14:01:59 +05:30
Shariq Ansari
0ffd0d6c68 Merge branch 'fix-load-more-btn' of https://github.com/nextchamp-saqib/frappe into fix-load-more-btn 2022-02-15 13:49:18 +05:30
Shariq Ansari
81f4e2b009 test: UI test for list/report view paging 2022-02-15 13:47:20 +05:30
Pruthvi Patel
7ce9f1eaa1 fix: limit without filter 2022-02-15 13:06:55 +05:30
Shariq Ansari
8be581d4a0
Merge branch 'develop' into update-child-table-on-new-connection 2022-02-15 12:22:40 +05:30
Shariq Ansari
39d65c5211 test: UI test to check if linked field is populated in child table 2022-02-15 12:22:14 +05:30
Gavin D'souza
a403934265 test(fix): Generate Note to ensure at least one exists
ref: Failing Postgres CI on https://github.com/frappe/frappe/runs/5186523978?check_suite_focus=true
2022-02-15 12:03:26 +05:30
Saqib Ansari
9e6889fc6d Merge branch 'develop' of https://github.com/frappe/frappe into link_title_refactor 2022-02-15 10:12:52 +05:30
Ankush Menat
c38d1f8a25
Merge pull request #15906 from ankush/ignore_duplicates_db
feat(db/pg): ability to ignore pk collision
2022-02-14 18:58:07 +05:30
Suraj Shetty
abec0d8664
Merge branch 'develop' into link_title_refactor 2022-02-14 11:03:55 +05:30
mergify[bot]
04bf47f117
Merge pull request #14593 from gavindsouza/dynamic-docfields
feat: Virtual DocFields
2022-02-14 05:31:35 +00:00
Saqib Ansari
027fa61963 Merge branch 'develop' of https://github.com/frappe/frappe into link_title_refactor 2022-02-12 13:39:28 +05:30
Saqib Ansari
92aee42cf7 test: link titles are added to the doctype on getdoc 2022-02-12 13:01:35 +05:30
Saqib Ansari
de76ef6518 test: doctypes are added to link_title_map in boot_info 2022-02-12 13:01:06 +05:30
Gavin D'souza
67df13f77f test: Add test for asset building command 2022-02-11 19:25:21 +05:30
Gavin D'souza
804f3941ff test(restore): Skip test_restore
ref:
* https://github.com/frappe/frappe/runs/5156148762?check_suite_focus=true
* https://github.com/frappe/frappe/runs/5156148706?check_suite_focus=true
2022-02-11 18:27:50 +05:30
Gavin D'souza
643eecb0ac test(fix): Test list-apps for site 2022-02-11 18:10:31 +05:30
Gavin D'souza
19504d3908 test: Add tests for auth & run_method 2022-02-11 15:25:29 +05:30
Gavin D'souza
8b01c04a75 chore: Add type hints 2022-02-11 13:18:24 +05:30
Gavin D'souza
ced22e30f0 fix(test_api): Don't suppress debug query 2022-02-11 11:47:31 +05:30
Gavin D'souza
0a47cc0dcd fix(test): Make requests to the QSGI app in separate threads
Did this to mimic how requests are handled in dev/prod servers - new
thread for new request ;)
2022-02-11 00:36:29 +05:30
Gavin D'souza
ac17f8dfb1 test: Allow list-apps to throw errors based on site's states 2022-02-10 14:56:35 +05:30
Gavin D'souza
0bec91fa8e Merge branch 'develop' of github.com:frappe/frappe into migrate-refactor 2022-02-10 14:49:12 +05:30
Suraj Shetty
4fa20f862a
Merge pull request #15757 from nextchamp-saqib/fix-form-tour 2022-02-10 11:25:36 +05:30
Gavin D'souza
b264d67b9f test(fix): Retain data apart from test_api tests
The tests in the TestResourceAPI Case destroy and re-build locals. This
may cause loss of data and make other tests flaky
2022-02-10 01:43:51 +05:30
Gavin D'souza
08279e30c9 fix: Use cls to specify class attrs and self for instance's 2022-02-10 01:31:08 +05:30
Gavin D'souza
7b4580d693 test(fix): Use FrappeAPITestCase for Method APIs case 2022-02-09 22:36:07 +05:30
Gavin D'souza
188373b1eb refactor(test): Frappe REST Test Suite
* Use Werkzeug Test Client instead of requests
    This change should start tracking coverage for the `api` module.
    Committing to ensure state maintainence will not be necessary.
* Refactor get_test_client to reset locals on each request
* Separate FrappeAPITestCase to enable formation of a generic API testing engine.
2022-02-09 17:02:40 +05:30
Ankush Menat
d3f768fef9 feat(db/pg): ability to ignore pk colission 2022-02-09 16:25:36 +05:30
Rucha Mahabal
240665940f fix: remove redundant test record deletions and resetting 2022-02-09 11:01:05 +05:30
Rucha Mahabal
78e606bd0f
Merge branch 'develop' into fix-naming-validation 2022-02-09 10:52:24 +05:30
Gavin D'souza
0482f1362a Merge branch 'develop' of github.com:frappe/frappe into dynamic-docfields 2022-02-08 16:50:58 +05:30
kamaljohnson
cb25d894b4 refactor: code cleanup 2022-02-08 12:54:51 +05:30
kamaljohnson
84501c663e fix: use new mocked_inbound_mail in test_email
- remove in_test block from production code
2022-02-08 08:33:09 +05:30
phot0n
266e1f95ed chore: adding back idx column
This is needed for ordering in display of links as it keeps
track of the clicks on a particular link item
2022-02-07 16:40:01 +05:30
phot0n
f64b0eee46 test: child table creation and transitioning 2022-02-07 15:12:43 +05:30
phot0n
b31f3c24f6 refactor: remove parent, parenttype, parentfield, idx columns from non-child table doctypes
* feat: add parent, parenttype, idx, parentfield columns to doctypes when transitioning from normal -> child table

* fix: remove parent, parenttype, parentfield, idx from DocType DocType
2022-02-07 15:12:37 +05:30
Mohammad Hasnain Mohsin Rajan
4ff86e1d63
revert: "refactor: set amended docname to original docname" (#15867)
* Revert: "refactor: set amended docname to original docname"

80d111baf2.

* test: test if amended doc has different name
2022-02-04 17:22:18 +05:30
Raffael Meyer
89922bae90
feat: utility methods for docstatus (#15515)
* feat: utility methods for docstatus

* refactor: use utility method for doctsatus

* refactor: enum for docstatus

* refactor: docstatus as property

* fix: set docstatus

* feat: docstatus extends int class

* test: docstatus of BaseDocument

* refactor: occurrences of docstatus

* fix: typo

* refactor: move docstatus to a separate file

* test: docstatus

* fix: sider
2022-02-04 07:41:25 +00:00
Gavin D'souza
f343e77ecf fix(CliRunner): Test suite for Cli
* Manage states
* Add formatting on test failures
* Patch pass_context
2022-02-04 12:47:58 +05:30
Gavin D'souza
d18f4e717f fix(test): Use standard test site for cli invokations 2022-02-03 16:58:59 +05:30
Gavin D'souza
74c56c2e63 test: Add test (+ suite) for site migration 2022-02-03 16:58:29 +05:30
Suraj Shetty
ed048b97ea
Merge pull request #15847 from gavindsouza/timeutils-fixes 2022-02-03 16:31:32 +05:30
saxenabhishek
680eea0751 test: string values inside qb objects
case inside update queries needs a recursive call param wrapper got lost
2022-02-03 12:43:25 +05:30
Gavin D'souza
1b7fa5e180 fix(test): Update test according to API behaviour 2022-02-02 20:22:43 +05:30