mattermost/e2e-tests/cypress/tests/integration/channels/bot_accounts
Harrison Healey 5f51497219
MM-51231 Replace react-custom-scrollbars with react-simplebar (#33783)
* Add simplebar-react at latest version supported by React 17

* Prevent sidebars and centre channel from overflowing the page vertically

* Add Scrollbars component and replace react-custom-scrollbars

* Remove react-custom-scrollbars

* Fix usage of Scrollbars in modals

The various way we reuse .more-modal, .more-modal__list, and
.filtered-user-list in slightly different ways really made painful. We
should revisit that at some point when we get the chance since those
classes are used in a bunch of contradictory ways like using
.more-modal__list in a popover list in Multiselect versus as part of the
modal in the Browse Channel modal. It also doesn't help that some modals
use Scrollbars and others just use `overflow: auto` on either the whole
modal or on the .more-modal__list.

* Fix dragging the LHS scrollbar also dragging the channel behind it

* Fix scrolling in Browse Channels modal

* Fix results in user group modals not scrolling

* Update snapshots and fix tests

* Prevent focusing simplebar divs (accessibility_sidebar_spec.ts)

* Fix admin LHS still being able to scroll (openid_spec.ts)

* Migrate Team Members modal to GenericModal and the new menu (manage_members_spec.js)

The menu was being cut off yet again by the contents of the modal, so I
migrated that to the new menu to portal it out of that. Unfortunately,
that caused the infinite recursion bug between MUI and React Bootstrap's
focus trap logic, so I had to also migrate the modal to GenericModal to
fix that.

* Update snapshot and fix test

* Update snapshot and fix test

* Fix another E2E test

* More snapshots
2025-09-03 18:30:19 -04:00
..
bot_api_1_spec.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
bot_api_2_spec.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
bot_api_not_cloud_spec.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
bot_channel_intro_spec.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
create_bot_spec.ts MM-47287 Refactor/migrate bot accounts to typescript (#28347) 2024-10-28 17:03:21 +08:00
crud_not_cloud_spec.ts MM-47287 Refactor/migrate bot accounts to typescript (#28347) 2024-10-28 17:03:21 +08:00
crud_spec.ts MM-47287 Refactor/migrate bot accounts to typescript (#28347) 2024-10-28 17:03:21 +08:00
display_name_spec.ts Fix E2E test reporting message for webhook (#29304) 2024-11-18 09:49:17 +01:00
edit_bot_spec.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
edit_bot_username_spec.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
helpers.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
in_lists_1_spec.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
in_lists_2_spec.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
in_teams_and_channels_spec.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
managing_bot_accounts_not_cloud_spec.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
managing_bot_accounts_spec.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
post_message_spec.ts MM-47287 Refactor/migrate bot accounts to typescript (#28347) 2024-10-28 17:03:21 +08:00
promote_demote_spec.ts MM-51231 Replace react-custom-scrollbars with react-simplebar (#33783) 2025-09-03 18:30:19 -04:00
sidebar_display_spec.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
tags_spec.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00