Commit graph

17 commits

Author SHA1 Message Date
Maharshi Patel
aaf40dc583 fix: sidebar redesign
* replaced all full width pill buttons with the labels and plus icons
* added a click listener to avatars for opening share dialog.
* made attachments label a link where user can click and open all of the files
  as there isn't enough space for explore buttons in new design
2023-10-04 23:05:24 +05:30
Maharshi Patel
cb7415338a fix: sidebar UX, sidebar & attach control cypress
* changed "show all" to button
* updated cypress tests for sidebar and attach control
* change "Explore Files" button icon location
2023-09-28 23:35:01 +05:30
Suraj Shetty
de3a93bb0c test: Fix failing tests 2023-09-25 11:46:03 +05:30
Maharshi Patel
9b6d6267dd fix: awesome_bar & sidebar cypress test as per espresso. 2023-09-20 22:22:44 +05:30
marination
d9e4791b15 chore: Use lighter files as test fixtures 2023-08-09 17:29:56 +05:30
marination
140595f587 test: Sidebar attachments UX
- Added 10 royalty free images from 'https://unsplash.com/images/stock/royalty-free'
- Test to check state of attachments actions through different user actions
- UI Helper function to create ToDo and add max attachment limit of 12
2023-07-31 19:00:00 +05:30
Shariq Ansari
3b2f2ef418 test: fix sidebar UI Test 2023-07-16 12:06:48 +05:30
Shariq Ansari
c12406fa3e test: fixed failing UI test 2023-04-17 14:38:27 +05:30
Ankush Menat
45b74861af test: fix broken test
Not sure why there's test on doctype "created by". Makes no sense.
2022-09-10 13:07:37 +05:30
Ankush Menat
0896873c8a test: add test role to user 2022-09-10 12:48:33 +05:30
Ankush Menat
a6b341bd59 test: fix tests using admin account 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
e8af6b2c16 feat: make attachments public on doctypes
When this checkbox is checked, while uploading docs using fileuploader
the default visibility will be set to "public".

At present all uploaded attachments are private, however in following
cases it makes sense to set default as public:

1. Blog post
2. Item catalog
3. Website item

Considering this we decided to add this configurtion so developers can
specify sane default while user still has control over it using
"Customize form"

Enabled this for "blog post" doctype

Unrelatd change: consistent "form settings" section on DocType and customize
form
2022-08-26 12:42:26 +05:30
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
Ankush Menat
4be43092a3 test: flaky sidebar test due to msgprint 2021-11-01 16:10:36 +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
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