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