Skip to content
Snippets Groups Projects
Commit 9f5076a9 authored by Alexandru Munteanu's avatar Alexandru Munteanu
Browse files

chore(dashboard-card): add data-test attributes

parent a157387c
No related branches found
No related tags found
No related merge requests found
......@@ -26,12 +26,12 @@ const EditorInChiefActions = ({
const handlingEditor = getHandlingEditor()
return (
<Root>
<HEActions>
<HEActions data-test="eic-assign">
{handlingEditor ? (
<HEActions>
<HEName>{get(handlingEditor, 'name')}</HEName>
{!handlingEditor.hasAnswer && (
<HEActions>
<HEActions data-test="eic-after-assign">
<div onClick={showConfirmModal('resend')}>
<Icon color={theme.colorPrimary}>refresh-cw</Icon>
</div>
......
......@@ -27,7 +27,7 @@ const DeclineModal = compose(
placeholder="Decline reason (optional)"
value={reason}
/>
<div>
<div data-test="he-buttons">
<Button onClick={hideModal}>Cancel</Button>
<Button onClick={onConfirm(reason)} primary>
Decline
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment