Commit graph

93 commits

Author SHA1 Message Date
Shivam Mishra
1e1cc1b6c0
fix(dashboard chart): Hide filters if hide_actions is set (#9679)
* refactor: remove print statement

* fix: hide filters if hide_actions is set

* refactor (cyoress): wait after clearing field

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-03-13 11:57:34 +05:30
Shivam Mishra
fbcd034710
Merge pull request #9677 from scmmishra/desk-improvements
feat: desk improvements
2020-03-12 17:55:48 +05:30
Shivam Mishra
8d0f026eeb refactor: return promise explicitly 2020-03-12 17:10:27 +05:30
Shivam Mishra
98d3533c2c
fix: UI tests (#9664)
* fix: fallback for default desk page

* fix: return if reference name does not exist

* refactor: rename to Query Report

* refactor: codacy linting fixes

* refactor: null check for data in workspace

* feat: enable cypress recording

* chore: codacy linting fixes

* refactor: don't set route explicitly

* fix (cypress): wait for request to be complete in grid pagination test

* fix (cypress): explicitly return async calls

* refactor: visit new_form directly

* refactor: skip some scripts for ui tests

* Revert "refactor: skip some scripts for ui tests"

This reverts commit 1e46e3cd5361c2910d25efb244774d153511af53.
2020-03-09 12:30:59 +00:00
Shivam Mishra
372b64709b refactor: set base desk url for cypress tests 2020-03-02 19:11:32 +05:30
Suraj Shetty
823076e614 test: fix awesomebar filter test 2020-02-11 12:38:46 +05:30
Himanshu Warekar
7270c743a5 fix: ui test fixes 2020-02-10 23:56:11 +05:30
Rucha Mahabal
095b4548d8 fix: test status column 2020-01-15 16:06:27 +05:30
prssanna
78ee7c79f6 fix: fix depends on ui test 2019-12-31 16:01:59 +05:30
deepeshgarg007
7c69ff4646 Merge branch 'develop' of https://github.com/frappe/frappe into mandatory-depends-on 2019-12-26 13:23:11 +05:30
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
Faris Ansari
dcdf95a95f
fix(form-nav): Get filters from list_view (#9124)
* fix(form-nav): Get filters from list_view

- Fallback to user_settings
- Fix UI Test

* style: Missing semicolon
2019-12-24 18:31:01 +05:30
Suraj Shetty
a3292e76f9
test: Increase defaultCommandTimeout to 10sec (#9115)
* test: Fix failing test in form.js

* test: Increase defaultCommandTimeout to 10sec
2019-12-24 00:26:29 +05:30
Suraj Shetty
480a192324
Merge branch 'develop' into mandatory-depends-on 2019-12-23 13:03:49 +05:30
Suraj Shetty
ecf0755911
test: Fix failing test in form.js (#9103) 2019-12-23 10:08:55 +05:30
Suraj Shetty
147dfb12e8 test: Fix form's randomly failing test 2019-12-23 08:53:32 +05:30
Suraj Shetty
5bd9023f8c test: Clear cache after creating doctype 2019-12-14 23:29:21 +05:30
Suraj Shetty
843a5fb520
Merge branch 'develop' into fix-report-view-edit-option 2019-12-14 21:20:49 +05:30
Suraj Shetty
7cf5dee097 test: Add assert statement for value 2019-12-14 18:27:58 +05:30
Prssanna Desai
e5c1f80071 fix(Grid): Child table pagination fixes (#9034)
* fix: don't render result if grid_rows is undefined and fix truncate_rows

* fix: change page length to 50

* fix: grid pagination ui test

* fix: confirm before deleting all child table rows
2019-12-13 22:35:27 +05:30
deepeshgarg007
33ec59ad53 Merge barnch develop into mandatory-depends-on 2019-12-12 20:58:27 +05:30
Suraj Shetty
9ce7f6c6ab fix: Typo 2019-12-11 11:32:01 +05:30
Suraj Shetty
a8b3a6b20b test: Add test to check if field is editable 2019-12-11 11:22:09 +05:30
prssanna
3bd310b2e1 fix(tests): add UI test for next previous document navigation 2019-12-09 19:20:55 +05:30
prssanna
b95129d34d fix(tests): add ui tests 2019-12-04 21:35:32 +05:30
Suraj Shetty
bd69e8cff3 Merge branch 'develop' of https://github.com/frappe/frappe into child-table-pagination 2019-12-02 14:05:46 +05:30
Suraj Shetty
7629f07dbf test: Try removing clear-cache 2019-12-01 13:32:28 +05:30
Suraj Shetty
d41ca958ab test: Move wait to list_view.js 2019-12-01 12:36:21 +05:30
Suraj Shetty
9f3b0b59fc test: Fix listview test by waiting for clear-cache 2019-12-01 11:41:11 +05:30
prssanna
30d20610c4 fix: ui tests 2019-11-22 12:14:38 +05:30
prssanna
f3a656d515 fix(tests): add ui tests for grid pagination 2019-11-19 18:53:44 +05:30
mergify[bot]
7bed235dbc
Merge pull request #8774 from netchampfaris/fix-barcode-control
fix: Barcode Control
2019-11-19 06:20:32 +00:00
Faris Ansari
f3278c4703
fix: typo
Co-Authored-By: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2019-11-19 11:37:43 +05:30
Faris Ansari
3427509b56 test: UI test for Barcode Control 2019-11-18 16:21:01 +05:30
Faris Ansari
9dad73c300 test: More robust control link test 2019-11-14 12:44:05 +05:30
Faris Ansari
ffa8038e4c test: Fix Control Link test 2019-11-12 11:52:41 +05:30
Faris Ansari
ea7d75c523 test: Remove .only 2019-11-12 11:11:42 +05:30
Faris Ansari
4fcb22546b test(listview): Select Pending Todo items 2019-11-12 11:11:35 +05:30
Gavin D'souza
9c7835bbe8 fix(cypress-tests): compatible with slow desk 2019-10-13 13:10:15 +05:30
mergify[bot]
11dfa09ffd
Merge pull request #8555 from alyf-de/test_api
feat(tests): test api/resources via cypress
2019-10-05 05:37:50 +00:00
Raffael Meyer
d823417d2f feat(tests): add api/resources 2019-10-05 02:26:21 +02:00
Gavin D'souza
86d549b118 fix: list_view.js cypress tests update 2019-09-26 19:12:21 +05:30
Gavin D'souza
e14dc883d9 fix: update in cypress tests: list_view.js 2019-09-26 14:53:09 +05:30
Anurag Mishra
a250e99377
refactor: assignment rule and todo (#8420)
* refactor: assignment rule and todo

* fix: updated query and enabled background jobs

* refactor: use ORM instead of SQL

* style: remove print statement

* refactor: minor change in tests

* style: updated query for getting todo
2019-09-13 17:13:05 +05:30
mergify[bot]
e40ef5e8d6
Merge pull request #7742 from prssanna/list-group-by
feat(Sidebar): Add "Group By" dropdown fields to list sidebar
2019-07-10 08:35:12 +00:00
Faris Ansari
d719f77edb
fix(ui-tests): Pick admin password from config (#7842) 2019-07-05 12:24:07 +05:30
Prssanna Desai
20e5e6c151 fiix: add search to dropdowns and move tags to dropdown 2019-07-04 16:42:12 +05:30
Faris Ansari
8fb2a538ec test: Add UI test for Link control (#7809)
* test: Add UI test for Link control

- Add API cy.call
- Add API cy.create_records
- Add ui_test_helpers.py

* style: Missing semicolon

* style: Missing semicolon

* style: Missing semicolon

* style: Remove unused imports

* test: Robust test for setting invalid value

* style: Remove unused import
2019-07-03 07:55:36 +05:30
Faris Ansari
baf301389c fix: UI Test 2019-06-28 19:20:43 +05:30
Faris Ansari
2d3058551f test: Fix awesomebar test 2019-06-19 13:24:09 +05:30