Skip to content

Commit

Permalink
EPMRPP-89560 || Add test automation attributes on Integration page (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim73i authored Apr 16, 2024
1 parent a90f8b0 commit 3a2bf17
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,20 @@ export const IntegrationFormFields = (props) => {
validate={btsIntegrationName}
disabled={disabled}
isRequired
dataAutomationId="integrationNameField"
>
<FieldErrorHint provideHint={false}>
<FieldText defaultWidth={false} />
</FieldErrorHint>
</FieldElement>
<FieldElement name="url" label={LABELS.URL} validate={btsUrl} disabled={disabled} isRequired>
<FieldElement
name="url"
label={LABELS.URL}
validate={btsUrl}
disabled={disabled}
isRequired
dataAutomationId="linkToBTSField"
>
<FieldErrorHint provideHint={false}>
<FieldText defaultWidth={false} />
</FieldErrorHint>
Expand All @@ -40,6 +48,7 @@ export const IntegrationFormFields = (props) => {
validate={btsProjectKey}
disabled={disabled}
isRequired
dataAutomationId="projectKeyInBTSField"
>
<FieldErrorHint provideHint={false}>
<FieldText defaultWidth={false} />
Expand All @@ -51,6 +60,7 @@ export const IntegrationFormFields = (props) => {
validate={email}
disabled={disabled}
isRequired
dataAutomationId="emailBTSField"
>
<FieldErrorHint provideHint={false}>
<FieldText defaultWidth={false} />
Expand All @@ -62,6 +72,7 @@ export const IntegrationFormFields = (props) => {
disabled={disabled}
validate={requiredField}
isRequired
dataAutomationId="apiTokenBTSField"
>
<FieldErrorHint provideHint={false}>
<FieldTextFlex />
Expand Down

0 comments on commit 3a2bf17

Please sign in to comment.