]> source.dussan.org Git - sonarqube.git/blob
001c0cbe6ad2c867b50d55b3f646a4217ed17c89
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: default 1`] = `
4 <Fragment>
5   <Step
6     finished={false}
7     onOpen={[Function]}
8     open={true}
9     renderForm={[Function]}
10     stepNumber={1}
11     stepTitle="onboarding.tutorial.with.bitbucket_pipelines.create_secret.title"
12   />
13   <Step
14     finished={false}
15     onOpen={[Function]}
16     open={false}
17     renderForm={[Function]}
18     stepNumber={2}
19     stepTitle="onboarding.tutorial.with.bitbucket_pipelines.yaml.title"
20   />
21   <AllSetStep
22     alm="github"
23     open={false}
24     stepNumber={3}
25     willRefreshAutomatically={true}
26   />
27 </Fragment>
28 `;
29
30 exports[`should render correctly: no binding 1`] = `
31 <Fragment>
32   <Step
33     finished={false}
34     onOpen={[Function]}
35     open={true}
36     renderForm={[Function]}
37     stepNumber={1}
38     stepTitle="onboarding.tutorial.with.bitbucket_pipelines.create_secret.title"
39   />
40   <Step
41     finished={false}
42     onOpen={[Function]}
43     open={false}
44     renderForm={[Function]}
45     stepNumber={2}
46     stepTitle="onboarding.tutorial.with.bitbucket_pipelines.yaml.title"
47   />
48   <AllSetStep
49     alm="bitbucketcloud"
50     open={false}
51     stepNumber={3}
52     willRefreshAutomatically={true}
53   />
54 </Fragment>
55 `;
56
57 exports[`should render correctly: repo variable step content 1`] = `
58 <RepositoryVariables
59   almBinding={
60     {
61       "alm": "github",
62       "key": "key",
63     }
64   }
65   baseUrl="test"
66   component={
67     {
68       "breadcrumbs": [],
69       "key": "my-project",
70       "name": "MyProject",
71       "qualifier": "TRK",
72       "qualityGate": {
73         "isDefault": true,
74         "key": "30",
75         "name": "Sonar way",
76       },
77       "qualityProfiles": [
78         {
79           "deleted": false,
80           "key": "my-qp",
81           "language": "ts",
82           "name": "Sonar way",
83         },
84       ],
85       "tags": [],
86     }
87   }
88   currentUser={
89     {
90       "dismissedNotices": {
91         "educationPrinciples": false,
92       },
93       "groups": [],
94       "isLoggedIn": true,
95       "login": "luke",
96       "name": "Skywalker",
97       "scmAccounts": [],
98     }
99   }
100   onDone={[Function]}
101   projectBinding={
102     {
103       "alm": "bitbucketcloud",
104       "key": "foo",
105       "monorepo": true,
106       "repository": "repo-slug",
107     }
108   }
109 />
110 `;
111
112 exports[`should render correctly: yaml file step content 1`] = `
113 <withCLanguageFeature(YamlFileStep)>
114   [Function]
115 </withCLanguageFeature(YamlFileStep)>
116 `;