Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend_integration/snippets/snippets_notes_spec.js')
-rw-r--r--spec/frontend_integration/snippets/snippets_notes_spec.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/frontend_integration/snippets/snippets_notes_spec.js b/spec/frontend_integration/snippets/snippets_notes_spec.js
index fdd3289bf58..5e9eaa1aada 100644
--- a/spec/frontend_integration/snippets/snippets_notes_spec.js
+++ b/spec/frontend_integration/snippets/snippets_notes_spec.js
@@ -50,6 +50,11 @@ describe('Integration Snippets notes', () => {
'circled latin capital letter m',
],
],
+ [':', ['100', '1234', '8ball', 'a', 'ab']],
+ // We do not want the search to start with space https://gitlab.com/gitlab-org/gitlab/-/issues/322548
+ [': ', []],
+ // We want to preserve that we can have space INSIDE the search
+ [':red ci', ['large red circle']],
])('shows a correct list of matching emojis when user enters %s', async (input, expected) => {
fillNoteTextarea(input);