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: show.rb
    path of file: ./repos/gitlabhq/qa/qa/page/project/issue
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module QA
  module Page
    module Project
      module Issue
        class Show < Page::Base
          include Page::Component::Note
          include Page::Component::DesignManagement
          include Page::Comp
    
          def delete_issue
            has_delete_issue_button?

            click_element(
              'delete-issue-button',
              Page::Modal::DeleteIssue,
              wait: Support::Repeater::DEFAULT_MAX_WAIT_TIME
            )

            Page::Modal::DeleteIssue.perform(&:confirm_delete_issue)

            wait_for_requests
          end