]> source.dussan.org Git - sonarqube.git/blob
c73bf30606cbc3f78fd7315201ec713786574734
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: jenkins tutorial 1`] = `
4 <Fragment>
5   <Connect(JenkinsTutorial)
6     almBinding={
7       Object {
8         "key": "key",
9         "personalAccessToken": "asdf1234",
10         "url": "http://bbs.enterprise.com",
11       }
12     }
13     component={
14       Object {
15         "breadcrumbs": Array [],
16         "key": "my-project",
17         "name": "MyProject",
18         "organization": "foo",
19         "qualifier": "TRK",
20         "qualityGate": Object {
21           "isDefault": true,
22           "key": "30",
23           "name": "Sonar way",
24         },
25         "qualityProfiles": Array [
26           Object {
27             "deleted": false,
28             "key": "my-qp",
29             "language": "ts",
30             "name": "Sonar way",
31           },
32         ],
33         "tags": Array [],
34       }
35     }
36     projectBinding={
37       Object {
38         "alm": "bitbucket",
39         "key": "foo",
40         "repository": "PROJECT_KEY",
41         "slug": "repo-slug",
42       }
43     }
44   />
45 </Fragment>
46 `;
47
48 exports[`should render correctly: loading 1`] = `
49 <i
50   className="spinner"
51 />
52 `;
53
54 exports[`should render correctly: manual tutorial 1`] = `
55 <Fragment>
56   <ManualTutorial
57     component={
58       Object {
59         "breadcrumbs": Array [],
60         "key": "my-project",
61         "name": "MyProject",
62         "organization": "foo",
63         "qualifier": "TRK",
64         "qualityGate": Object {
65           "isDefault": true,
66           "key": "30",
67           "name": "Sonar way",
68         },
69         "qualityProfiles": Array [
70           Object {
71             "deleted": false,
72             "key": "my-qp",
73             "language": "ts",
74             "name": "Sonar way",
75           },
76         ],
77         "tags": Array [],
78       }
79     }
80     currentUser={
81       Object {
82         "groups": Array [],
83         "isLoggedIn": true,
84         "login": "luke",
85         "name": "Skywalker",
86         "scmAccounts": Array [],
87       }
88     }
89   />
90 </Fragment>
91 `;
92
93 exports[`should render correctly: selection 1`] = `
94 <Fragment>
95   <div
96     className="tutorial-selection"
97   >
98     <header
99       className="spacer-top spacer-bottom padded"
100     >
101       <h1
102         className="text-center big-spacer-bottom"
103       >
104         onboarding.tutorial.choose_method
105       </h1>
106     </header>
107     <div
108       className="display-flex-space-around"
109     >
110       <button
111         className="button button-huge display-flex-column tutorial-mode-jenkins"
112         onClick={[Function]}
113         type="button"
114       >
115         <img
116           alt=""
117           height={80}
118           src="/images/tutorials/jenkins.svg"
119         />
120         <div
121           className="medium big-spacer-top"
122         >
123           onboarding.tutorial.choose_method.jenkins
124         </div>
125       </button>
126       <button
127         className="button button-huge display-flex-column tutorial-mode-manual"
128         onClick={[Function]}
129         type="button"
130       >
131         <img
132           alt=""
133           height={80}
134           src="/images/sonarcloud/analysis/manual.svg"
135         />
136         <div
137           className="medium big-spacer-top"
138         >
139           onboarding.tutorial.choose_method.manual
140         </div>
141       </button>
142     </div>
143   </div>
144 </Fragment>
145 `;