seitime-frappe/frappe/tests
Andrew McLeod 07cedc581d feat: Optionally remove seconds from datetime (#8531)
* fix: Add updated datepicker; fixed seconds formatting bug.
Seconds between 0 and 9 were not zero-padded.

* feat: Add framework for time format

* feat: datetime server-side formatters.

* tests: Added server-side datetime formatter tests

* feat: Update client-side datetime formatters

* tests: Add Cypress client-side formatting tests.

* fix: JSON errors

* fix: Update to not hard-code admin password

* fix: Change to using bulk_update rather than the REST API

* tests: Use Custom doctype for testing, not Standard

* fix: Codacy style fixes

* fix: Commonify update_datetime_picker in date.js, datetime.js, time.js
Fix order of time_format in System Settings
Restore get_user_fmt in utils/datetime.js

* feat: Drastically reduce scale of Cypress testing (to make tests faster)
Full testing is possible by setting 'fast_mode' to false in the spec file.

* fix: Fix issues with datepicker/timepicker expansion

* fix: typo

* style: Various style fixes as requested by DeppSource: Python

* fix: Timepicker not hiding on 'now' button. Force hiding on click.

* style: Codacy style fixes.

* fix: Use datepicker from node_modules

* test: Refactor Datetime UI tests

- cy.get_field
- cy.set_value
- cy.insert_doc with ignore_duplicate
- Nominal datetime tests to cover most formats
- Formatting with prettier

* test: Datetime UI tests; wait for cur_frm.doc.datetime to update

* tests: Add whitespace to typed input

- Clear input only for Time field

* test: Wait timeout 200

* test: Fix form test

Co-authored-by: Faris Ansari <netchampfaris@users.noreply.github.com>
2019-12-25 14:54:28 +05:30
..
data Changed email domain to example.com (#5985) 2018-08-20 10:36:58 +05:30
__init__.py chore: cleanup redundant function definitions, sort imports 2019-11-29 18:00:40 +05:30
test_api.py fix(notifications): login, logout notifications 2019-11-07 12:14:09 +05:30
test_assign.py fiix: add search to dropdowns and move tags to dropdown 2019-07-04 16:42:12 +05:30
test_bot.py Postgres support for Frappe (#5919) 2018-09-21 10:20:48 +05:30
test_client.py self.assertEqual 2018-02-28 21:19:01 +05:30
test_db.py fix: Update regex for capturing touched tables from query (#7588) 2019-05-29 14:51:19 +05:30
test_db_query.py fix: tests for db_query 2019-10-29 10:17:52 +05:30
test_defaults.py [Fix] Defaults doesn't comply with user permission fix (#5735) 2018-07-03 10:52:56 +05:30
test_document.py fix: merge conflict 2019-06-18 18:45:21 +05:30
test_document_locks.py File Based Locking at Document Level (#2374) 2016-11-25 16:14:00 +05:30
test_domainification.py Save domain settings to create related custom fields for already enabled domain (#4378) 2017-10-27 15:26:02 +05:30
test_dynamic_links.py fix(test): test and mandatory in blog post 2019-02-09 11:59:29 +05:30
test_email.py fix: rfc5322 compliance for python3 (#8912) 2019-12-17 14:01:52 +05:30
test_exporter_fixtures.py New data import (#4601) 2017-12-15 12:17:24 +05:30
test_fmt_datetime.py feat: Optionally remove seconds from datetime (#8531) 2019-12-25 14:54:28 +05:30
test_fmt_money.py style: Linting fixes (#6809) 2019-01-23 16:39:55 +05:30
test_form_load.py Merge branch 'staging' into develop 2019-01-29 18:24:11 +05:30
test_formatter.py fix: Show default currency as a fallback for currency fieldtype (#8944) 2019-12-14 17:34:04 +05:30
test_geo_ip.py style: Linting fixes (#6809) 2019-01-23 16:39:55 +05:30
test_global_search.py tests: fix results being return 2019-12-03 15:27:10 +05:30
test_goal.py Postgres support for Frappe (#5919) 2018-09-21 10:20:48 +05:30
test_hooks.py Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
test_listview.py test: list view child table filter with created by filter 2019-12-06 17:09:31 +05:30
test_naming.py fix: doctype passed but not used (#7112) 2019-03-28 11:57:15 +05:30
test_oauth20.py fix(tests): OAuth 2.0 tests 2019-10-21 14:30:52 +05:30
test_password.py Postgres support for Frappe (#5919) 2018-09-21 10:20:48 +05:30
test_patches.py fix(unicode): Import unicode_literals in every file (#6805) 2019-01-25 11:56:27 +05:30
test_pdf.py fix: possible fix to encoding issues in py3 2019-04-27 18:03:00 +05:30
test_permissions.py test: validate no fetch for multiple non default user permission 2019-04-24 13:19:04 +05:30
test_query_report.py fix: added option to show indentation (#7855) 2019-07-09 15:30:07 +05:30
test_recorder.py chore: fixed imports after module restructure 2019-11-29 21:08:30 +05:30
test_safe_exec.py fix(linting) 2019-10-11 14:16:49 +05:30
test_scheduler.py fix(minor): rename "queue" to "frequency" 2019-11-07 12:14:09 +05:30
test_search.py Doctype links in foreign language (#5745) 2018-08-24 15:23:20 +05:30
test_seen.py [fix] [test] test_seen.py 2016-03-25 17:42:13 +05:30
test_sitemap.py chore: fixed imports after module restructure 2019-11-29 21:08:30 +05:30
test_translation.py self.assertEqual 2018-02-28 21:19:01 +05:30
test_twofactor.py Merge branch 'develop' into refactor-scheduler 2019-12-02 13:16:45 +05:30
test_utils.py test: Add UI test for Link control (#7809) 2019-07-03 07:55:36 +05:30
test_website.py chore: moved 'get_html_for_route' to frappe.utils 2019-11-29 20:42:25 +05:30
ui_test_helpers.py Merge version-12-hotfix to develop (#9095) 2019-12-23 12:24:52 +05:30