Files
HKSingleParty/99_references/cf-identity-wallet-main/tests/screen-objects/components/alert.modal.ts
2025-05-28 09:55:51 +08:00

14 lines
353 B
TypeScript

import { findAndClickLocator } from "../base.screen.js";
export class AlertModal {
async clickCancelButtonOf(parent: string) {
await findAndClickLocator(`${parent} #cancel-alert-button`);
}
async clickConfirmButtonOf(parent: string) {
await findAndClickLocator(`${parent} #confirm-alert-button`);
}
}
export default new AlertModal();