Skip to content
Snippets Groups Projects
Commit e0cb9f68 authored by Daniel Sandu's avatar Daniel Sandu
Browse files

Merge branch 'HIN-979' of gitlab.coko.foundation:xpub/xpub-faraday into HIN-979

parents a57327ad 27e4c411
No related branches found
No related tags found
2 merge requests!110Sprint 21 Features,!94Hin 979
...@@ -70,6 +70,7 @@ const FileSection = ({ ...@@ -70,6 +70,7 @@ const FileSection = ({
onUpload={onFilePick} onUpload={onFilePick}
> >
<ActionLink <ActionLink
data-test-id={`add-file-${listId}`}
disabled={files.length >= maxFiles} disabled={files.length >= maxFiles}
icon="plus" icon="plus"
size="small" size="small"
......
...@@ -23,7 +23,11 @@ const SubmissionConfirmation = ({ history, journal }) => ( ...@@ -23,7 +23,11 @@ const SubmissionConfirmation = ({ history, journal }) => (
</Text> </Text>
</Row> </Row>
<Row justify="center"> <Row justify="center">
<Button onClick={() => history.push('/')} primary> <Button
data-test-id="go-to-dashboard"
onClick={() => history.push('/')}
primary
>
GO TO DASHBOARD GO TO DASHBOARD
</Button> </Button>
</Row> </Row>
......
...@@ -34,7 +34,7 @@ const sizeValidator = manuscriptIdSizeValidator(7) ...@@ -34,7 +34,7 @@ const sizeValidator = manuscriptIdSizeValidator(7)
const Enhanched = () => ( const Enhanched = () => (
<Row> <Row>
<Item vertical> <Item data-test-id="manuscript-id" vertical>
<Label required>Manuscript ID</Label> <Label required>Manuscript ID</Label>
<ValidatedField <ValidatedField
component={TextField} component={TextField}
...@@ -77,7 +77,7 @@ const FormModal = reduxForm({ ...@@ -77,7 +77,7 @@ const FormModal = reduxForm({
title="Accept Manuscript" title="Accept Manuscript"
> >
{showModal => ( {showModal => (
<Button onClick={showModal} primary> <Button data-test-id="eqs-yes-button" onClick={showModal} primary>
YES YES
</Button> </Button>
)} )}
...@@ -116,7 +116,11 @@ const EQSDecisionPage = ({ ...@@ -116,7 +116,11 @@ const EQSDecisionPage = ({
subtitle="Are you sure you want to reject this manuscript?" subtitle="Are you sure you want to reject this manuscript?"
title="Reject manuscript" title="Reject manuscript"
> >
{showModal => <Button onClick={showModal}>NO</Button>} {showModal => (
<Button data-test-id="eqs-no-button" onClick={showModal}>
NO
</Button>
)}
</OpenModal> </OpenModal>
<FormModal <FormModal
isFetching={isFetching} isFetching={isFetching}
......
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