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

class DropzoneComponentSystemTest < ApplicationSystemTestCase
  def test_file_upload
    with_preview("dropzone_component/with_file_upload")

    find(".Polaris-DropZone").drop(fixture_file("file.txt"), fixture_file("image.png"))
    assert_selector ".Polaris-DropZone__Preview > .Polaris-LegacyStack > .P
    
  def test_file_upload
    with_preview("dropzone_component/with_file_upload")

    find(".Polaris-DropZone").drop(fixture_file("file.txt"), fixture_file("image.png"))
    assert_selector ".Polaris-DropZone__Preview > .Polaris-LegacyStack > .Polaris-LegacyStack__Item", count: 2
    within ".Polaris-DropZone__Preview > .Polaris-LegacyStack" do
      assert_selector ".Polaris-LegacyStack__Item:nth-child(1)" do
        assert_text "file.txt"
        assert_text "10 Bytes"
      end
      assert_selector ".Polaris-LegacyStack__Item:nth-child(2)" do
        assert_text "image.png"
        assert_text "11.37 KB"
      end
    end
  end