1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-07-31 15:39:40 +02:00
forgejo/web_src/js/features/comp
Danko Aleksejevs ae00a1d61b fix: Remove 1ms delay before inserting list prefix, fix race condition in tests (#8207)
Fixed the race condition that made the existing E2E tests fail. There was a 1ms delay between inserting a newline and the line prefix to facilitate creation of two "undo" entries (so "ctrl+z" basically undoes the list continuation, but not the newline). Thus scripted text changes may have happened out of order.

This only ever reliably worked in Firefox and seems to still work there even without a timeout.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8207
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Danko Aleksejevs <danko@very.lv>
Co-committed-by: Danko Aleksejevs <danko@very.lv>
2025-06-18 12:58:31 +02:00
..
ComboMarkdownEditor.js fix: Remove 1ms delay before inserting list prefix, fix race condition in tests (#8207) 2025-06-18 12:58:31 +02:00
ConfirmModal.js
EasyMDEToolbarActions.js
LabelEdit.js chore: enable no-jquery/no-trigger 2025-04-01 04:43:06 +02:00
Paste.js
QuickSubmit.js
ReactionSelector.js chore: enable no-jquery/no-sizzle 2025-04-01 03:58:09 +02:00
SearchUserBox.js Add DISABLE_ORGANIZATIONS_PAGE and DISABLE_CODE_PAGE settings for explore pages and fix an issue related to user search (#32288) 2024-10-27 11:27:40 +01:00
TextExpander.js
WebHookEditor.js