aboutsummaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/AccordionHeader.test.js.snap
diff options
context:
space:
mode:
authorbrunomilitzer <bruno.militzer@est.tech>2021-11-03 11:30:46 +0000
committerbrunomilitzer <bruno.militzer@est.tech>2021-11-03 11:36:04 +0000
commit33391192adecdf86da3547f024ff82fb0cf85535 (patch)
treec44374098647759480821c74122faa8267b8b24f /gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/AccordionHeader.test.js.snap
parent28d5047cecd111e380fe78d2d1d7e4756b78ed12 (diff)
UPDATED Jest Unit Tests for Monitoring Functionality
Updated Unit Tests to cover monitoring functionality Issue-ID: POLICY-3561 Change-Id: I8434cf5d60463d60175ef6e48f0e75e8c4f656da Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Diffstat (limited to 'gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/AccordionHeader.test.js.snap')
-rw-r--r--gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/AccordionHeader.test.js.snap210
1 files changed, 209 insertions, 1 deletions
diff --git a/gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/AccordionHeader.test.js.snap b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/AccordionHeader.test.js.snap
index b4a707b..da86eb7 100644
--- a/gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/AccordionHeader.test.js.snap
+++ b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/AccordionHeader.test.js.snap
@@ -1,3 +1,211 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`Verify AccordionHeader renders correctly 1`] = `""`;
+exports[`Verify AccordionHeader renders correctly 1`] = `
+<styled.div
+ className="panel-header"
+>
+ <ForwardRef
+ as={
+ Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "attrs": Array [],
+ "componentStyle": e {
+ "baseHash": -417256348,
+ "baseStyle": undefined,
+ "componentId": "sc-hKFxyN",
+ "isStatic": false,
+ "rules": Array [
+ "
+ color: #000000;
+ text-decoration: none;
+
+ :hover, :active {
+ color: #000000;
+ text-decoration: none !important;
+ }
+",
+ ],
+ "staticRulesId": "",
+ },
+ "foldedComponentIds": Array [],
+ "render": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-hKFxyN",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "defaultProps": Object {
+ "active": false,
+ "disabled": false,
+ "variant": "primary",
+ },
+ "render": [Function],
+ },
+ "toString": [Function],
+ "warnTooManyClasses": [Function],
+ "withComponent": [Function],
+ }
+ }
+ eventKey="0"
+ variant="link"
+ />
+</styled.div>
+`;
+
+exports[`Verify AccordionHeader renders correctly when orderState is passive 1`] = `
+<styled.div
+ className="panel-header"
+>
+ <ForwardRef
+ as={
+ Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "attrs": Array [],
+ "componentStyle": e {
+ "baseHash": -417256348,
+ "baseStyle": undefined,
+ "componentId": "sc-hKFxyN",
+ "isStatic": false,
+ "rules": Array [
+ "
+ color: #000000;
+ text-decoration: none;
+
+ :hover, :active {
+ color: #000000;
+ text-decoration: none !important;
+ }
+",
+ ],
+ "staticRulesId": "",
+ },
+ "foldedComponentIds": Array [],
+ "render": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-hKFxyN",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "defaultProps": Object {
+ "active": false,
+ "disabled": false,
+ "variant": "primary",
+ },
+ "render": [Function],
+ },
+ "toString": [Function],
+ "warnTooManyClasses": [Function],
+ "withComponent": [Function],
+ }
+ }
+ eventKey="0"
+ variant="link"
+ >
+ PASSIVE_TEST
+ </ForwardRef>
+</styled.div>
+`;
+
+exports[`Verify AccordionHeader renders correctly when orderState is running 1`] = `
+<styled.div
+ className="panel-header"
+>
+ <ForwardRef
+ as={
+ Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "attrs": Array [],
+ "componentStyle": e {
+ "baseHash": -417256348,
+ "baseStyle": undefined,
+ "componentId": "sc-hKFxyN",
+ "isStatic": false,
+ "rules": Array [
+ "
+ color: #000000;
+ text-decoration: none;
+
+ :hover, :active {
+ color: #000000;
+ text-decoration: none !important;
+ }
+",
+ ],
+ "staticRulesId": "",
+ },
+ "foldedComponentIds": Array [],
+ "render": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-hKFxyN",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "defaultProps": Object {
+ "active": false,
+ "disabled": false,
+ "variant": "primary",
+ },
+ "render": [Function],
+ },
+ "toString": [Function],
+ "warnTooManyClasses": [Function],
+ "withComponent": [Function],
+ }
+ }
+ eventKey="0"
+ variant="link"
+ >
+ RUNNING_TEST
+ </ForwardRef>
+</styled.div>
+`;
+
+exports[`Verify AccordionHeader renders correctly when orderState is uninitialized 1`] = `
+<styled.div
+ className="panel-header"
+>
+ <ForwardRef
+ as={
+ Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "attrs": Array [],
+ "componentStyle": e {
+ "baseHash": -417256348,
+ "baseStyle": undefined,
+ "componentId": "sc-hKFxyN",
+ "isStatic": false,
+ "rules": Array [
+ "
+ color: #000000;
+ text-decoration: none;
+
+ :hover, :active {
+ color: #000000;
+ text-decoration: none !important;
+ }
+",
+ ],
+ "staticRulesId": "",
+ },
+ "foldedComponentIds": Array [],
+ "render": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-hKFxyN",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "defaultProps": Object {
+ "active": false,
+ "disabled": false,
+ "variant": "primary",
+ },
+ "render": [Function],
+ },
+ "toString": [Function],
+ "warnTooManyClasses": [Function],
+ "withComponent": [Function],
+ }
+ }
+ eventKey="0"
+ variant="link"
+ >
+ UNINITIALISED_TEST
+ </ForwardRef>
+</styled.div>
+`;