diff --git a/features/season_setup/add_house_seats.feature b/features/season_setup/add_house_seats.feature index 2d0e6be38..3227a9c6d 100644 --- a/features/season_setup/add_house_seats.feature +++ b/features/season_setup/add_house_seats.feature @@ -27,4 +27,5 @@ Feature: designate house seats when adding performances Then I should see "One performance was successfully added" And the "Jan 1, 2010, 7pm" performance should have house seats "B1,B2" When I visit the edit showdate page for Jan 1, 2010, 7pm + Then take a screenshot Then the "House seats" field should contain "B1, B2" diff --git a/features/step_definitions/debugger_steps.rb b/features/step_definitions/debugger_steps.rb index ff325b7fb..43b2f417e 100644 --- a/features/step_definitions/debugger_steps.rb +++ b/features/step_definitions/debugger_steps.rb @@ -2,6 +2,10 @@ save_and_open_page end +Then /take a screenshot/ do + save_screenshot +end + Then /show me a screenshot/ do save_and_open_screenshot end diff --git a/features/step_definitions/reserved_seating_steps.rb b/features/step_definitions/reserved_seating_steps.rb index 02407ea7a..8ba3f5466 100644 --- a/features/step_definitions/reserved_seating_steps.rb +++ b/features/step_definitions/reserved_seating_steps.rb @@ -70,7 +70,6 @@ # assignment confirmation to fail. allow_any_instance_of(Voucher).to receive(:assign_seat).and_return(nil) end - save_screenshot steps %Q{When I choose seats "#{seat_list}" for import customer "#{name}"} save_screenshot within(find_import_row_for name) { click_button "Confirm" }