"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const test_1 = require("@playwright/test");
const _setup_1 = require("../../test-setup.js");
const SM_8_10_1 = require("../../fixtures/SM-8.10");
SM_8_10_1.test.describe.configure({ mode: 'parallel' });
SM_8_10_1.test.describe('Login Tests', () => {
    SM_8_10_1.test.afterEach(async ({ page }, testInfo) => {
        await (0, _setup_1.captureScreenshot)(page, testInfo);
        await (0, _setup_1.captureFailureVideo)(page, testInfo);
    });
    (0, SM_8_10_1.test)('Management Identity Basic Login', async ({ navigationPage, managementIdentityPage, }) => {
        await navigationPage.goToManagementIdentity();
        await (0, test_1.expect)(managementIdentityPage.identityBanner).toBeVisible({
            timeout: 120000,
        });
    });
    (0, SM_8_10_1.test)('Orchestration Cluster Identity Basic Login', async ({ navigationPage, ocIdentityHomePage, }) => {
        await navigationPage.goToOCAdmin();
        await (0, test_1.expect)(ocIdentityHomePage.adminBanner).toBeVisible({
            timeout: 120000,
        });
    });
});
