Sha256: d65f831ef3919bf2420ea5d1a1746238a807ab41278c8f02b41bd45f0555772f
Contents?: true
Size: 618 Bytes
Versions: 2
Compression:
Stored size: 618 Bytes
Contents
require 'test_helper' module Workarea decorate Storefront::ContentSearchSystemTest, with: :one_theme do def test_filtering_product_search_below_number_of_content_results create_page(name: 'Content Test') create_page(name: 'Page Test') visit storefront.search_path(q: 'test') Capybara.match = :first click_button 'Filter Results' click_link 'Large (1)' assert(page.has_content?('Test Product 1')) assert(page.has_no_content?('Test Product 2')) assert(page.has_no_content?('Content Test')) assert(page.has_no_content?('Page Test')) end end end
Version data entries
2 entries across 2 versions & 1 rubygems