From 30d305f829d5c9966e0bfb08b218fb0753ae81fe Mon Sep 17 00:00:00 2001 From: Mikhail Titov Date: Fri, 22 Nov 2019 00:04:04 -0600 Subject: [PATCH] Test inview/infinite scrolling loading --- spec/features/tabulatrs_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/features/tabulatrs_spec.rb b/spec/features/tabulatrs_spec.rb index 14db3a9..df1663c 100644 --- a/spec/features/tabulatrs_spec.rb +++ b/spec/features/tabulatrs_spec.rb @@ -122,6 +122,7 @@ end visit one_item_per_page_without_pagination_products_path expect(page).to have_no_css('.pagination li a') + expect(page).to have_css('tr[data-page="2"]') end end end