import { BaseDialog } from '@/manager/shared/base/BaseDialog';
import { Page } from '@playwright/test';

export class InvoiceCreateConfirmDialog extends BaseDialog {
  constructor(host: Page) {
    super(host, 'invoice-create-confirm-dialog');
  }

  async submit(): Promise<void> {
    await this.submitButton.click();
  }
}
