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

dynamic_content_spec.js.snap « __snapshots__ « widget « components « vue_merge_request_widget « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 296d792424365a10b053997ecc59c4a6c1694e82 (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
61
62
63
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`~/vue_merge_request_widget/components/widget/dynamic_content.vue renders given data 1`] = `
"<div class=\\"gl-display-flex gl-border-t gl-py-3 gl-pl-7 gl-align-items-baseline\\">
  <!---->
  <div class=\\"gl-w-full gl-min-w-0\\">
    <div class=\\"gl-display-flex\\">
      <div class=\\"gl-mb-2\\"><strong class=\\"gl-display-block\\">This is a header</strong><span class=\\"gl-display-block\\">This is a subheader</span></div>
      <div class=\\"gl-ml-auto gl-display-flex gl-align-items-baseline\\">
        <help-popover-stub options=\\"[object Object]\\" icon=\\"information-o\\" class=\\"\\">
          <p class=\\"gl-mb-0\\">Widget help popover content</p>
          <!---->
        </help-popover-stub>
        <!---->
      </div>
    </div>
    <div class=\\"gl-display-flex gl-align-items-baseline\\">
      <status-icon-stub level=\\"2\\" name=\\"MyWidget\\" iconname=\\"success\\"></status-icon-stub>
      <div class=\\"gl-display-flex gl-flex-direction-column\\">
        <div>
          <p class=\\"gl-mb-0\\">Main text for the row</p>
          <gl-link-stub href=\\"https://gitlab.com\\">Optional link to display after text</gl-link-stub>
          <!---->
          <gl-badge-stub size=\\"md\\" variant=\\"info\\" iconsize=\\"md\\">
            Badge is optional. Text to be displayed inside badge
          </gl-badge-stub>
          <actions-stub widget=\\"MyWidget\\" tertiarybuttons=\\"\\" class=\\"gl-ml-auto gl-pl-3\\"></actions-stub>
          <p class=\\"gl-m-0 gl-font-sm\\">Optional: Smaller sub-text to be displayed below the main text</p>
        </div>
        <ul class=\\"gl-m-0 gl-p-0 gl-list-style-none\\">
          <li>
            <div class=\\"gl-display-flex gl-align-items-center\\" data-qa-selector=\\"child_content\\">
              <!---->
              <div class=\\"gl-w-full gl-min-w-0\\">
                <div class=\\"gl-display-flex\\">
                  <div class=\\"gl-mb-2\\"><strong class=\\"gl-display-block\\">Child row header</strong>
                    <!---->
                  </div>
                  <!---->
                </div>
                <div class=\\"gl-display-flex gl-align-items-baseline\\">
                  <!---->
                  <div class=\\"gl-display-flex gl-flex-direction-column\\">
                    <div>
                      <p class=\\"gl-mb-0\\">This is recursive. It will be listed in level 3.</p>
                      <!---->
                      <!---->
                      <!---->
                      <actions-stub widget=\\"MyWidget\\" tertiarybuttons=\\"\\" class=\\"gl-ml-auto gl-pl-3\\"></actions-stub>
                      <!---->
                    </div>
                    <!---->
                  </div>
                </div>
              </div>
            </div>
          </li>
        </ul>
      </div>
    </div>
  </div>
</div>"
`;