import { type Locator, type Page } from "@playwright/test";

export class AccountSetupPgObj {
  readonly fullname: Locator;
  readonly password: Locator;
  readonly passwordRepeat: Locator;
  readonly saveBtn: Locator;

  constructor(protected readonly page: Page) {
    this.fullname = page.getByRole("textbox", { name: "Jouw naam (roepnaam +" });
    this.password = page.getByRole("textbox", { name: "Kies nieuw wachtwoord" });
    this.passwordRepeat = page.getByRole("textbox", { name: "Herhaal wachtwoord" });
    this.saveBtn = page.getByRole("button", { name: "Opslaan" });
  }
}
