diff options
Diffstat (limited to 'spec/features/issues/filtered_search/recent_searches_spec.rb')
-rw-r--r-- | spec/features/issues/filtered_search/recent_searches_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/issues/filtered_search/recent_searches_spec.rb b/spec/features/issues/filtered_search/recent_searches_spec.rb index 3ddcbf1bd01..3929d3694ff 100644 --- a/spec/features/issues/filtered_search/recent_searches_spec.rb +++ b/spec/features/issues/filtered_search/recent_searches_spec.rb @@ -104,7 +104,7 @@ RSpec.describe 'Recent searches', :js do set_recent_searches(project_1_local_storage_key, 'fail') visit project_issues_path(project_1) - expect(find('.flash-alert')).to have_text('An error occurred while parsing recent searches') + expect(find('[data-testid="alert-danger"]')).to have_text('An error occurred while parsing recent searches') end context 'on tablet/mobile screen' do |