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