░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/canvas/ui/features/act_as_modal/react/__tests__/__snapshots__
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: index.test.js.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`ActAsModal renders with panda svgs, user avatar, table, and proceed button present 1`] = ` <div> <CanvasInstUIModal label="Act as User" onDismiss={[Function]} open={true} size="fullscreen" transition="fade" > <ModalBody as="div" padding="medium" variant="default" > <div className="ActAs__body" > <div className="ActAs__svgContainer" > <div className="ActAs__svg" > <ActAsPanda /> </div> <div className="ActAs__svg" > <ActAsMask /> </div> </div> <div className="ActAs__text" > <View as="div" borderColor="primary" display="auto" focusColor="info" focusPosition="offset" overflowX="visible" overflowY="visible" position="static" shouldAnimateFocus={true} size="small" withVisualDebug={false} > <View as="div" borderColor="primary" display="auto" focusColor="info" focusPosition="offset" overflowX="visible" overflowY="visible" padding="0 0 x-small 0" position="static" shouldAnimateFocus={true} textAlign="center" withVisualDebug={false} > <Text as="span" letterSpacing="normal" size="x-large" weight="light" wrap="normal" > Act as foo </Text> </View> <View as="div" borderColor="primary" display="auto" focusColor="info" focusPosition="offset" overflowX="visible" overflowY="visible" position="static" shouldAnimateFocus={true} textAlign="center" withVisualDebug={false} > <Text as="span" letterSpacing="normal" lineHeight="condensed" size="small" wrap="normal" > "Act as" is essentially logging in as this user without a password. You will be able to take any action as if you were this user, and from other users' points of views, it will be as if this user performed them. However, audit logs record that you were the one who performed the actions on behalf of this user. </Text> </View> <View as="div" borderColor="primary" display="auto" focusColor="info" focusPosition="offset" overflowX="visible" overflowY="visible" position="static" shouldAnimateFocus={true} textAlign="center" withVisualDebug={false} > <Avatar color="default" data-fs-exclude={true} display="inline-block" hasInverseColor={false} margin="medium 0 x-small 0" name="foo" onImageLoaded={[Function]} renderIcon={null} shape="circle" size="small" src="testImageUrl" /> </View> <View as="div" borderColor="primary" display="auto" focusColor="info" focusPosition="offset" overflowX="visible" overflowY="visible" position="static" shouldAnimateFocus={true} textAlign="center" withVisualDebug={false} > <Table caption="User details" hover={false} layout="auto" > <Head> <Row> <ColHeader id="actasmodal-category" scope="col" sortDirection="none" textAlign="start" > <ScreenReaderContent as="span" > Category </ScreenReaderContent> </ColHeader> <ColHeader id="actasmodal-userinfo" scope="col" sortDirection="none" textAlign="start" > <ScreenReaderContent as="span" > User information </ScreenReaderContent> </ColHeader> </Row> </Head> <Body> <Row> <Cell textAlign="start" > <Text as="span" letterSpacing="normal" size="small" wrap="normal" > Full Name: </Text> </Cell> <Cell textAlign="end" > <Text as="span" letterSpacing="normal" size="small" weight="bold" wrap="normal" > test user </Text> </Cell> </Row> <Row> <Cell textAlign="start" > <Text as="span" letterSpacing="normal" size="small" wrap="normal" > Display Name: </Text> </Cell> <Cell textAlign="end" > <Text as="span" letterSpacing="normal" size="small" weight="bold" wrap="normal" > foo </Text> </Cell> </Row> <Row> <Cell textAlign="start" > <Text as="span" letterSpacing="normal" size="small" wrap="normal" > Sortable Name: </Text> </Cell> <Cell textAlign="end" > <Text as="span" letterSpacing="normal" size="small" weight="bold" wrap="normal" > bar, baz </Text> </Cell> </Row> <Row> <Cell textAlign="start" > <Text as="span" letterSpacing="normal" size="small" wrap="normal" > Default Email: </Text> </Cell> <Cell textAlign="end" > <Text as="span" letterSpacing="normal" size="small" weight="bold" wrap="normal" > testUser@test.com </Text> </Cell> </Row> </Body> </Table> </View> <View as="div" borderColor="primary" display="auto" focusColor="info" focusPosition="offset" key="qux" margin="large 0 0 0" overflowX="visible" overflowY="visible" position="static" shouldAnimateFocus={true} textAlign="center" withVisualDebug={false} > <Table caption="Login info" hover={false} layout="auto" > <Head> <Row> <ColHeader id="actasmodal-category" scope="col" sortDirection="none" textAlign="start" > <ScreenReaderContent as="span" > Category </ScreenReaderContent> </ColHeader> <ColHeader id="actasmodal-userinfo" scope="col" sortDirection="none" textAlign="start" > <ScreenReaderContent as="span" > User information </ScreenReaderContent> </ColHeader> </Row> </Head> <Body> <Row> <Cell textAlign="start" > <Text as="span" letterSpacing="normal" size="small" wrap="normal" > Login ID: </Text> </Cell> <Cell textAlign="end" > <Text as="span" letterSpacing="normal" size="small" weight="bold" wrap="normal" > qux </Text> </Cell> </Row> <Row> <Cell textAlign="start" > <Text as="span" letterSpacing="normal" size="small" wrap="normal" > SIS ID: </Text> </Cell> <Cell textAlign="end" > <Text as="span" letterSpacing="normal" size="small" weight="bold" wrap="normal" > 555 </Text> </Cell> </Row> <Row> <Cell textAlign="start" > <Text as="span" letterSpacing="normal" size="small" wrap="normal" > Integration ID: </Text> </Cell> <Cell textAlign="end" > <Text as="span" letterSpacing="normal" size="small" weight="bold" wrap="normal" > 222 </Text> </Cell> </Row> </Body> </Table> </View> <View as="div" borderColor="primary" display="auto" focusColor="info" focusPosition="offset" key="tic" margin="large 0 0 0" overflowX="visible" overflowY="visible" position="static" shouldAnimateFocus={true} textAlign="center" withVisualDebug={false} > <Table caption="Login info" hover={false} layout="auto" > <Head> <Row> <ColHeader id="actasmodal-category" scope="col" sortDirection="none" textAlign="start" > <ScreenReaderContent as="span" > Category </ScreenReaderContent> </ColHeader> <ColHeader id="actasmodal-userinfo" scope="col" sortDirection="none" textAlign="start" > <ScreenReaderContent as="span" > User information </ScreenReaderContent> </ColHeader> </Row> </Head> <Body> <Row> <Cell textAlign="start" > <Text as="span" letterSpacing="normal" size="small" wrap="normal" > Login ID: </Text> </Cell> <Cell textAlign="end" > <Text as="span" letterSpacing="normal" size="small" weight="bold" wrap="normal" > tic </Text> </Cell> </Row> <Row> <Cell textAlign="start" > <Text as="span" letterSpacing="normal" size="small" wrap="normal" > SIS ID: </Text> </Cell> <Cell textAlign="end" > <Text as="span" letterSpacing="normal" size="small" weight="bold" wrap="normal" > 777 </Text> </Cell> </Row> <Row> <Cell textAlign="start" > <Text as="span" letterSpacing="normal" size="small" wrap="normal" > Integration ID: </Text> </Cell> <Cell textAlign="end" > <Text as="span" letterSpacing="normal" size="small" weight="bold" wrap="normal" > 888 </Text> </Cell> </Row> </Body> </Table> </View> <View as="div" borderColor="primary" display="auto" focusColor="info" focusPosition="offset" overflowX="visible" overflowY="visible" position="static" shouldAnimateFocus={true} textAlign="center" withVisualDebug={false} > <Button as="button" color="primary" cursor="pointer" data-method="post" display="inline-block" elementRef={[Function]} href="/users/5/masquerade" margin="large 0 0 0" onClick={[Function]} size="medium" textAlign="center" type="button" withBackground={true} > Proceed </Button> </View> </View> </div> </div> </ModalBody> </CanvasInstUIModal> </div> `;
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 index.test.js.snap
SNAP
17.8 KB
2023-09-24 03:39
EDIT