diff --git a/app/javascript/components/workflow-credential-mapping-form/workflow-credential-mapping-form.schema.js b/app/javascript/components/workflow-credential-mapping-form/workflow-credential-mapping-form.schema.js index 9855d5fa885..08e4bd9a995 100644 --- a/app/javascript/components/workflow-credential-mapping-form/workflow-credential-mapping-form.schema.js +++ b/app/javascript/components/workflow-credential-mapping-form/workflow-credential-mapping-form.schema.js @@ -73,14 +73,15 @@ const createSchema = (credentials, credentialReferences, payloadCredentials, wor fields: [ { component: 'credential-mapper', - name: 'test', - label: __('test'), + name: 'credential-mapping-table', + id: 'credential-mapping-table', rows: createRows(credentials, payloadCredentials, workflowAuthentications), onCellClick: deleteMapping, }, { component: componentTypes.SELECT, name: 'credential_references', + id: 'credential_references', label: __('Credential Reference'), placeholder: __(''), includeEmpty: true, @@ -134,6 +135,7 @@ const createSchema = (credentials, credentialReferences, payloadCredentials, wor { component: componentTypes.SELECT, name: 'workflow_credentials', + id: 'workflow_credentials', label: __('Workflow Credential'), placeholder: __(''), includeEmpty: true, @@ -146,6 +148,7 @@ const createSchema = (credentials, credentialReferences, payloadCredentials, wor { component: componentTypes.SELECT, name: 'credential_field', + id: 'credential_field', label: __('Credential Field'), placeholder: __(''), includeEmpty: true, diff --git a/app/javascript/spec/workflow-credential-mapping-form/__snapshots__/workflow-credential-mapping-form.spec.js.snap b/app/javascript/spec/workflow-credential-mapping-form/__snapshots__/workflow-credential-mapping-form.spec.js.snap index 3a97bb3b21d..02f38c6908f 100644 --- a/app/javascript/spec/workflow-credential-mapping-form/__snapshots__/workflow-credential-mapping-form.spec.js.snap +++ b/app/javascript/spec/workflow-credential-mapping-form/__snapshots__/workflow-credential-mapping-form.spec.js.snap @@ -103,8 +103,8 @@ exports[`Workflow Credential Form Component should render mapping credentials to "fields": Array [ Object { "component": "credential-mapper", - "label": "test", - "name": "test", + "id": "credential-mapping-table", + "name": "credential-mapping-table", "onCellClick": [Function], "rows": Array [ Object { @@ -149,6 +149,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to }, Object { "component": "select", + "id": "credential_references", "includeEmpty": true, "label": "Credential Reference", "name": "credential_references", @@ -175,6 +176,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to "fields": Array [ Object { "component": "select", + "id": "workflow_credentials", "includeEmpty": true, "label": "Workflow Credential", "name": "workflow_credentials", @@ -193,6 +195,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to }, Object { "component": "select", + "id": "credential_field", "includeEmpty": true, "label": "Credential Field", "name": "credential_field", @@ -293,8 +296,8 @@ exports[`Workflow Credential Form Component should render mapping credentials to "fields": Array [ Object { "component": "credential-mapper", - "label": "test", - "name": "test", + "id": "credential-mapping-table", + "name": "credential-mapping-table", "onCellClick": [Function], "rows": Array [ Object { @@ -339,6 +342,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to }, Object { "component": "select", + "id": "credential_references", "includeEmpty": true, "label": "Credential Reference", "name": "credential_references", @@ -365,6 +369,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to "fields": Array [ Object { "component": "select", + "id": "workflow_credentials", "includeEmpty": true, "label": "Workflow Credential", "name": "workflow_credentials", @@ -383,6 +388,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to }, Object { "component": "select", + "id": "credential_field", "includeEmpty": true, "label": "Credential Field", "name": "credential_field", @@ -474,8 +480,8 @@ exports[`Workflow Credential Form Component should render mapping credentials to "fields": Array [ Object { "component": "credential-mapper", - "label": "test", - "name": "test", + "id": "credential-mapping-table", + "name": "credential-mapping-table", "onCellClick": [Function], "rows": Array [ Object { @@ -520,6 +526,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to }, Object { "component": "select", + "id": "credential_references", "includeEmpty": true, "label": "Credential Reference", "name": "credential_references", @@ -546,6 +553,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to "fields": Array [ Object { "component": "select", + "id": "workflow_credentials", "includeEmpty": true, "label": "Workflow Credential", "name": "workflow_credentials", @@ -564,6 +572,7 @@ exports[`Workflow Credential Form Component should render mapping credentials to }, Object { "component": "select", + "id": "credential_field", "includeEmpty": true, "label": "Credential Field", "name": "credential_field", @@ -653,8 +662,8 @@ exports[`Workflow Credential Form Component should render mapping credentials to Array [ , , , ,