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