"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const SM_8_10_1 = require("../../fixtures/SM-8.10");
const _setup_1 = require("../../test-setup.js");
const UtilitiesPage_1 = require("../../pages/SM-8.10/UtilitiesPage");
SM_8_10_1.test.describe('SM Setup 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)('Create Project Folder', async ({ page, modelerHomePage, navigationPage, }) => {
        if (process.env.IS_SMOKE === 'true') {
            SM_8_10_1.test.skip(true, 'Skipping test because test not required in this test environment');
        }
        await SM_8_10_1.test.step('Navigate to Modeler', async () => {
            await navigationPage.goToModeler();
        });
        await SM_8_10_1.test.step('Create Cross Component Project Folder', async () => {
            await modelerHomePage.createCrossComponentProjectFolder();
            await modelerHomePage.clickHomeBreadcrumb();
            await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(page, modelerHomePage.crossComponentProjectFolder, 'Cross component project folder', 30000);
        });
    });
});
