Commit graph

83 commits

Author SHA1 Message Date
Shariq Ansari
36bc9d3142 test: flaky Cypress test 2022-10-06 15:57:49 +05:30
Ankush Menat
f07bc3b369 test(UI): use non-admin user for tests 2022-09-10 12:48:33 +05:30
Ankush Menat
c400e18979 refactor: drop file upload plugin
Cypress supports this natively now!
2022-09-08 16:51:59 +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
Rushabh Mehta
e97f709e5b fix(test): dashboard_link.js 2022-08-11 22:38:03 +05:30
Rushabh Mehta
ec9239525b fix(tests): fix tests related to tab + User cleanup 2022-08-11 18:11:23 +05:30
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
Shariq Ansari
a50e0ffa08
refactor: Webform (#17232) 2022-07-19 15:52:15 +05:30
Ankush Menat
e63e26890c fix: show "doc modifed after" load message 2022-06-21 20:25:54 +05:30
Ankush Menat
9c5d6feec1
test(cypress): show full response on insert_doc failure (#17257) 2022-06-21 13:30:39 +05:30
Shariq Ansari
e740ad180d
test: fix for failing Data Control UI test (#17133) 2022-06-10 15:46:50 +05:30
Rushabh Mehta
e66cd830fb fix(minor): test + tabs 2022-06-09 14:17:43 +05:30
Rushabh Mehta
da9ac52ffb fix(minor): lint 2022-06-09 12:44:47 +05:30
Rushabh Mehta
e790b5e8b1 fix(minor): added UI test 2022-06-09 12:34:09 +05:30
Shariq Ansari
b44235587f
test: fixed failing UI test (#16958) 2022-05-24 13:17:21 +05:30
Shariq Ansari
3a2cd2650e test: fixed failing UI test 2022-05-19 15:00:54 +05:30
Shariq Ansari
176518ed2c
fix: Mandatory field bad UX (#16919)
Mandatory fields are highlighted red on page load. It should only highlight if we save the document.

**Before:** Form

https://user-images.githubusercontent.com/30859809/168791201-049c1de2-b7f5-4dff-bf40-093ff96d4510.mov

**After:** Form

https://user-images.githubusercontent.com/30859809/168791164-45e2289b-2d2c-4ebb-8b4d-cd2932140572.mov

**Before:** Dialog

https://user-images.githubusercontent.com/30859809/168791207-800ba9e5-b4eb-419f-8a99-f94916c21c79.mov

**After:** Dialog

https://user-images.githubusercontent.com/30859809/168791210-f2761d23-3a60-40c2-8aff-2d2cebbd77fa.mov

Resolves https://github.com/frappe/frappe/issues/16866
2022-05-18 09:57:49 +00:00
gavin
f1cceba81b
Merge pull request #16763 from surajshetty3416/fix-autoname-validation
fix: Validate "autoname" for Customize Form
2022-04-28 15:03:39 +05:30
Suraj Shetty
ccc82e2c4c
Merge pull request #15538 from noahjacob/phone_field_control
feat: Phone Control Type
2022-04-28 10:27:52 +05:30
Suraj Shetty
2f2fc0440d test: Init UI test for customize form 2022-04-27 15:56:20 +05:30
Shariq Ansari
d558f16e71 test: fixed flaky test for form, timeline_email 2022-04-22 17:43:20 +05:30
Faris Ansari
fc4e2780bd chore: pretty logging for dialog command 2022-04-19 16:49:34 +05:30
Suraj Shetty
8f94cb655f
Merge branch 'develop' into phone_field_control 2022-04-19 16:28:18 +05:30
Faris Ansari
9482ac4399 style: semicolons 2022-04-19 00:21:08 +05:30
Faris Ansari
afebaa0a23 test: less flaky date control test 2022-04-19 00:21:08 +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