xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | |
| 3 | exports[`Verify OnapClamp Test the render method 1`] = ` |
| 4 | <ThemeProvider |
| 5 | theme={ |
| 6 | Object { |
| 7 | "backgroundColor": "#eeeeee", |
| 8 | "fontDanger": "#eb238e", |
| 9 | "fontDark": "#888888", |
| 10 | "fontFamily": "Arial, Sans-serif", |
| 11 | "fontHighlight": "#ffff00", |
| 12 | "fontLight": "#ffffff", |
| 13 | "fontNormal": "black", |
| 14 | "fontSize": "16px", |
| 15 | "fontWarning": "#eb238e", |
sebdet | edaf4f9 | 2020-04-16 00:43:48 +0200 | [diff] [blame] | 16 | "loopLogsHeaderBackgroundColor": "white", |
| 17 | "loopLogsHeaderFontColor": "black", |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 18 | "loopViewerBackgroundColor": "white", |
| 19 | "loopViewerFontColor": "yellow", |
| 20 | "loopViewerHeaderBackgroundColor": "#337ab7", |
| 21 | "loopViewerHeaderFontColor": "white", |
| 22 | "menuBackgroundColor": "white", |
| 23 | "menuFontColor": "black", |
| 24 | "menuHighlightedBackgroundColor": "#337ab7", |
| 25 | "menuHighlightedFontColor": "white", |
drveerendra | 684057e | 2019-11-11 19:37:39 -0500 | [diff] [blame] | 26 | "toscaTextareaBackgroundColor": "#E8E8E8", |
| 27 | "toscaTextareaFontSize": "13px", |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 28 | } |
| 29 | } |
| 30 | > |
| 31 | <styled.div |
| 32 | id="main_div" |
| 33 | > |
| 34 | <Route |
ash74268 | 3a83e2a | 2020-01-31 15:40:15 +0000 | [diff] [blame] | 35 | path="/uploadToscaPolicyModal" |
| 36 | render={[Function]} |
| 37 | /> |
| 38 | <Route |
drveerendra | 684057e | 2019-11-11 19:37:39 -0500 | [diff] [blame] | 39 | path="/viewToscaPolicyModal" |
| 40 | render={[Function]} |
| 41 | /> |
| 42 | <Route |
sebdet | 3b7f669 | 2020-02-17 06:03:31 -0800 | [diff] [blame] | 43 | path="/ViewLoopTemplatesModal" |
drveerendra | f6b2625 | 2019-10-31 12:45:30 -0400 | [diff] [blame] | 44 | render={[Function]} |
| 45 | /> |
| 46 | <Route |
drveerendra | 5032095 | 2020-03-04 20:30:44 -0500 | [diff] [blame] | 47 | path="/ManageDictionaries" |
| 48 | render={[Function]} |
| 49 | /> |
| 50 | <Route |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 51 | path="/operationalPolicyModal" |
| 52 | render={[Function]} |
| 53 | /> |
| 54 | <Route |
sebdet | c11160e | 2020-02-25 15:13:31 -0800 | [diff] [blame] | 55 | path="/policyModal/:policyInstanceType/:policyName" |
| 56 | render={[Function]} |
| 57 | /> |
| 58 | <Route |
| 59 | path="/configurationPolicyModal/:policyName" |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 60 | render={[Function]} |
| 61 | /> |
| 62 | <Route |
sebdet | d2a4df0 | 2020-02-26 15:47:30 -0800 | [diff] [blame] | 63 | path="/createLoop" |
| 64 | render={[Function]} |
| 65 | /> |
| 66 | <Route |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 67 | path="/openLoop" |
| 68 | render={[Function]} |
| 69 | /> |
| 70 | <Route |
| 71 | path="/loopProperties" |
| 72 | render={[Function]} |
| 73 | /> |
| 74 | <Route |
sebdet | aa486be | 2020-02-18 02:00:11 -0800 | [diff] [blame] | 75 | path="/modifyLoop" |
| 76 | render={[Function]} |
| 77 | /> |
| 78 | <Route |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 79 | path="/userInfo" |
| 80 | render={[Function]} |
| 81 | /> |
| 82 | <Route |
| 83 | path="/closeLoop" |
| 84 | render={[Function]} |
| 85 | /> |
| 86 | <Route |
| 87 | path="/submit" |
| 88 | render={[Function]} |
| 89 | /> |
| 90 | <Route |
| 91 | path="/stop" |
| 92 | render={[Function]} |
| 93 | /> |
| 94 | <Route |
| 95 | path="/restart" |
| 96 | render={[Function]} |
| 97 | /> |
| 98 | <Route |
| 99 | path="/delete" |
| 100 | render={[Function]} |
| 101 | /> |
| 102 | <Route |
| 103 | path="/undeploy" |
| 104 | render={[Function]} |
| 105 | /> |
| 106 | <Route |
| 107 | path="/deploy" |
| 108 | render={[Function]} |
| 109 | /> |
| 110 | <Route |
| 111 | path="/refreshStatus" |
| 112 | render={[Function]} |
| 113 | /> |
| 114 | <Route |
| 115 | path="/logout" |
| 116 | render={[Function]} |
| 117 | /> |
| 118 | <GlobalStyleComponent /> |
xuegao | cc5fe51 | 2020-04-06 13:13:52 +0200 | [diff] [blame] | 119 | <div> |
| 120 | <Alert |
| 121 | closeLabel="Close alert" |
| 122 | dismissible={true} |
| 123 | onClose={[Function]} |
| 124 | show={false} |
| 125 | transition={ |
| 126 | Object { |
| 127 | "$$typeof": Symbol(react.forward_ref), |
| 128 | "defaultProps": Object { |
| 129 | "appear": false, |
| 130 | "in": false, |
| 131 | "mountOnEnter": false, |
| 132 | "timeout": 300, |
| 133 | "unmountOnExit": false, |
| 134 | }, |
| 135 | "displayName": "Fade", |
| 136 | "render": [Function], |
| 137 | } |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 138 | } |
xuegao | cc5fe51 | 2020-04-06 13:13:52 +0200 | [diff] [blame] | 139 | variant="success" |
| 140 | /> |
| 141 | <Alert |
| 142 | closeLabel="Close alert" |
| 143 | dismissible={true} |
| 144 | onClose={[Function]} |
| 145 | show={false} |
| 146 | transition={ |
| 147 | Object { |
| 148 | "$$typeof": Symbol(react.forward_ref), |
| 149 | "defaultProps": Object { |
| 150 | "appear": false, |
| 151 | "in": false, |
| 152 | "mountOnEnter": false, |
| 153 | "timeout": 300, |
| 154 | "unmountOnExit": false, |
| 155 | }, |
| 156 | "displayName": "Fade", |
| 157 | "render": [Function], |
| 158 | } |
| 159 | } |
| 160 | variant="danger" |
| 161 | /> |
| 162 | </div> |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 163 | <Navbar |
| 164 | collapseOnSelect={false} |
| 165 | expand={true} |
| 166 | variant="light" |
| 167 | > |
| 168 | <NavbarBrand> |
| 169 | <img |
| 170 | alt="" |
| 171 | height="50px" |
| 172 | src={null} |
| 173 | width="234px" |
| 174 | /> |
| 175 | <styled.a> |
| 176 | CLAMP |
| 177 | </styled.a> |
| 178 | </NavbarBrand> |
| 179 | <NavbarToggle |
| 180 | aria-controls="responsive-navbar-nav" |
| 181 | label="Toggle navigation" |
| 182 | /> |
| 183 | <MenuBar |
| 184 | loopName="Empty (NO loop loaded yet)" |
| 185 | /> |
| 186 | <NavbarText> |
| 187 | <styled.a> |
| 188 | Signed in as: |
| 189 | </styled.a> |
| 190 | <Styled(Link) |
| 191 | to="/userInfo" |
| 192 | /> |
| 193 | <Styled(Link) |
| 194 | to="/logout/" |
| 195 | > |
| 196 | (logout) |
| 197 | </Styled(Link)> |
| 198 | </NavbarText> |
| 199 | </Navbar> |
| 200 | <styled.div> |
| 201 | <styled.div> |
| 202 | Loop Viewer - |
| 203 | Empty (NO loop loaded yet) |
sebdet | edaf4f9 | 2020-04-16 00:43:48 +0200 | [diff] [blame] | 204 | - ( |
| 205 | ) |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 206 | </styled.div> |
| 207 | <styled.div> |
sebdet | c0ec0fc | 2020-05-18 12:31:11 +0200 | [diff] [blame^] | 208 | <withRouter(SvgGenerator) |
| 209 | clickable={true} |
| 210 | generatedFrom="INSTANCE" |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 211 | loopCache={ |
| 212 | LoopCache { |
| 213 | "loopJsonCache": Object {}, |
| 214 | } |
| 215 | } |
| 216 | /> |
| 217 | <LoopStatus |
| 218 | loopCache={ |
| 219 | LoopCache { |
| 220 | "loopJsonCache": Object {}, |
| 221 | } |
| 222 | } |
| 223 | /> |
| 224 | <LoopLogs |
| 225 | loopCache={ |
| 226 | LoopCache { |
| 227 | "loopJsonCache": Object {}, |
| 228 | } |
| 229 | } |
| 230 | /> |
| 231 | </styled.div> |
| 232 | </styled.div> |
| 233 | </styled.div> |
| 234 | </ThemeProvider> |
| 235 | `; |