Commit 2f7f3fb2 authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'qa-fix-file-template-spec' into 'master'

Fix broken add_file_template_spec

See merge request gitlab-org/gitlab!81944
parents b9606f07 16598834
......@@ -84,7 +84,7 @@ export default {
>
<strong class="gl-mr-3"> {{ $options.i18n.barLabel }} </strong>
<gl-dropdown
class="gl-mr-6 qa-file-templates-bar"
class="gl-mr-6"
:text="selectedTemplateType.name || $options.i18n.templateTypesDropdownLabel"
>
<gl-dropdown-item
......@@ -102,7 +102,7 @@ export default {
@show="fetchTemplateTypes"
>
<template #header>
<gl-search-box-by-type v-model.trim="search" />
<gl-search-box-by-type v-model.trim="search" data-qa-selector="dropdown_filter_input" />
</template>
<div>
<gl-loading-icon v-if="isLoading" />
......
......@@ -84,7 +84,7 @@ export default {
v-model="search"
:placeholder="__('Filter...')"
type="search"
class="dropdown-input-field qa-dropdown-filter-input"
class="dropdown-input-field"
/>
<gl-icon name="search" class="dropdown-input-search" />
</div>
......
......@@ -32,7 +32,7 @@ module QA
element :file_template_dropdown
end
view 'app/assets/javascripts/ide/components/file_templates/dropdown.vue' do
view 'app/assets/javascripts/ide/components/file_templates/bar.vue' do
element :dropdown_filter_input
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