SymphonyElectron/spec/__snapshots__/snippingTool.spec.tsx.snap

127 lines
2.6 KiB
Plaintext
Raw Permalink Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Snipping Tool should render correctly 1`] = `
<div
2021-09-24 04:32:45 -05:00
className="snipping-tool"
lang="en-US"
>
<header>
<div
2021-09-24 04:32:45 -05:00
className="draw-actions"
>
<button
2021-09-24 04:32:45 -05:00
className="action-button"
data-testid="pen-button"
onClick={[Function]}
2020-11-09 02:15:07 -06:00
style={
Object {
"border": "2px solid rgba(0, 142, 255, 1)",
}
}
title="Pen"
>
<img
2022-12-13 08:53:41 -06:00
draggable={false}
src={Object {}}
/>
</button>
<button
2021-09-24 04:32:45 -05:00
className="action-button"
data-testid="highlight-button"
onClick={[Function]}
title="Highlight"
>
<img
2022-12-13 08:53:41 -06:00
draggable={false}
src={Object {}}
/>
</button>
<button
2021-09-24 04:32:45 -05:00
className="action-button"
data-testid="erase-button"
onClick={[Function]}
title="Erase"
>
<img
2022-12-13 08:53:41 -06:00
draggable={false}
src={Object {}}
/>
</button>
</div>
<div
2021-09-24 04:32:45 -05:00
className="clear-actions"
>
<button
2021-09-24 04:32:45 -05:00
className="clear-button"
data-testid="clear-button"
onClick={[Function]}
>
Clear
</button>
</div>
</header>
2020-11-20 02:27:52 -06:00
<main>
<div
2021-09-24 04:32:45 -05:00
className="image-container"
2020-11-20 02:27:52 -06:00
>
<AnnotateArea
annotateAreaDimensions={
Object {
"height": 600,
"width": 800,
}
}
backgroundImagePath=""
2020-11-20 02:27:52 -06:00
chosenTool="PEN"
data-testid="annotate-component"
2021-09-24 04:32:45 -05:00
highlightColor="rgba(0, 142, 255, 0.3"
imageDimensions={
Object {
"height": 600,
"width": 800,
}
}
onChange={[Function]}
paths={Array []}
penColor="rgba(0, 142, 255, 1)"
/>
</div>
</main>
<footer>
<button
2022-11-07 03:26:36 -06:00
className="close-button"
data-testid="close-button"
onClick={[Function]}
>
Close
</button>
<button
className="add-to-chat-button"
data-testid="done-button"
onClick={[Function]}
>
2022-11-07 03:26:36 -06:00
Add to chat
</button>
2022-11-07 03:26:36 -06:00
<MenuButton
id="snipping-tool"
listItems={
Array [
Object {
"dataTestId": "COPY_TO_CLIPBOARD",
"event": "copy-to-clipboard",
"name": "Copy to clipboard",
"onClick": [Function],
},
Object {
"dataTestId": "SAVE_AS",
"event": "save-as",
"name": "Save as",
"onClick": [Function],
},
]
}
/>
</footer>
</div>
`;