Commit afd13eb6 authored by Scott Stern's avatar Scott Stern Committed by Phil Hughes

Fix quarantined rspec in ee/epic_show.rb

parent 05a6be0c
...@@ -49,18 +49,17 @@ export default { ...@@ -49,18 +49,17 @@ export default {
</script> </script>
<template> <template>
<div class="gl-mr-3 gl-display-inline-block gl-vertical-align-bottom full-width-mobile"> <div
data-testid="sort-discussion-filter"
class="gl-mr-3 gl-display-inline-block gl-vertical-align-bottom full-width-mobile"
>
<local-storage-sync <local-storage-sync
:value="sortDirection" :value="sortDirection"
:storage-key="storageKey" :storage-key="storageKey"
:persist="persistSortOrder" :persist="persistSortOrder"
@input="setDiscussionSortDirection({ direction: $event })" @input="setDiscussionSortDirection({ direction: $event })"
/> />
<gl-dropdown <gl-dropdown :text="dropdownText" class="js-dropdown-text full-width-mobile">
:text="dropdownText"
data-testid="sort-discussion-filter"
class="js-dropdown-text full-width-mobile"
>
<gl-dropdown-item <gl-dropdown-item
v-for="{ text, key, cls } in $options.SORT_OPTIONS" v-for="{ text, key, cls } in $options.SORT_OPTIONS"
:key="key" :key="key"
......
...@@ -165,11 +165,7 @@ RSpec.describe 'Epic show', :js do ...@@ -165,11 +165,7 @@ RSpec.describe 'Epic show', :js do
end end
end end
it 'shows comments in the correct order', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/225637' do it 'shows comments in the correct order' do
page.within('[data-testid="sort-discussion-filter"]') do
expect(find('.js-newest-first')).to have_content('Newest first')
end
items = all('.timeline-entry .timeline-discussion-body .note-text') items = all('.timeline-entry .timeline-discussion-body .note-text')
expect(items[0]).to have_content(notes[1].note) expect(items[0]).to have_content(notes[1].note)
expect(items[1]).to have_content(notes[0].note) expect(items[1]).to have_content(notes[0].note)
......
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