chore: add major data-test attributes
This commit is contained in:
@@ -126,6 +126,7 @@ export default function Application(): React.ReactElement | null {
|
||||
component={NewConnectionLink}
|
||||
fullWidth
|
||||
icon={<AddIcon />}
|
||||
data-test="add-connection-button"
|
||||
>
|
||||
{formatMessage('app.addConnection')}
|
||||
</ConditionalIconButton>
|
||||
|
@@ -69,6 +69,7 @@ export default function Applications(): React.ReactElement {
|
||||
component={NewAppConnectionLink}
|
||||
fullWidth
|
||||
icon={<AddIcon />}
|
||||
data-test="add-connection-button"
|
||||
>
|
||||
{formatMessage('apps.addConnection')}
|
||||
</ConditionalIconButton>
|
||||
@@ -77,7 +78,7 @@ export default function Applications(): React.ReactElement {
|
||||
|
||||
<Divider sx={{ mt: [2, 0], mb: 2 }} />
|
||||
|
||||
{loading && <CircularProgress sx={{ display: 'block', margin: '20px auto' }} />}
|
||||
{loading && <CircularProgress data-test="apps-loader" sx={{ display: 'block', margin: '20px auto' }} />}
|
||||
|
||||
{!loading && !hasApps && (<NoResultFound
|
||||
text={formatMessage('apps.noConnections')}
|
||||
|
@@ -54,7 +54,7 @@ export default function Executions(): React.ReactElement {
|
||||
|
||||
<Divider sx={{ mt: [2, 0], mb: 2 }} />
|
||||
|
||||
{loading && <CircularProgress sx={{ display: 'block', margin: '20px auto' }} />}
|
||||
{loading && <CircularProgress data-test="executions-loader" sx={{ display: 'block', margin: '20px auto' }} />}
|
||||
|
||||
{!loading && !hasExecutions && (<NoResultFound
|
||||
text={formatMessage('executions.noExecutions')}
|
||||
|
@@ -110,6 +110,7 @@ export default function Flows(): React.ReactElement {
|
||||
component={CreateFlowLink}
|
||||
fullWidth
|
||||
icon={<AddIcon />}
|
||||
data-test="create-flow-button"
|
||||
>
|
||||
{formatMessage('flows.create')}
|
||||
</ConditionalIconButton>
|
||||
|
Reference in New Issue
Block a user