Commit 170322dd authored by Lukas Eipert's avatar Lukas Eipert

Add id to jira project field

This adds a missing id to the jira project field, allowing it to be
filled in the test and the tests to pass
parent 8ce305b7
...@@ -119,10 +119,12 @@ export default { ...@@ -119,10 +119,12 @@ export default {
<template v-if="showJiraIssuesIntegration"> <template v-if="showJiraIssuesIntegration">
<gl-form-group <gl-form-group
:label="s__('JiraService|Jira project key')" :label="s__('JiraService|Jira project key')"
label-for="service_project_key"
:invalid-feedback="__('This field is required.')" :invalid-feedback="__('This field is required.')"
:state="validProjectKey" :state="validProjectKey"
> >
<gl-form-input <gl-form-input
id="service_project_key"
v-model="projectKey" v-model="projectKey"
name="service[project_key]" name="service[project_key]"
:placeholder="s__('JiraService|e.g. AB')" :placeholder="s__('JiraService|e.g. AB')"
......
...@@ -16,6 +16,7 @@ RSpec.describe 'User activates Jira', :js do ...@@ -16,6 +16,7 @@ RSpec.describe 'User activates Jira', :js do
visit_project_integration('Jira') visit_project_integration('Jira')
fill_form fill_form
fill_in 'service_project_key', with: 'AB'
click_test_integration click_test_integration
end end
......
Markdown is supported
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