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

step_spec.js.snap « __snapshots__ « components « code_quality_walkthrough « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f17d99ad2574ba9e38102d13f99c7015f4ab24a4 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`When the code_quality_walkthrough URL parameter is present Code Quality Walkthrough Step component commit_ci_file step renders a popover 1`] = `
<div>
  <gl-popover-stub
    container="viewport"
    cssclasses=""
    offset="90"
    placement="right"
    show=""
    target="#js-code-quality-walkthrough"
    triggers="manual"
  >
     
    <gl-sprintf-stub
      message="To begin with code quality, we first need to create a new CI file using our code editor. We added a code quality template in the code editor to help you get started %{emojiStart}wink%{emojiEnd} .%{lineBreak}Take some time to review the template, when you are ready, use the %{strongStart}commit changes%{strongEnd} button at the bottom of the page."
    />
     
    <div
      class="gl-mt-2 gl-text-right"
    >
      <gl-button-stub
        buttontextclasses=""
        category="tertiary"
        href=""
        icon=""
        size="medium"
        variant="link"
      >
        
        Got it
      
      </gl-button-stub>
    </div>
  </gl-popover-stub>
   
  <!---->
</div>
`;

exports[`When the code_quality_walkthrough URL parameter is present Code Quality Walkthrough Step component failed_pipeline step renders a popover 1`] = `
<div>
  <gl-popover-stub
    container="viewport"
    cssclasses=""
    offset="98"
    placement="bottom"
    show=""
    target="#js-code-quality-walkthrough"
    triggers="manual"
  >
     
    <gl-sprintf-stub
      message="Your job failed. No worries - this happens. Let's view the logs, and see how we can fix it."
    />
     
    <div
      class="gl-mt-2 gl-text-right"
    >
      <gl-button-stub
        buttontextclasses=""
        category="tertiary"
        href="/group/project/-/jobs/:id?code_quality_walkthrough=true"
        icon=""
        size="medium"
        variant="link"
      >
        
        View the logs
      
      </gl-button-stub>
    </div>
  </gl-popover-stub>
   
  <!---->
</div>
`;

exports[`When the code_quality_walkthrough URL parameter is present Code Quality Walkthrough Step component running_pipeline step renders a popover 1`] = `
<div>
  <gl-popover-stub
    container="viewport"
    cssclasses=""
    offset="97"
    placement="bottom"
    show=""
    target="#js-code-quality-walkthrough"
    triggers="manual"
  >
     
    <gl-sprintf-stub
      message="Your pipeline can take a few minutes to run. If you enabled email notifications, you'll receive an email with your pipeline status. In the meantime, why don't you get some coffee? You earned it!"
    />
     
    <div
      class="gl-mt-2 gl-text-right"
    >
      <gl-button-stub
        buttontextclasses=""
        category="tertiary"
        href=""
        icon=""
        size="medium"
        variant="link"
      >
        
        Got it
      
      </gl-button-stub>
    </div>
  </gl-popover-stub>
   
  <!---->
</div>
`;

exports[`When the code_quality_walkthrough URL parameter is present Code Quality Walkthrough Step component success_pipeline step renders a popover 1`] = `
<div>
  <gl-popover-stub
    container="viewport"
    cssclasses=""
    offset="98"
    placement="bottom"
    show=""
    target="#js-code-quality-walkthrough"
    triggers="manual"
  >
     
    <gl-sprintf-stub
      message="A code quality job will now run every time you or your team members commit changes to your project. You can view the results of the code quality job in the job logs."
    />
     
    <div
      class="gl-mt-2 gl-text-right"
    >
      <gl-button-stub
        buttontextclasses=""
        category="tertiary"
        href="/group/project/-/jobs/:id?code_quality_walkthrough=true"
        icon=""
        size="medium"
        variant="link"
      >
        
        View the logs
      
      </gl-button-stub>
    </div>
  </gl-popover-stub>
   
  <!---->
</div>
`;

exports[`When the code_quality_walkthrough URL parameter is present Code Quality Walkthrough Step component troubleshoot_job step renders an alert 1`] = `
<div>
  <!---->
   
  <gl-alert-stub
    class="gl-my-5"
    dismissible="true"
    dismisslabel="Dismiss"
    primarybuttontext="Read the documentation"
    secondarybuttonlink=""
    secondarybuttontext=""
    title="Troubleshoot your code quality job"
    variant="tip"
  >
    
    Not sure how to fix your failed job? We have compiled some tips on how to troubleshoot code quality jobs in the documentation.
  
  </gl-alert-stub>
</div>
`;