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 | > |
Ted Humphrey | 4fb3239 | 2020-07-06 16:59:47 -0400 | [diff] [blame] | 34 | <GlobalStyleComponent /> |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 35 | <Route |
ash74268 | 3a83e2a | 2020-01-31 15:40:15 +0000 | [diff] [blame] | 36 | path="/uploadToscaPolicyModal" |
| 37 | render={[Function]} |
| 38 | /> |
| 39 | <Route |
drveerendra | 684057e | 2019-11-11 19:37:39 -0500 | [diff] [blame] | 40 | path="/viewToscaPolicyModal" |
| 41 | render={[Function]} |
| 42 | /> |
| 43 | <Route |
sebdet | eb8e3f1 | 2021-01-24 18:12:36 +0100 | [diff] [blame] | 44 | path="/viewLoopTemplatesModal" |
drveerendra | f6b2625 | 2019-10-31 12:45:30 -0400 | [diff] [blame] | 45 | render={[Function]} |
| 46 | /> |
| 47 | <Route |
sebdet | eb8e3f1 | 2021-01-24 18:12:36 +0100 | [diff] [blame] | 48 | path="/manageDictionaries" |
| 49 | render={[Function]} |
| 50 | /> |
| 51 | <Route |
| 52 | path="/viewAllPolicies" |
drveerendra | 5032095 | 2020-03-04 20:30:44 -0500 | [diff] [blame] | 53 | render={[Function]} |
| 54 | /> |
| 55 | <Route |
sebdet | c11160e | 2020-02-25 15:13:31 -0800 | [diff] [blame] | 56 | path="/policyModal/:policyInstanceType/:policyName" |
| 57 | render={[Function]} |
| 58 | /> |
| 59 | <Route |
sebdet | d2a4df0 | 2020-02-26 15:47:30 -0800 | [diff] [blame] | 60 | path="/createLoop" |
| 61 | render={[Function]} |
| 62 | /> |
| 63 | <Route |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 64 | path="/openLoop" |
| 65 | render={[Function]} |
| 66 | /> |
| 67 | <Route |
| 68 | path="/loopProperties" |
| 69 | render={[Function]} |
| 70 | /> |
| 71 | <Route |
sebdet | aa486be | 2020-02-18 02:00:11 -0800 | [diff] [blame] | 72 | path="/modifyLoop" |
| 73 | render={[Function]} |
| 74 | /> |
| 75 | <Route |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 76 | path="/userInfo" |
| 77 | render={[Function]} |
| 78 | /> |
| 79 | <Route |
| 80 | path="/closeLoop" |
| 81 | render={[Function]} |
| 82 | /> |
| 83 | <Route |
| 84 | path="/submit" |
| 85 | render={[Function]} |
| 86 | /> |
| 87 | <Route |
| 88 | path="/stop" |
| 89 | render={[Function]} |
| 90 | /> |
| 91 | <Route |
| 92 | path="/restart" |
| 93 | render={[Function]} |
| 94 | /> |
| 95 | <Route |
| 96 | path="/delete" |
| 97 | render={[Function]} |
| 98 | /> |
| 99 | <Route |
| 100 | path="/undeploy" |
| 101 | render={[Function]} |
| 102 | /> |
| 103 | <Route |
| 104 | path="/deploy" |
| 105 | render={[Function]} |
| 106 | /> |
| 107 | <Route |
| 108 | path="/refreshStatus" |
| 109 | render={[Function]} |
| 110 | /> |
Ted Humphrey | 4fb3239 | 2020-07-06 16:59:47 -0400 | [diff] [blame] | 111 | <div /> |
xuegao | cc5fe51 | 2020-04-06 13:13:52 +0200 | [diff] [blame] | 112 | <div> |
| 113 | <Alert |
| 114 | closeLabel="Close alert" |
| 115 | dismissible={true} |
| 116 | onClose={[Function]} |
| 117 | show={false} |
| 118 | transition={ |
| 119 | Object { |
| 120 | "$$typeof": Symbol(react.forward_ref), |
| 121 | "defaultProps": Object { |
| 122 | "appear": false, |
| 123 | "in": false, |
| 124 | "mountOnEnter": false, |
| 125 | "timeout": 300, |
| 126 | "unmountOnExit": false, |
| 127 | }, |
| 128 | "displayName": "Fade", |
| 129 | "render": [Function], |
| 130 | } |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 131 | } |
xuegao | cc5fe51 | 2020-04-06 13:13:52 +0200 | [diff] [blame] | 132 | variant="success" |
| 133 | /> |
| 134 | <Alert |
| 135 | closeLabel="Close alert" |
| 136 | dismissible={true} |
| 137 | onClose={[Function]} |
| 138 | show={false} |
| 139 | transition={ |
| 140 | Object { |
| 141 | "$$typeof": Symbol(react.forward_ref), |
| 142 | "defaultProps": Object { |
| 143 | "appear": false, |
| 144 | "in": false, |
| 145 | "mountOnEnter": false, |
| 146 | "timeout": 300, |
| 147 | "unmountOnExit": false, |
| 148 | }, |
| 149 | "displayName": "Fade", |
| 150 | "render": [Function], |
| 151 | } |
| 152 | } |
| 153 | variant="danger" |
| 154 | /> |
| 155 | </div> |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 156 | <Navbar |
| 157 | collapseOnSelect={false} |
| 158 | expand={true} |
| 159 | variant="light" |
| 160 | > |
| 161 | <NavbarBrand> |
| 162 | <img |
| 163 | alt="" |
| 164 | height="50px" |
| 165 | src={null} |
| 166 | width="234px" |
| 167 | /> |
| 168 | <styled.a> |
| 169 | CLAMP |
| 170 | </styled.a> |
| 171 | </NavbarBrand> |
| 172 | <NavbarToggle |
| 173 | aria-controls="responsive-navbar-nav" |
| 174 | label="Toggle navigation" |
| 175 | /> |
| 176 | <MenuBar |
| 177 | loopName="Empty (NO loop loaded yet)" |
| 178 | /> |
| 179 | <NavbarText> |
| 180 | <styled.a> |
| 181 | Signed in as: |
| 182 | </styled.a> |
| 183 | <Styled(Link) |
| 184 | to="/userInfo" |
| 185 | /> |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 186 | </NavbarText> |
| 187 | </Navbar> |
| 188 | <styled.div> |
| 189 | <styled.div> |
| 190 | Loop Viewer - |
| 191 | Empty (NO loop loaded yet) |
sebdet | edaf4f9 | 2020-04-16 00:43:48 +0200 | [diff] [blame] | 192 | - ( |
| 193 | ) |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 194 | </styled.div> |
| 195 | <styled.div> |
sebdet | c0ec0fc | 2020-05-18 12:31:11 +0200 | [diff] [blame] | 196 | <withRouter(SvgGenerator) |
| 197 | clickable={true} |
| 198 | generatedFrom="INSTANCE" |
Ted Humphrey | 4fb3239 | 2020-07-06 16:59:47 -0400 | [diff] [blame] | 199 | isBusyLoading={[Function]} |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 200 | loopCache={ |
| 201 | LoopCache { |
| 202 | "loopJsonCache": Object {}, |
| 203 | } |
| 204 | } |
| 205 | /> |
| 206 | <LoopStatus |
| 207 | loopCache={ |
| 208 | LoopCache { |
| 209 | "loopJsonCache": Object {}, |
| 210 | } |
| 211 | } |
| 212 | /> |
| 213 | <LoopLogs |
| 214 | loopCache={ |
| 215 | LoopCache { |
| 216 | "loopJsonCache": Object {}, |
| 217 | } |
| 218 | } |
| 219 | /> |
| 220 | </styled.div> |
| 221 | </styled.div> |
| 222 | </styled.div> |
| 223 | </ThemeProvider> |
| 224 | `; |