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 { ...@@ -84,7 +84,7 @@ export default {
> >
<strong class="gl-mr-3"> {{ $options.i18n.barLabel }} </strong> <strong class="gl-mr-3"> {{ $options.i18n.barLabel }} </strong>
<gl-dropdown <gl-dropdown
class="gl-mr-6 qa-file-templates-bar" class="gl-mr-6"
:text="selectedTemplateType.name || $options.i18n.templateTypesDropdownLabel" :text="selectedTemplateType.name || $options.i18n.templateTypesDropdownLabel"
> >
<gl-dropdown-item <gl-dropdown-item
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
@show="fetchTemplateTypes" @show="fetchTemplateTypes"
> >
<template #header> <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> </template>
<div> <div>
<gl-loading-icon v-if="isLoading" /> <gl-loading-icon v-if="isLoading" />
......
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
v-model="search" v-model="search"
:placeholder="__('Filter...')" :placeholder="__('Filter...')"
type="search" type="search"
class="dropdown-input-field qa-dropdown-filter-input" class="dropdown-input-field"
/> />
<gl-icon name="search" class="dropdown-input-search" /> <gl-icon name="search" class="dropdown-input-search" />
</div> </div>
......
...@@ -32,7 +32,7 @@ module QA ...@@ -32,7 +32,7 @@ module QA
element :file_template_dropdown element :file_template_dropdown
end 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 element :dropdown_filter_input
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