# frozen_string_literal: true

module FeatureHelpers
  module Pages
    def provider_index_page
      @provider_index_page ||= PageObjects::Support::ProviderIndex.new
    end

    def provider_show_page
      @provider_show_page ||= PageObjects::Support::ProviderShow.new
    end

    def provider_edit_page
      @provider_edit_page ||= PageObjects::Support::ProviderEdit.new
    end

    def provider_users_index_page
      @provider_users_index_page ||= PageObjects::Support::ProviderUsersIndex.new
    end

    def provider_courses_index_page
      @provider_courses_index_page ||= PageObjects::Support::ProviderCoursesIndex.new
    end

    def users_show_page
      @users_show_page ||= PageObjects::Support::UserShow.new
    end

    def users_index_page
      @users_index_page ||= PageObjects::Support::UsersIndex.new
    end

    def sign_in_page
      @sign_in_page ||= PageObjects::SignIn.new
    end
  end
end
