Commit graph

105 commits

Author SHA1 Message Date
Revant Nandgaonkar
a0d8b1a1b3 fix: add comments to login ui test 2020-05-14 05:51:08 +05:30
Revant Nandgaonkar
9bba3154bc fix: redirect after login
fix sanitise redirect
test for redirect after login
2020-05-13 21:39:51 +05:30
mergify[bot]
94301fa698
Merge pull request #10287 from scmmishra/onboarding-enhancements
feat: form tour feature
2020-05-12 16:07:14 +00:00
Shivam Mishra
7c1afd4992 fix (tests): wait before and after routing 2020-05-12 19:15:30 +05:30
Shivam Mishra
f2cd5f6911 fix (test): run invalid login test before successful test 2020-05-12 19:14:30 +05:30
Suraj Shetty
65c29161b0
Merge branch 'develop' into data-options-child-table 2020-04-27 11:06:35 +05:30
Suraj Shetty
dbee5931d2 test: Fix form.js test
- By waiting for form save
2020-04-25 16:18:10 +05:30
Suraj Shetty
8dbc7ecff4 test: Force weblink input 2020-04-25 15:26:59 +05:30
Suraj Shetty
ba9b8a4060 test: Remove unnecessary website page visit 2020-04-25 14:55:12 +05:30
Suraj Shetty
6ecd83a27d test: Add type delay while typing file-web-link 2020-04-25 14:24:34 +05:30
Suraj Shetty
0b6e1cb78e test: Remove unnecessary website visit 2020-04-25 13:59:26 +05:30
Gavin D'souza
a877fba5d9 test: set_invalid controller for child tables 2020-04-17 17:44:41 +05:30
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