]> source.dussan.org Git - sonarqube.git/blob
80fad1f182b0f55b988a147baa10aae960a47228
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should preselect paid plan 1`] = `
4 <Step
5   finished={false}
6   onOpen={[Function]}
7   open={true}
8   renderForm={[Function]}
9   renderResult={[Function]}
10   stepNumber={2}
11   stepTitle="onboarding.create_organization.enter_payment_details"
12 />
13 `;
14
15 exports[`should preselect paid plan 2`] = `
16 <div
17   className="boxed-group onboarding-step is-open"
18 >
19   <div
20     className="onboarding-step-number"
21   >
22     2
23   </div>
24   <div
25     className="boxed-group-header"
26   >
27     <h2>
28       onboarding.create_organization.enter_payment_details
29     </h2>
30   </div>
31   <div
32     className=""
33   >
34     <div
35       className="boxed-group-inner"
36     >
37       <Connect(withCurrentUser(BillingFormShim))
38         onCommit={[MockFunction]}
39         onFailToUpgrade={[MockFunction]}
40         organizationKey={[MockFunction]}
41         subscriptionPlans={Array []}
42       >
43         <Component />
44       </Connect(withCurrentUser(BillingFormShim))>
45     </div>
46   </div>
47 </div>
48 `;
49
50 exports[`should render and use free plan 1`] = `
51 <Step
52   finished={false}
53   onOpen={[Function]}
54   open={true}
55   renderForm={[Function]}
56   renderResult={[Function]}
57   stepNumber={2}
58   stepTitle="onboarding.create_organization.choose_plan"
59 />
60 `;
61
62 exports[`should render and use free plan 2`] = `
63 <div
64   className="boxed-group onboarding-step is-open"
65 >
66   <div
67     className="onboarding-step-number"
68   >
69     2
70   </div>
71   <div
72     className="boxed-group-header"
73   >
74     <h2>
75       onboarding.create_organization.choose_plan
76     </h2>
77   </div>
78   <div
79     className=""
80   >
81     <div
82       className="boxed-group-inner"
83     >
84       <PlanSelect
85         onChange={[Function]}
86         plan="free"
87         startingPrice="10"
88       />
89       <div
90         className="display-flex-center big-spacer-top"
91       >
92         <SubmitButton
93           disabled={false}
94           onClick={[Function]}
95         >
96           my_account.create_organization
97         </SubmitButton>
98       </div>
99     </div>
100   </div>
101 </div>
102 `;
103
104 exports[`should upgrade 1`] = `
105 <div
106   className="boxed-group onboarding-step is-open"
107 >
108   <div
109     className="onboarding-step-number"
110   >
111     2
112   </div>
113   <div
114     className="boxed-group-header"
115   >
116     <h2>
117       onboarding.create_organization.choose_plan
118     </h2>
119   </div>
120   <div
121     className=""
122   >
123     <div
124       className="boxed-group-inner"
125     >
126       <PlanSelect
127         onChange={[Function]}
128         plan="paid"
129         startingPrice="10"
130       />
131       <Connect(withCurrentUser(BillingFormShim))
132         onCommit={[MockFunction]}
133         onFailToUpgrade={[MockFunction]}
134         organizationKey={[MockFunction]}
135         subscriptionPlans={Array []}
136       >
137         <Component />
138       </Connect(withCurrentUser(BillingFormShim))>
139     </div>
140   </div>
141 </div>
142 `;