SymphonyElectron/spec/__snapshots__/snippingTool.spec.ts.snap
Vishwas Shashidhar 198d891c94
feat: SDA-2456: add screen annotate tool (#1103)
* SDA-2456: snipping tool component

- Create a react component
- Stylise the component
- Add functionality to open a new window
- Add event against the `Done` button and upload snippet

* SDA-2456: snipping annotate tool

- Added icons for undo, redo & clear
- Made the snipping tool window & the image container dynamic

* SDA-2456: make image dynamic

* SDA-2456: add snapshot tests

* SDA-2456: add the height & width properties to the image container

* SDA-2456: update snipping tool snapshot

* SDA-2456: add support for button selected border

* SDA-2456: close existing annotate window

* SDA-2456 Changed from class to functional component

* SDA-2456: remove outdated tests

* SDA-2456: fix image dimension issue

* SDA-2456: address PR comments by Kiran

Co-authored-by: psjostrom <per.sjostrom@symphony.com>
2020-11-06 12:13:29 +05:30

66 lines
1.2 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Snipping Tool should render correctly 1`] = `
<div
className="SnippingTool"
lang="en-US"
>
<header>
<div
className="DrawActions"
>
<button
className="ActionButton"
onClick={[Function]}
>
<img
src="../renderer/assets/snip-draw.svg"
/>
</button>
<button
className="ActionButton"
onClick={[Function]}
>
<img
src="../renderer/assets/snip-highlight.svg"
/>
</button>
<button
className="ActionButton"
onClick={[Function]}
>
<img
src="../renderer/assets/snip-erase.svg"
/>
</button>
</div>
<div
className="ClearActions"
>
<button
className="ClearButton"
onClick={[Function]}
>
Clear
</button>
</div>
</header>
<main>
<img
alt="Screen snippet"
className="SnippetImage"
height={600}
src="Screen-Snippet"
width={800}
/>
</main>
<footer>
<button
onClick={[Function]}
>
Done
</button>
</footer>
</div>
`;