Commit graph

97 commits

Author SHA1 Message Date
Maharshi Patel
fd1fe44850 fix: cypress and add check for __islocal
changed check for __islocal as well in savedocs

As new route ends with random hash instead of numbers,
updated cypress test to just check start of data-route instead of entire path
2023-10-17 17:19:53 +05:30
Suraj Shetty
9d501faa45 test: session_last_route if exists 2023-09-25 15:25:15 +05:30
Suraj Shetty
fdf1164f8f test: Fix navigation tests 2023-09-25 14:29:27 +05:30
Suraj Shetty
de3a93bb0c test: Fix failing tests 2023-09-25 11:46:03 +05:30
Suraj Shetty
3334235e7a test: Load root page before logout to load CSRF token 2023-09-25 09:16:59 +05:30
Suraj Shetty
413f4915e8 test: Clear session data on logout 2023-09-25 08:27:56 +05:30
Suraj Shetty
66f8c0b37f chore: Fix cypress configuration to support cy13 2023-09-22 12:02:19 +05:30
Suraj Shetty
821f75c3ad fix: Try waiting for logout 2023-06-16 12:47:39 +05:30
Suraj Shetty
8008afaf77 test: Fix Kanban test 2023-06-16 11:53:35 +05:30
Suraj Shetty
6c3957aa30 test: Return cy.request promise from login
- to make cypress wait for the promise.
2023-06-16 11:01:21 +05:30
Shariq Ansari
c12406fa3e test: fixed failing UI test 2023-04-17 14:38:27 +05:30
Shariq Ansari
ed86da416f test: fixed failing web_form UI test 2023-01-26 15:50:12 +05:30
marination
49143922c5 chore: Kanban and ToDo UI test helpers
- `create_admin_kanban` and `create_todo` UI test helpers
- `switch_to_user` Cypress command: logs out and logs in as specified user
- Used `remove_role` in permissions test
- Used `switch_to_user` command in test helper
2022-12-28 23:00:00 +05:30
marination
d5c4af53d8 chore: Cleaner Cypress commands
- Clearer APIs `add_role` and `remove_role`
2022-12-27 17:00:00 +05:30
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