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