summaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/components/dialogs/Policy/__snapshots__/PolicyDeploymentEditor.test.js.snap
diff options
context:
space:
mode:
authorbrunomilitzer <bruno.militzer@est.tech>2022-02-11 09:15:36 +0000
committerbrunomilitzer <bruno.militzer@est.tech>2022-02-11 15:52:56 +0000
commitfc2177dfac650f364743277abd4258f4b7b4557a (patch)
treebfce0e4811cbff6877c551556f75986cc5c62318 /gui-clamp/ui-react/src/components/dialogs/Policy/__snapshots__/PolicyDeploymentEditor.test.js.snap
parent5ca5cc1e2607518d1fd2c05421a6e6b8c9cd12ea (diff)
Added Jest Tests on ViewAllPolicies and PolicyDeploymentEditor
Issue-ID: POLICY-3916 Change-Id: I81e34903bf1e8d2d059b755d58eea7738b600829 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Diffstat (limited to 'gui-clamp/ui-react/src/components/dialogs/Policy/__snapshots__/PolicyDeploymentEditor.test.js.snap')
-rw-r--r--gui-clamp/ui-react/src/components/dialogs/Policy/__snapshots__/PolicyDeploymentEditor.test.js.snap71
1 files changed, 71 insertions, 0 deletions
diff --git a/gui-clamp/ui-react/src/components/dialogs/Policy/__snapshots__/PolicyDeploymentEditor.test.js.snap b/gui-clamp/ui-react/src/components/dialogs/Policy/__snapshots__/PolicyDeploymentEditor.test.js.snap
new file mode 100644
index 0000000..7bf297a
--- /dev/null
+++ b/gui-clamp/ui-react/src/components/dialogs/Policy/__snapshots__/PolicyDeploymentEditor.test.js.snap
@@ -0,0 +1,71 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`Verify PolicyDeploymentEditor renders correctly 1`] = `
+<styled.div>
+ <Alert
+ closeLabel="Close alert"
+ dismissible={true}
+ onClose={[Function]}
+ show={false}
+ transition={
+ Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "defaultProps": Object {
+ "appear": false,
+ "in": false,
+ "mountOnEnter": false,
+ "timeout": 300,
+ "unmountOnExit": false,
+ },
+ "render": [Function],
+ }
+ }
+ variant="success"
+ >
+ <styled.div />
+ </Alert>
+ <Alert
+ closeLabel="Close alert"
+ dismissible={true}
+ onClose={[Function]}
+ show={false}
+ transition={
+ Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "defaultProps": Object {
+ "appear": false,
+ "in": false,
+ "mountOnEnter": false,
+ "timeout": 300,
+ "unmountOnExit": false,
+ },
+ "render": [Function],
+ }
+ }
+ variant="danger"
+ >
+ <styled.div />
+ </Alert>
+ <Button
+ active={false}
+ disabled={false}
+ onClick={[Function]}
+ title="Update the policy to the specified PDP Groups/Subgroups"
+ variant="secondary"
+ >
+ Update PDP
+ </Button>
+ <WithStyles(ForwardRef(FormGroup))>
+ <WithStyles(ForwardRef(FormControlLabel))
+ control={
+ <WithStyles(ForwardRef(Checkbox))
+ checked={true}
+ name="monitoring/xacml"
+ onChange={[Function]}
+ />
+ }
+ label="monitoring/xacml"
+ />
+ </WithStyles(ForwardRef(FormGroup))>
+</styled.div>
+`;