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`] = ` |
sebdet | b8831e5 | 2021-03-12 19:30:22 +0100 | [diff] [blame^] | 4 | <Component |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 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 | > |
sebdet | b8831e5 | 2021-03-12 19:30:22 +0100 | [diff] [blame^] | 36 | <Memo(l) /> |
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 | }, |
xuegao | cc5fe51 | 2020-04-06 13:13:52 +0200 | [diff] [blame] | 122 | "render": [Function], |
| 123 | } |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 124 | } |
xuegao | cc5fe51 | 2020-04-06 13:13:52 +0200 | [diff] [blame] | 125 | variant="success" |
| 126 | /> |
| 127 | <Alert |
| 128 | closeLabel="Close alert" |
| 129 | dismissible={true} |
| 130 | onClose={[Function]} |
| 131 | show={false} |
| 132 | transition={ |
| 133 | Object { |
| 134 | "$$typeof": Symbol(react.forward_ref), |
| 135 | "defaultProps": Object { |
| 136 | "appear": false, |
| 137 | "in": false, |
| 138 | "mountOnEnter": false, |
| 139 | "timeout": 300, |
| 140 | "unmountOnExit": false, |
| 141 | }, |
xuegao | cc5fe51 | 2020-04-06 13:13:52 +0200 | [diff] [blame] | 142 | "render": [Function], |
| 143 | } |
| 144 | } |
| 145 | variant="danger" |
| 146 | /> |
| 147 | </div> |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 148 | <Navbar |
| 149 | collapseOnSelect={false} |
| 150 | expand={true} |
| 151 | variant="light" |
| 152 | > |
| 153 | <NavbarBrand> |
| 154 | <img |
| 155 | alt="" |
| 156 | height="50px" |
| 157 | src={null} |
| 158 | width="234px" |
| 159 | /> |
| 160 | <styled.a> |
| 161 | CLAMP |
| 162 | </styled.a> |
| 163 | </NavbarBrand> |
| 164 | <NavbarToggle |
| 165 | aria-controls="responsive-navbar-nav" |
| 166 | label="Toggle navigation" |
| 167 | /> |
| 168 | <MenuBar |
| 169 | loopName="Empty (NO loop loaded yet)" |
| 170 | /> |
| 171 | <NavbarText> |
| 172 | <styled.a> |
| 173 | Signed in as: |
| 174 | </styled.a> |
| 175 | <Styled(Link) |
| 176 | to="/userInfo" |
| 177 | /> |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 178 | </NavbarText> |
| 179 | </Navbar> |
| 180 | <styled.div> |
| 181 | <styled.div> |
| 182 | Loop Viewer - |
| 183 | Empty (NO loop loaded yet) |
sebdet | edaf4f9 | 2020-04-16 00:43:48 +0200 | [diff] [blame] | 184 | - ( |
| 185 | ) |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 186 | </styled.div> |
| 187 | <styled.div> |
sebdet | c0ec0fc | 2020-05-18 12:31:11 +0200 | [diff] [blame] | 188 | <withRouter(SvgGenerator) |
| 189 | clickable={true} |
| 190 | generatedFrom="INSTANCE" |
Ted Humphrey | 4fb3239 | 2020-07-06 16:59:47 -0400 | [diff] [blame] | 191 | isBusyLoading={[Function]} |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 192 | loopCache={ |
| 193 | LoopCache { |
| 194 | "loopJsonCache": Object {}, |
| 195 | } |
| 196 | } |
| 197 | /> |
| 198 | <LoopStatus |
| 199 | loopCache={ |
| 200 | LoopCache { |
| 201 | "loopJsonCache": Object {}, |
| 202 | } |
| 203 | } |
| 204 | /> |
| 205 | <LoopLogs |
| 206 | loopCache={ |
| 207 | LoopCache { |
| 208 | "loopJsonCache": Object {}, |
| 209 | } |
| 210 | } |
| 211 | /> |
| 212 | </styled.div> |
| 213 | </styled.div> |
| 214 | </styled.div> |
sebdet | b8831e5 | 2021-03-12 19:30:22 +0100 | [diff] [blame^] | 215 | </Component> |
xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame] | 216 | `; |