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 | > |
| 7 | <Route |
| 8 | path="/operationalPolicyModal" |
| 9 | render={[Function]} |
| 10 | /> |
| 11 | <Route |
| 12 | path="/configurationPolicyModal/:componentName" |
| 13 | render={[Function]} |
| 14 | /> |
| 15 | <Route |
| 16 | path="/openLoop" |
| 17 | render={[Function]} |
| 18 | /> |
| 19 | <Route |
| 20 | path="/loopProperties" |
| 21 | render={[Function]} |
| 22 | /> |
| 23 | <Route |
| 24 | path="/userInfo" |
| 25 | render={[Function]} |
| 26 | /> |
| 27 | <Route |
| 28 | path="/closeLoop" |
| 29 | render={[Function]} |
| 30 | /> |
| 31 | <Route |
| 32 | path="/submit" |
| 33 | render={[Function]} |
| 34 | /> |
| 35 | <Route |
| 36 | path="/stop" |
| 37 | render={[Function]} |
| 38 | /> |
| 39 | <Route |
| 40 | path="/restart" |
| 41 | render={[Function]} |
| 42 | /> |
| 43 | <Route |
| 44 | path="/delete" |
| 45 | render={[Function]} |
| 46 | /> |
| 47 | <Route |
| 48 | path="/undeploy" |
| 49 | render={[Function]} |
| 50 | /> |
| 51 | <Route |
| 52 | path="/deploy" |
| 53 | render={[Function]} |
| 54 | /> |
| 55 | <Route |
| 56 | path="/refreshStatus" |
| 57 | render={[Function]} |
| 58 | /> |
| 59 | <Route |
| 60 | path="/logout" |
| 61 | render={[Function]} |
| 62 | /> |
| 63 | <GlobalStyleComponent /> |
| 64 | <Alert |
| 65 | closeLabel="Close alert" |
| 66 | dismissible={true} |
| 67 | onClose={[Function]} |
| 68 | show={false} |
| 69 | transition={ |
| 70 | Object { |
| 71 | "$$typeof": Symbol(react.forward_ref), |
| 72 | "defaultProps": Object { |
| 73 | "appear": false, |
| 74 | "in": false, |
| 75 | "mountOnEnter": false, |
| 76 | "timeout": 300, |
| 77 | "unmountOnExit": false, |
| 78 | }, |
| 79 | "displayName": "Fade", |
| 80 | "render": [Function], |
| 81 | } |
| 82 | } |
| 83 | variant="danger" |
| 84 | /> |
| 85 | <Navbar |
| 86 | collapseOnSelect={false} |
| 87 | expand={true} |
| 88 | variant="light" |
| 89 | > |
| 90 | <NavbarBrand> |
| 91 | <img |
| 92 | alt="" |
| 93 | height="50px" |
| 94 | src={null} |
| 95 | width="234px" |
| 96 | /> |
| 97 | <styled.a> |
| 98 | CLAMP |
| 99 | </styled.a> |
| 100 | </NavbarBrand> |
| 101 | <NavbarToggle |
| 102 | aria-controls="responsive-navbar-nav" |
| 103 | label="Toggle navigation" |
| 104 | /> |
| 105 | <MenuBar |
| 106 | loopName="testLoopName" |
| 107 | /> |
| 108 | <NavbarText> |
| 109 | <styled.a> |
| 110 | Signed in as: |
| 111 | </styled.a> |
| 112 | <Styled(Link) |
| 113 | to="/userInfo" |
| 114 | > |
| 115 | testUser |
| 116 | </Styled(Link)> |
| 117 | <Styled(Link) |
| 118 | to="/logout/" |
| 119 | > |
| 120 | (logout) |
| 121 | </Styled(Link)> |
| 122 | </NavbarText> |
| 123 | </Navbar> |
| 124 | <styled.div> |
| 125 | <styled.div> |
| 126 | Loop Viewer - |
| 127 | testLoopName |
| 128 | </styled.div> |
| 129 | <styled.div> |
| 130 | <withRouter(LoopViewSvg) |
| 131 | loopCache={ |
| 132 | LoopCache { |
| 133 | "loopJsonCache": Object {}, |
| 134 | } |
| 135 | } |
| 136 | /> |
| 137 | <LoopStatus |
| 138 | loopCache={ |
| 139 | LoopCache { |
| 140 | "loopJsonCache": Object {}, |
| 141 | } |
| 142 | } |
| 143 | /> |
| 144 | <LoopLogs |
| 145 | loopCache={ |
| 146 | LoopCache { |
| 147 | "loopJsonCache": Object {}, |
| 148 | } |
| 149 | } |
| 150 | /> |
| 151 | </styled.div> |
| 152 | </styled.div> |
| 153 | </styled.div> |
| 154 | `; |