Skip to content

Commit

Permalink
Add temporary fix to enable headless invitation lists tests (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
gazayas authored and newstler committed Oct 9, 2023
1 parent 7afdd00 commit 3d903ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/system/invitation_lists_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
class InvitationListsTest < ApplicationSystemTestCase
@@test_devices.each do |device_name, display_details|
def setup
# TODO: Capybara.current_driver is returning :selenium,
# when it should be either :selenium_chrome or :selenium_chrome_headless.
Capybara.current_driver = Capybara.default_driver

@current_bulk_invitations_setting = nil
BulletTrain.configure do |config|
@current_bulk_invitations_setting = config.enable_bulk_invitations
Expand Down

0 comments on commit 3d903ee

Please sign in to comment.