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