Commit 16598834 authored by Anastasia McDonald's avatar Anastasia McDonald

Fix broken add_file_template_spec

See https://gitlab.com/gitlab-org/gitlab/-/issues/353987
parent ab7d7d80
......@@ -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