"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OCIdentityAuthorizationsPage = void 0;
const Authorization_1 = require("../8.8/Authorization");
const test_1 = require("@playwright/test");
class OCIdentityAuthorizationsPage extends Authorization_1.Authorization {
    constructor(page) {
        super(page);
    }
    async clickProcessDefinitionTab() {
        await (0, test_1.expect)(this.selectResourceTypeTab('PROCESS_DEFINITION')).toBeVisible({
            timeout: 60000,
        });
        await this.selectResourceTypeTab('PROCESS_DEFINITION').click();
    }
    async clickAuthorizationTab() {
        await (0, test_1.expect)(this.selectResourceTypeTab('AUTHORIZATION')).toBeVisible({
            timeout: 60000,
        });
        await this.selectResourceTypeTab('AUTHORIZATION').click();
    }
    async clickRoleTab() {
        await (0, test_1.expect)(this.selectResourceTypeTab('Role')).toBeVisible({
            timeout: 60000,
        });
        await this.selectResourceTypeTab('Role').click();
    }
    async clickComponentTab() {
        await (0, test_1.expect)(this.selectResourceTypeTab('COMPONENT')).toBeVisible({
            timeout: 60000,
        });
        await this.selectResourceTypeTab('COMPONENT').click();
    }
    async clickResourceTab() {
        await (0, test_1.expect)(this.selectResourceTypeTab('RESOURCE')).toBeVisible({
            timeout: 60000,
        });
        await this.selectResourceTypeTab('RESOURCE').click();
    }
}
exports.OCIdentityAuthorizationsPage = OCIdentityAuthorizationsPage;
