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

utils_spec.js.snap « __snapshots__ « gfm_autocomplete « components « vue_shared « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d8e6e37bb89a00367aa3cc8eef65a82a03511e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`gfm_autocomplete/utils emojis config shows the emoji name and icon in the menu item 1`] = `
"raised_hands 
    <gl-emoji
      
      data-name=\\"raised_hands\\"></gl-emoji>
  "
`;

exports[`gfm_autocomplete/utils issues config shows the iid and title in the menu item within a project context 1`] = `"<small>123456</small> Project context issue title &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"`;

exports[`gfm_autocomplete/utils issues config shows the reference and title in the menu item within a group context 1`] = `"<small>gitlab#987654</small> Group context issue title &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"`;

exports[`gfm_autocomplete/utils labels config shows the title in the menu item 1`] = `
"
        <span class=\\"dropdown-label-box\\" style=\\"background: #123456;\\"></span>
        bug &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"
`;

exports[`gfm_autocomplete/utils members config shows an avatar character, name, parent name, and count in the menu item for a group 1`] = `
"
        <div class=\\"gl-display-flex gl-align-items-center\\">
          <div class=\\"gl-avatar gl-avatar-s24 gl-flex-shrink-0 gl-rounded-small
        gl-display-flex gl-align-items-center gl-justify-content-center\\" aria-hidden=\\"true\\">
            G</div>
          <div class=\\"gl-font-sm gl-line-height-normal gl-ml-3\\">
            <div>1-1s &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt; (2)</div>
            <div class=\\"gl-text-gray-700\\">GitLab Support Team</div>
          </div>
          
        </div>
      "
`;

exports[`gfm_autocomplete/utils members config shows the avatar, name and username in the menu item for a user 1`] = `
"
        <div class=\\"gl-display-flex gl-align-items-center\\">
          <img class=\\"gl-avatar gl-avatar-s24 gl-flex-shrink-0 gl-avatar-circle\\" src=\\"/uploads/-/system/user/avatar/123456/avatar.png\\" alt=\\"\\" />
          <div class=\\"gl-font-sm gl-line-height-normal gl-ml-3\\">
            <div>My Name &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;</div>
            <div class=\\"gl-text-gray-700\\">@myusername</div>
          </div>
          
        </div>
      "
`;

exports[`gfm_autocomplete/utils merge requests config shows the iid and title in the menu item within a project context 1`] = `"<small>123456</small> Project context merge request title &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"`;

exports[`gfm_autocomplete/utils merge requests config shows the reference and title in the menu item within a group context 1`] = `"<small>gitlab!456789</small> Group context merge request title &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"`;

exports[`gfm_autocomplete/utils milestones config shows the title in the menu item 1`] = `"13.2 &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"`;

exports[`gfm_autocomplete/utils quick actions config shows the name, aliases, params and description in the menu item 1`] = `
"<div>/unlabel <small>(or /remove_label)</small> <small>~label1 ~\\"label 2\\"</small></div>
          <div><small><em>Remove all or specific label(s)</em></small></div>"
`;

exports[`gfm_autocomplete/utils snippets config shows the id and title in the menu item 1`] = `"<small>123456</small> Snippet title &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"`;