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

module Workarea
  module Storefront
    class PagesPerformanceTest < Workarea::PerformanceTest
      setup :setup_page

      def setup_page
        @page = create_page
        content = Content.for(@page)

        # Providing data for dynamic blocks to use
        @products = Array.new(6) { create_product }
        @categories = Array.new(3) { create_category(product_ids: @products.map(&:id)) }
      
    
      def setup_page
        @page = create_page
        content = Content.for(@page)

        # Providing data for dynamic blocks to use
        @products = Array.new(6) { create_product }
        @categories = Array.new(3) { create_category(product_ids: @products.map(&:id)) }
        create_taxon(navigable: @categories.first)
        create_taxon(navigable: @page)

        Configuration::ContentBlocks.types.each do |type|
          3.times { content.blocks.build(type_id: type.id, data: type.defaults) }
        end

        content.save!
      end