Sagar Vora
6e896aa412
fix: decorator usage
2022-11-21 17:17:18 +05:30
marination
4cd80bd279
fix: Avoid caching unsaved documents and secure whitelist decorator
...
- Avoid caching documents like 'new-item-1', default to doctype perms instead
- Use secure `whitelist_for_tests` decorator instead
2022-11-21 16:41:37 +05:30
Marica
eec7a7fd13
Merge branch 'develop' into get_role_permissions-js-consistency
2022-11-21 14:03:17 +05:30
marination
ed2804d1c5
test: Cypress test to check basic has_perm and get_perm JS APIs
...
- Test removes System Manager role for user and expects certain perms
- On Kanban Board DocType, only System Manager is allowed to print/export/email/report/share
- DocType level test only
2022-11-21 13:41:04 +05:30
Ankush Menat
f488a4953f
chore: validate ui test helpers at runtime ( #18922 )
...
[skip ci]
2022-11-17 18:17:22 +05:30
Ankush Menat
ad7c0816f8
fix: prevent deleting standard doctypes in prod ( #18803 )
2022-11-08 21:27:41 +05:30
Shariq Ansari
b0c1e400ea
feat: configurable default views ( #18409 )
...
Co-authored-by: hrwx <himanshuwarekar@yahoo.com>
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-10-17 16:36:01 +05:30
Ankush Menat
0896873c8a
test: add test role to user
2022-09-10 12:48:33 +05:30
Ankush Menat
a6b341bd59
test: fix tests using admin account
2022-09-10 12:48:33 +05:30
Ankush Menat
f07bc3b369
test(UI): use non-admin user for tests
2022-09-10 12:48:33 +05:30
Ankush Menat
e397b27d29
test: upgrade cypress from v6 to v10
...
chore: run cypress migrator
fix: specPattern should be an array
test: correct intercept URL
This is breaking change in cypress 7.0
test: make list view test rerunnable
test: redo undo tests and add compare doc
test: scroll to action button
chore: drop flaky tests
fix: remove scroll behaviour
fix: clear filters before running count test
test: input delay causes flake
2022-09-02 17:47:30 +05:30
Ankush Menat
e8af6b2c16
feat: make attachments public on doctypes
...
When this checkbox is checked, while uploading docs using fileuploader
the default visibility will be set to "public".
At present all uploaded attachments are private, however in following
cases it makes sense to set default as public:
1. Blog post
2. Item catalog
3. Website item
Considering this we decided to add this configurtion so developers can
specify sane default while user still has control over it using
"Customize form"
Enabled this for "blog post" doctype
Unrelatd change: consistent "form settings" section on DocType and customize
form
2022-08-26 12:42:26 +05:30
Ankush Menat
2eec621e95
chore: db.get_all -> get_all
...
Reduces 1 pointless function call.
Function calls are also not "super cheap" in python.
2022-08-22 11:35:14 +05:30
Himanshu
2aa140d4c3
chore: set correct translation for ui tests
...
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
2022-08-11 13:47:21 +01:00
Himanshu
e68aac866f
Merge branch 'develop' into merge_translated_doctypes
2022-08-10 18:49:04 +01:00
Shariq Ansari
cfb56688e9
refactor: Multi Step Web Form ( #17783 )
2022-08-10 18:05:20 +05:30
hrwx
b01929405d
refactor: translatable doctypes
2022-08-05 21:38:10 +01:00
Ankush Menat
81b37cb7d2
refactor: clean up code to py310 supported features ( #17367 )
...
refactor: clean up code to py39+ supported syntax
- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes
Powered by https://github.com/asottile/pyupgrade/ + manual cleanups
2022-07-01 11:51:05 +05:30
Shariq Ansari
5c3b448c09
refactor: used list comprehension
2022-04-22 16:59:03 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black ( #16453 )
...
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Jannat Patel
f787d101e1
fix: conflicts in ui test helper
2022-03-19 10:14:34 +05:30
mergify[bot]
b176443792
Merge pull request #16070 from shariquerik/grid-search-feat
...
feat: Grid Search
2022-03-17 07:03:44 +00:00
Shariq Ansari
631e6f3260
fix: using bulk_insert instead of sql query
2022-03-17 12:03:46 +05:30
Shariq Ansari
bc48c03da7
test: failing list_paging UI test
2022-03-17 11:18:12 +05:30
Shariq Ansari
9292c3f047
Merge branch 'develop' into grid-search-feat
2022-03-10 14:32:01 +05:30
Shariq Ansari
c2abb00886
test: failing report_view UI test fix
2022-03-08 15:44:14 +05:30
Jannat Patel
68f84b2645
test: fixed based on new ui
2022-03-07 10:50:59 +05:30
Shariq Ansari
3b8cd07ee9
test: UI test for grid search
2022-02-24 19:44:19 +05:30
Shariq Ansari
9949dad02a
Merge branch 'develop' into update-child-table-on-new-connection
2022-02-16 13:58:44 +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
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
Saqib Ansari
105f8d8bc7
fix: form tour ui test
2022-01-31 11:24:08 +05:30
hrwx
ae80c7e372
chore: add exists check for web form ui test
2022-01-21 19:29:14 +00:00
hrwx
39c0577fc5
chore: update cypress test cases
2021-12-30 02:09:51 +05:30
hrwx
b020b865ba
feat: test cases for webform
2021-12-19 00:59:54 +00:00
pateljannat
bee2491221
test: ui test for single thread
2021-10-07 12:53:19 +05:30
pateljannat
fd57185bc9
style: indentation, etc
2021-10-01 13:04:57 +05:30
Jannat Patel
bc5fcce14f
fix: tests
2021-09-18 12:34:54 +05:30
Jannat Patel
d49ce24e09
fix: web page and load time
2021-09-17 18:10:26 +05:30
Jannat Patel
dc73dea318
test: ui
2021-09-17 15:46:29 +05:30
Suraj Shetty
8e9a46fff9
test: Miscellaneous fixes to avoid flaky tests
2021-09-07 19:57:57 +05:30
Suraj Shetty
0ad1779bc7
Merge branch 'develop' into date-field-validation-fix
2021-08-27 10:31:01 +05:30
shariquerik
75cb917a7b
test: UI test for datetime field form validation
2021-07-13 21:31:03 +05:30
Saqib Ansari
ef4c6223a8
feat: add ui tests
2021-06-23 14:19:06 +05:30
Ankush Menat
faa347461d
chore: fix all findings flaged by ux rule
2021-05-25 13:04:20 +05:30
prssanna
2b2f7a7d93
test: fix relative_time_filters ui test
2021-03-18 16:09:17 +05:30
conncampbell
2c4b5c67b0
fix: Read-only table has read-only form fields.
2020-11-19 14:05:11 -07:00
Faris Ansari
3f5a50d677
fix: Restrict ui test helper method to dev server mode
2020-09-06 18:37:22 +05:30