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: autocomplete_component_test.rb
    path of file: ./repos/polaris_view_components/test/components/polaris
    
    the code of the file until where you have to start completion: require "test_helper"

class AutocompleteComponentTest < Minitest::Test
  include Polaris::ComponentTestHelpers

  def test_basic_autocomplete
    render_inline(Polaris::AutocompleteComponent.new) do |autocomplete|
      autoc
    
  def test_basic_autocomplete
    render_inline(Polaris::AutocompleteComponent.new) do |autocomplete|
      autocomplete.with_text_field(label: "Tags")
      autocomplete.with_option(label: "Rustic", value: "rustic")
    end

    assert_selector '[data-controller="polaris-autocomplete"]' do
      assert_selector '[data-controller="polaris-popover"]' do
        assert_selector '[data-polaris-popover-target="activator"]' do
          assert_selector "label", text: "Tags"
          assert_selector ".Polaris-TextField"
        end

        assert_selector ".Polaris-Popover" do
          assert_selector "input[type='radio'][value='rustic']"
        end
      end
    end
  end