Skip to content

Commit

Permalink
Merge pull request #13005 from mkllnk/map-spec
Browse files Browse the repository at this point in the history
Remove failing map spec
  • Loading branch information
mkllnk authored Nov 29, 2024
2 parents 2328757 + e791184 commit db76cd1
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions spec/system/consumer/map_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
require 'system_helper'

RSpec.describe 'Map' do
context 'map can load' do
it 'does not show alert' do
url_whitelist = page.driver.browser.url_whitelist
page.driver.browser.url_whitelist = nil

assert_raises(Capybara::ModalNotFound) do
accept_alert { visit '/map' }
end

page.driver.browser.url_whitelist = url_whitelist
end
end

context 'map cannot load' do
it 'shows alert' do
message = accept_alert { visit '/map' }
Expand Down

0 comments on commit db76cd1

Please sign in to comment.