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