Commit graph

59 commits

Author SHA1 Message Date
Suraj Shetty
8f94cb655f
Merge branch 'develop' into phone_field_control 2022-04-19 16:28:18 +05:30
Himanshu
803f1fb061
feat: add/remove fields from kanban board (#16257)
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
2022-04-18 15:45:19 +05:30
Suraj Shetty
6b7fda495b Merge branch 'develop' of https://github.com/frappe/frappe into phone_field_control 2022-04-14 14:19:35 +05:30
Faris Ansari
168bf6d3e4 test: ui test for inserting image in markdown 2022-04-14 00:46:32 +05:30
Noah Jacob
bf92b363e2
Merge branch 'develop' into phone_field_control 2022-04-07 15:04:47 +05:30
Suraj Shetty
c27b9d3f31 test(command): Select staticarea of field if input is not available 2022-04-02 17:42:22 +05:30
Suraj Shetty
47a63b94e6 Merge branch 'develop' of https://github.com/frappe/frappe into command-correction 2022-04-02 16:57:16 +05:30
Shariq Ansari
888372cd57 test: fixed failing form.js cypress test 2022-04-01 12:46:46 +05:30
Nidhi Purohit
e8f81a3886 Changes in get_table_field command 2022-03-30 20:32:43 +05:30
Noah Jacob
544d248323 test(ui): increasing coverage in tests 2022-03-30 18:40:26 +05:30
Komal-Saraf0609
b79f9918b4 test: Fixing sider issues 2022-03-24 20:23:46 +05:30
Komal-Saraf0609
b2fef12b44 test: Renaimg the file and also adding tests 2022-03-24 19:42:38 +05:30
Suraj Shetty
e18f8d6e10 chore: Remove duplicate command 2022-02-01 13:37:46 +05:30
Suraj Shetty
0a8b5fe785 test: Fix get_field command for select fields 2022-01-06 13:38:48 +05:30
Faris Ansari
f7e8135a0c chore: colocate ui tests
UI tests can now be colocated where they make more sense.
The filename must start with ui_test_ and end with .js to be
picked up by cypress.
2022-01-03 16:19:11 +05:30
Shariq Ansari
cf416aa779 test: minor fix 2021-11-08 11:00:45 +05:30
Shariq Ansari
7a6bee9dab test: fixed failing test(timeline, recorder, navigation) 2021-11-02 15:37:57 +05:30
Ankush Menat
5996d6829d test: fix flaky awesome_bar test 2021-10-22 15:47:17 +05:30
Suraj Shetty
efdd267cd5 Merge branch 'develop' of https://github.com/frappe/frappe into shareable-link-for-comments 2021-10-08 09:00:43 +05:30
Suraj Shetty
59e0501cc7 test: Fix timeline tests 2021-10-08 08:58:52 +05:30
MitulDavid
d8d8c8e54e ci: Code coverage for JS files 2021-09-20 21:11:47 +05:30
Suraj Shetty
5f9340fda2 test: Set delay for fill_field 2021-09-07 20:33:08 +05:30
Suraj Shetty
a56b117ca4 test: Wait for filter save on clear filter 2021-09-07 19:23:32 +05:30
Suraj Shetty
3aed8f9e22 test: Miscellaneous fixes to avoid flaky tests 2021-09-07 16:19:27 +05:30
Suraj Shetty
b4bb4c039f test: Update click_sidebar_button to accept btn_name
- to make tests cases readable
2021-09-07 15:24:32 +05:30
MitulDavid
b417218f1d test: Add support for Testing-Library queries within Cypress tests 2021-08-17 19:06:01 +05:30
Komal-Saraf0609
a8fe3a8668
test: Adding Cypress tests for sidebar, timeline and email testing (#13729)
* test: fix get_field command

* test: Add timeline email test cases

* test: Add sidebar test cases

* test: Add timeline test cases

* test: Added new commands

* test: Added proper name for test case, added comments and removed redundancy

* test: Added proper name for test case, added comments and removed redundancy

* test: Added proper name for test case, added comments and removed redundancy

* test: Added new commands

* test: Added proper name for test case, added comments and removed redundancy

* test: Added proper name for test case, added comments and removed redundancy

* fix: Sider issues

* fix: Sider issues

* fix: Sider issues

* fix: UI Tests

* fix: UI tests

* fix: UI tests

* fix: UI tests

* fix: UI tests

* fix: UI tests

* fix: UI tests

* fix: UI tests

* fix: UI tests

* fix: UI tests

* fix: UI tests

* fix: UI tests

* fix: UI test

* fix: UI tests

* fix: UI tests

* fix: Context correction

* test: fix fill_field command

* test: fixed get_field command
(removed :visible for code)

* test: Fixed fill_field command
(removed .blur())

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-08-06 07:52:24 +00:00
prssanna
24aabd2b02 fix: ui tests 2021-02-18 11:24:25 +05:30
walstanb
196a534c0e fix: failing ui test cases 2021-02-08 15:56:12 +05:30
Suraj Shetty
2f59dc2a7d test: Fix failing tests 2021-02-01 09:39:09 +05:30
Suraj Shetty
d18751db07 test: Make tests Cypress v6 compatible 2021-01-31 23:19:01 +05:30
Suraj Shetty
39d0e72f94 chore: Update Cypress 3 to 6 & fix test cases 2021-01-31 21:54:59 +05:30
Suraj Shetty
21c020e036 style: Fix formatting issues 2021-01-29 15:43:11 +05:30
Suraj Shetty
b94d5778a8 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2021-01-19 10:36:50 +05:30
prssanna
841c1b9852 fix: cypress tests 2020-12-29 17:00:30 +05:30
Rushabh Mehta
54cee87826 fix(minor): tests + routing 2020-12-24 14:48:40 +05:30
conncampbell
2c4b5c67b0 fix: Read-only table has read-only form fields. 2020-11-19 14:05:11 -07:00
Rushabh Mehta
864f579409 feat(doctype-layout): Ability to add different layouts to doctypes 2020-11-17 17:35:03 +05:30
Rushabh Mehta
06355968f8 fix(routes): move /app#route to /app/route 2020-11-11 16:35:02 +05:30
Rushabh Mehta
75fe8a615a feat(app): move /desk to /app 2020-11-11 16:31:47 +05:30
Suraj Shetty
0b6e1cb78e test: Remove unnecessary website visit 2020-04-25 13:59:26 +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
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
Suraj Shetty
7cf5dee097 test: Add assert statement for value 2019-12-14 18:27:58 +05:30
Suraj Shetty
a8b3a6b20b test: Add test to check if field is editable 2019-12-11 11:22:09 +05:30
Raffael Meyer
d823417d2f feat(tests): add api/resources 2019-10-05 02:26:21 +02:00
Faris Ansari
d719f77edb
fix(ui-tests): Pick admin password from config (#7842) 2019-07-05 12:24:07 +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
Suraj Shetty
8d40f513eb test: Add clear cache command 2019-06-03 09:33:51 +05:30
Faris Ansari
8524c143cd fix: UI Test 2019-05-12 18:16:51 +05:30