From 6376ad6d2fdfdf7b0140f76e767d1190f1e56ef1 Mon Sep 17 00:00:00 2001 From: Nick Charlton Date: Fri, 1 Mar 2024 15:06:12 +0000 Subject: [PATCH] Fix "search with a filter with arguments" spec Since we merged in #2448, this has been repeatedly failing on CI. It doesn't fail locally, which makes it hard to debug. Fixes #2523 --- .github/workflows/main.yml | 7 +------ spec/features/search_spec.rb | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fdf8104b5..26e12f049 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,11 +1,6 @@ --- name: Tests -on: - push: - branches: - - 'main' - pull_request: - types: [opened, synchronize, reopened] +on: [push] jobs: test: diff --git a/spec/features/search_spec.rb b/spec/features/search_spec.rb index aeb199bba..38f424262 100644 --- a/spec/features/search_spec.rb +++ b/spec/features/search_spec.rb @@ -102,8 +102,8 @@ def have_a_search_bar fill_in :search, with: "kind:vip" submit_search - expect(page).not_to have_content(standard_match.email) expect(page).to have_content(kind_match.email) + expect(page).not_to have_content(standard_match.email) end scenario "admin searches with an a term similiar to a filter", :js do