Skip to content

Commit

Permalink
removed Iowa from test
Browse files Browse the repository at this point in the history
  • Loading branch information
ekemeyer authored Feb 7, 2025
1 parent bf95814 commit a290e82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/features/catalog_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,13 @@ def expect_no_transcript
expect_count(5, page.text)
expect(page).to have_text('You searched for: Contributing Organizations WGBH (MA) Remove constraint Contributing Organizations: WGBH (MA) '), missing_page_text_custom_error('You searched for: Contributing Organizations WGBH (MA) Remove constraint Contributing Organizations: WGBH (MA) ', page.current_path)

click_link('Iowa Public Television (IA)')
click_link('KQED (CA)')
# TODO: check count when IP set in request.
expect(page).to have_text('Contributing Organizations: WGBH (MA) OR Iowa Public Television (IA)'), missing_page_text_custom_error('Contributing Organizations: WGBH (MA) OR Iowa Public Television (IA)', page.current_path)
expect(page).to have_text('Contributing Organizations: WGBH (MA) OR KQED (CA)'), missing_page_text_custom_error('Contributing Organizations: WGBH (MA) OR KQED (CA)', page.current_path)

expect(page).to have_css('a', text: 'District of Columbia')
click_link('District of Columbia')
expect(page).to have_text('WGBH (MA) OR Iowa Public Television (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)'), missing_page_text_custom_error('WGBH (MA) OR Iowa Public Television (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)', page.current_path)
expect(page).to have_text('WGBH (MA) OR KQED (CA) OR Library of Congress (DC) OR NewsHour Productions (DC)'), missing_page_text_custom_error('WGBH (MA) OR KQED (CA) OR Library of Congress (DC) OR NewsHour Productions (DC)', page.current_path)

# all(:css, '.constraints-container a.remove')[1].click # remove 'WGBH OR IPTV'
# TODO: check count when IP set in request.
Expand Down

0 comments on commit a290e82

Please sign in to comment.