element-web-Github/cypress/e2e
alunturner 0889dc55da
Room and user mentions for plain text editor (#10665)
* update useSuggestion

* update useSuggestion-tests

* add processMention tests

* add test

* add getMentionOrCommand tests

* change mock href for codeQL reasons

* fix TS issue in test

* add a big old cypress test

* fix lint error

* update comments

* reorganise functions in order of importance

* rename functions and variables

* add endOffset to return object

* fix failing tests

* update function names and comments

* update comment, remove delay

* update comments and early return

* nest mappedSuggestion inside Suggestion state and update test

* rename suggestion => suggestionData

* update comment

* add argument to findSuggestionInText

* make findSuggestionInText return mappedSuggestion

* fix TS error

* update comments and index check from === -1 to < 0

* tidy logic in increment functions

* rename variable

* Big refactor to address multiple comments, improve behaviour and add tests

* improve comments

* tidy up comment

* extend comment

* combine similar returns

* update comment

* remove single use variable

* fix comments
2023-05-11 14:28:42 +00:00
..
audio-player Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00
composer Room and user mentions for plain text editor (#10665) 2023-05-11 14:28:42 +00:00
create-room Remove mx_HeaderButtons class and add a test (#10713) 2023-05-05 15:29:10 +00:00
crypto Fix the color of the verified E2EE icon on RoomSummaryCard (#10812) 2023-05-08 02:26:29 +00:00
editing Update editing.spec.ts (#10543) 2023-04-11 08:22:45 +00:00
integration-manager Update read_events.spec.ts - use Cypress Testing Library (#10719) 2023-04-27 10:37:58 +00:00
invite Add E2E test: invite-dialog.spec.ts (#10693) 2023-05-04 13:09:26 +00:00
lazy-loading Remove mx_HeaderButtons class and add a test (#10713) 2023-05-05 15:29:10 +00:00
location Update location.spec.ts - use Cypress Testing Library (#10612) 2023-04-17 08:24:09 +00:00
login Update login.spec.ts - use Cypress Testing Library (#10597) 2023-04-14 11:40:43 +00:00
one-to-one-chat Update one-to-one-chat.spec.ts - use Cypress Testing Library (#10572) 2023-04-12 13:11:28 +00:00
permalinks Implement permalink end-2-end test (#10434) 2023-03-29 13:52:57 +02:00
polls Update roles cypress is looking for (#10708) 2023-04-25 14:46:18 +00:00
read-receipts Test for element-web#24629 - read receipts on main and unthreaded don't clash (#10769) 2023-05-03 11:13:46 +00:00
register Cypress test to check cross-signing keys on register (#10850) 2023-05-11 10:34:52 +00:00
regression-tests Update pills-click-in-app.spec.ts - use Cypress Testing Library (#10582) 2023-04-16 22:50:57 +00:00
right-panel Fix snapshot File Panel - empty (#10855) 2023-05-11 09:25:28 +00:00
room Remove mx_HeaderButtons class and add a test (#10713) 2023-05-05 15:29:10 +00:00
room-directory Update room-directory.spec.ts - use Cypress Testing Library (#10596) 2023-04-17 09:54:35 +00:00
settings Add appearance-user-settings-tab.spec.ts (#10697) 2023-05-11 06:33:50 +00:00
sliding-sync Rename sliding-sync.ts to sliding-sync.spec.ts (#10723) 2023-04-27 10:33:20 +00:00
spaces Update spaces.spec.ts - use Cypress Testing Library (#10620) 2023-04-20 21:36:44 +00:00
spotlight Update spotlight.spec.ts - use Cypress Testing Library (#10621) 2023-04-17 14:06:20 +00:00
threads Update roles cypress is looking for (#10708) 2023-04-25 14:46:18 +00:00
timeline Update style rules of MessageTimestamp (#10780) 2023-05-04 12:19:26 +00:00
toasts Make cypress happy about spec files all containing tests (#10709) 2023-04-25 15:42:59 +00:00
update Add dendrite support to cypress tests (#9884) 2023-01-10 16:29:56 -07:00
user-menu Update user-menu.spec.ts - use Cypress Testing Library (#10578) 2023-04-12 12:56:34 +00:00
user-onboarding Update tests related to user onboarding - use Cypress Testing Library (#10728) 2023-04-27 17:12:05 +00:00
user-view Update user-view.spec.ts - use Cypress Testing Library (#10577) 2023-04-12 15:55:10 +00:00
widgets Update events.spec.ts - use Cypress Testing Library (#10590) 2023-04-20 09:33:31 +00:00