"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SettingsPage = void 0;
class SettingsPage {
    page;
    openSettingsButton;
    logoutButton;
    constructor(page) {
        this.page = page;
        this.openSettingsButton = page.getByLabel('Open Settings');
        this.logoutButton = page.getByRole('button', { name: 'Log out' });
    }
    async clickOpenSettingsButton() {
        await this.openSettingsButton.click({ timeout: 120000 });
    }
    async clickLogoutButton() {
        await this.logoutButton.click({ timeout: 30000 });
    }
}
exports.SettingsPage = SettingsPage;
