Failing test in CI but not locally

4 views
Skip to first unread message

E C

unread,
Aug 26, 2021, 9:24:38 PM8/26/21
to Thinking Sphinx
I have a series of failing tests I believe all for the same-ish reason. please have a look at my example below
I do have more let() methods within the tests page that are failing with the same response.

I have tried 

let!(:sausage_category) do
    create(:product_category, name: 'Dinner Sausage',
                                                      display_name: 'Dinner Sausage')context 'when category_filter selected', js: true do
      it 'finds products based on category' do
        check "category_filter_#{sausage_category.id}"
        click_button 'Run Filters'
        expect(page).to(have_content('1 product found for: Dinner Sausage'))
      
Failure/Error: data-association=#{upc.gsub(/\s+/'')}

thank you for any help
Reply all
Reply to author
Forward
0 new messages