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: cart_system_test.rb
    path of file: ./repos/workarea/storefront/test/system/workarea/storefront
    
    the code of the file until where you have to start completion: require 'test_helper'

module Workarea
  module Storefront
    class CartSystemTest < Workarea::SystemTest
      setup :set_inventory
      setup :set_product

      def set_inventory
        create_inventory(id: 'SKU1', policy: 'standard', available: 2)
      end

      def set_product
        @product = create_product(
          name:
    
      def test_showing_a_cart_with_free_items
        create_product(
          name: 'Free Item',
          variants: [{ sku: 'FREE_SKU', regular: 5.to_m }]
        )

        create_free_gift_discount(
          name: 'Test',
          sku: 'FREE_SKU',
          order_total_operator: :greater_than,
          order_total: 1
        )

        visit storefront.product_path(@product)
        select @product.skus.first, from: 'sku'
        click_button t('workarea.storefront.products.add_to_cart')
        click_link t('workarea.storefront.carts.view_cart')

        assert(page.has_content?('Integration Product'))
        assert(page.has_content?('Free Item'))
        assert(page.has_content?('5.00'))
      end