"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const c8Run_8_6_1 = require("../../fixtures/c8Run-8.6");
const UtilitiesPage_1 = require("../../pages/c8Run-8.6/UtilitiesPage");
const _setup_1 = require("../../test-setup.js");
c8Run_8_6_1.test.describe('Login Tests', () => {
    c8Run_8_6_1.test.afterEach(async ({ page }, testInfo) => {
        await (0, _setup_1.captureScreenshot)(page, testInfo);
        await (0, _setup_1.captureFailureVideo)(page, testInfo);
    });
    (0, c8Run_8_6_1.test)('Basic Login on Operate', async ({ page, operateLoginPage, operateHomePage, }) => {
        await (0, UtilitiesPage_1.navigateToApp)(page, 'operate');
        await operateLoginPage.login('demo', 'demo');
        await operateHomePage.operateBannerIsVisible();
    });
    //Skipped due to bug 46814: https://github.com/camunda/camunda/issues/46814
    c8Run_8_6_1.test.skip('Basic Login on TaskList', async ({ page, taskListLoginPage, taskPanelPage, }) => {
        await (0, UtilitiesPage_1.navigateToApp)(page, 'tasklist');
        await taskListLoginPage.login('demo', 'demo');
        await taskPanelPage.taskListBannerIsVisible();
    });
});
