You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: application_system_test_case.rb
    path of file: ./repos/turbo_boost-streams/test
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require "test_helper"
require "capybara-playwright-driver"

Capybara.default_max_wait_time = 8
Capybara.default_retry_interval = 0.2
Capybara.default_normalize_ws = true
Capybara.save_path = "tmp/capybara"

BROWSER = :chromium

Capybara.register_driver :playwright do |app|
    
  def wait_for_mutations(testid, timeout: 5.seconds, interval: 0.02)
    wait_for_mutations_finished testid, timeout: timeout, interval: interval
    yield element(testid).element_handle if block_given?
    Timeout.timeout timeout.to_i do
      sleep interval.to_f until element_mutated?(testid)
    end
  rescue Timeout::Error
    sleep 0.5 # last ditch effort to avoid flakiness
    yield element(testid).element_handle if block_given?
  end