move after unit tests and use upload icon, w/ lantz

This commit is contained in:
burnettk 2023-05-31 10:44:25 -04:00
parent ede43ab0b9
commit 70933892d5
No known key found for this signature in database
1 changed files with 11 additions and 7 deletions

View File

@ -5,7 +5,7 @@ import {
Edit,
Favorite,
TrashCan,
NextOutline,
Upload,
View,
// @ts-ignore
} from '@carbon/icons-react';
@ -664,7 +664,7 @@ export default function ProcessModelShow() {
<Button
kind="ghost"
data-qa="publish-process-model-button"
renderIcon={NextOutline}
renderIcon={Upload}
iconDescription="Publish Changes"
hasIconOnly
onClick={publishProcessModel}
@ -707,6 +707,15 @@ export default function ProcessModelShow() {
</Button>
</Can>
) : null}
<Can
I="POST"
a={targetUris.processModelTestsPath}
ability={ability}
>
{hasTestCaseFiles ? (
<ProcessModelTestRun buttonType="text" />
) : null}
</Can>
<Can
I="POST"
a={targetUris.processModelFileCreatePath}
@ -715,11 +724,6 @@ export default function ProcessModelShow() {
{newUx2 ? addFileComponent() : null}
</Can>
</Can>
<Can I="POST" a={targetUris.processModelTestsPath} ability={ability}>
{hasTestCaseFiles ? (
<ProcessModelTestRun buttonType="text" />
) : null}
</Can>
</Stack>
{processModelFilesSection()}
<Can I="GET" a={targetUris.processInstanceListPath} ability={ability}>