@digital-ai/devops-page-object-release 0.0.20 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/main.js +867 -153
- package/dist/main.js.map +1 -1
- package/dist/module.js +867 -153
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +214 -29
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;AAEA;IACE,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;gBAElB,IAAI,EAAE,IAAI;CAGvB;ACLD,+BAA+B,SAAQ,QAAQ;gBACjC,IAAI,EAAE,IAAI;IAIhB,OAAO,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAK3C,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IASlD,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;CAI9B;ACrBD,8BAA8B,SAAQ,QAAQ;IAC5C,iBAAiB,EAAE,iBAAiB,CAAC;gBACzB,IAAI,EAAE,IAAI;IAKhB,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAS3E,wBAAwB,IAAI,OAAO,CAAC,IAAI,CAAC;IAKzC,iBAAiB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAK7D,oBAAoB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAOzD,gBAAgB,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAOzE,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAK7B,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;CAI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AE,OAAO,GAAG,OAAO,CAAC,WAAW,CAAC;IAMxD,kBAAkB,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,WAAW,CAAC;CAuB3E","sources":["apps/release/pages/WithPage.ts","apps/release/pages/releases/releaseCreatePage.ts","apps/release/pages/ReleasesListPage.ts","apps/release/pages/TriggersPage.ts","apps/release/pages/helper/index.ts","apps/release/pages/releases/ReleaseVariablesPage.ts","apps/release/pages/task-drawer/taskConfig.ts","apps/release/pages/task-drawer/taskCondition.ts","apps/release/pages/task-drawer/taskOverview.ts","apps/release/pages/task-drawer/taskActivity.ts","apps/release/pages/task-drawer/taskAttachments.ts","apps/release/pages/task-drawer/taskDrawer.ts","apps/release/pages/releases/releasePropertiesPage.ts","apps/release/pages/common/dateUtil.ts","apps/release/pages/common/util.ts","apps/release/pages/releases/ReleasePage.ts","apps/release/pages/ApplicationsPage.ts","apps/release/pages/common/dataRandomGenerator.ts","apps/release/pages/folder/folderDeliveryPage.ts","apps/release/pages/folder/folderGroupPage.ts","apps/release/pages/folder/folderPatternPage.ts","apps/release/pages/folder/folderNotificationPage.ts","apps/release/pages/FolderPage.ts","apps/release/pages/globalVariablePage.ts","apps/release/pages/homePage.ts","apps/release/pages/headerPage.ts","apps/release/pages/managePluginsPage.ts","apps/release/pages/PersonalAccessTokenPage.ts","apps/release/pages/personalSettingsPage.ts","apps/release/pages/users/userModal.ts","apps/release/pages/users/usersPage.ts","apps/release/pages/workflowCatalogPage.ts","apps/release/pages/settingsMenu.ts","apps/release/pages/taskDetails.ts","apps/release/pages/ReleaseCalendarPage.ts","apps/release/pages/ReleaseGroupPage.ts","apps/release/pages/ReleaseGroupTimelinePage.ts","apps/release/pages/tasks/taskListPage.ts","apps/release/pages/templates/templatePropertiesPage.ts","apps/release/pages/templates/templateCreatePage.ts","apps/release/pages/templates/templateTriggerPage.ts","apps/release/pages/templates/templatePage.ts","apps/release/pages/templateListPage.ts","apps/release/pages/users/rolesModal.ts","apps/release/pages/users/rolesPage.ts","apps/release/pages/systemSettingsPage.ts","apps/release/pages/index.ts","apps/release/pages/login-page.ts","apps/release/types/index.ts","apps/release/fixtures/helper.ts","apps/release/fixtures/index.ts","apps/release/index.ts"],"sourcesContent":["import { Page } from '@playwright/test';\n\nexport class WithPage {\n protected readonly page: Page;\n\n constructor(page: Page) {\n this.page = page;\n }\n}\n","import { Page } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class ReleaseCreatePage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async setName(releaseName: string): Promise<void> {\n await this.page.locator('#release-form-title').click();\n await this.page.locator('#release-form-title').fill(releaseName);\n }\n\n async setDescription(description: string): Promise<void> {\n await this.page.locator('.release-description').hover();\n await this.page.locator('.display').filter({ hasText: 'Set description' }).locator('.edit-icon').click();\n await this.page.locator('textarea').click();\n await this.page.locator('textarea').clear();\n await this.page.locator('textarea').fill(description);\n await this.page.getByText('Save', { exact: true }).click();\n }\n\n async create(): Promise<void> {\n await this.page.getByRole('button', { name: 'Create' }).waitFor({ state: 'visible' });\n await this.page.getByRole('button', { name: 'Create' }).click();\n }\n}\n","import { expect, Page } from '@playwright/test';\nimport { ReleasePage } from './releases/ReleasePage';\nimport { WithPage } from './WithPage';\nimport { ReleaseCreatePage } from './releases/releaseCreatePage';\n\nexport class ReleasesListPage extends WithPage {\n releaseCreatePage: ReleaseCreatePage;\n constructor(page: Page) {\n super(page);\n this.releaseCreatePage = new ReleaseCreatePage(page);\n }\n\n async expectNumberOfReleases(releaseTitle: string, amount: number): Promise<void> {\n await this.filterReleaseByTitle(releaseTitle);\n if (amount === 1) {\n await expect(this.page.locator('.release').getByText(releaseTitle)).toBeVisible({ timeout: 5000 });\n } else {\n await expect(this.page.locator('.release').getByText(releaseTitle).count()).toBe(amount);\n }\n }\n\n async filterReleaseByAllStatus(): Promise<void> {\n await this.page.locator('.ci-status .remaining-tags').getByText('more').click();\n await this.page.locator('.ci-status .xl-react-link').getByText('Select all').click();\n }\n\n async openReleaseByName(releaseTitle: string): Promise<ReleasePage> {\n await this.page.locator('.release-line .row-wrapper .release-title-wrapper a', { hasText: releaseTitle }).click();\n return new ReleasePage(this.page);\n }\n\n async filterReleaseByTitle(releaseTitle: string): Promise<void> {\n await this.page.locator('.toggle-search-filter').click();\n await this.page.locator('.searchFilter').fill(releaseTitle);\n await this.page.locator('.searchFilter').press('Enter');\n await expect(this.page.locator('.release').getByText(releaseTitle)).toBeVisible();\n }\n\n async createNewRelease(releaseName: string, description: string): Promise<void> {\n await this.releaseCreatePage.setName(releaseName);\n await this.releaseCreatePage.setDescription(description);\n await this.releaseCreatePage.create();\n await expect(this.page.getByLabel('breadcrumb').getByText('Flow')).toBeVisible();\n }\n\n async gotoListView(): Promise<void> {\n await this.page.getByRole('tab', { name: 'release icon List' }).click();\n await expect(this.page.locator('.release-list')).toBeVisible();\n }\n\n async gotoCalendarView(): Promise<void> {\n await this.page.getByRole('tab', { name: 'calendar icon Calendar' }).click();\n await expect(this.page.locator('.tl-viewport')).toBeVisible();\n }\n}\n","import { expect } from '@playwright/test';\nimport { ReleasesListPage } from './ReleasesListPage';\nimport { WithPage } from './WithPage';\n\nexport class TriggersPage extends WithPage {\n async openRelatedReleasesOf(title: string): Promise<ReleasesListPage> {\n await this.openContextMenu(title);\n await this.page.locator('.popover-content xlr-context-menu a', { hasText: 'View releases' }).click();\n return new ReleasesListPage(this.page);\n }\n\n private async openContextMenu(title: string): Promise<void> {\n await expect(async () => {\n await this.page.locator('.trigger-row-content', { hasText: title }).locator('.context-menu-button').click();\n await expect(this.page.locator('.popover-content')).toBeVisible();\n }).toPass();\n }\n}\n","import { Locator } from '@playwright/test';\n\ntype WaitForRes = [locatorIndex: number, locator: Locator];\nexport async function waitForOneOf(locators: Locator[]): Promise<WaitForRes> {\n const res = await Promise.all([\n ...locators.map(async (locator, index): Promise<WaitForRes> => {\n let timedOut = false;\n await locator.waitFor({ state: 'visible', timeout: 2000 }).catch(() => (timedOut = true));\n return [timedOut ? -1 : index, locator];\n }),\n ]);\n const resolvedLocator = res.find((r) => r[0] !== -1);\n if (!resolvedLocator) {\n console.warn('waitForOneOf', res);\n throw new Error('no locator visible before timeout');\n }\n return resolvedLocator;\n}\n","import { expect, Locator } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { waitForOneOf } from '../helper';\n\ntype ExpectWithLocator = (l: Locator) => void;\n\nexport class ReleaseVariablesPage extends WithPage {\n async openVariable(variableKey: string): Promise<ReleaseVariableModal> {\n await this.page.locator(`.variables-list .variable`).getByText(variableKey).click();\n return new ReleaseVariableModal(this.page);\n }\n}\n\nclass ReleaseVariableModal extends WithPage {\n private async expectValue(locators: Locator[], expectFn: ExpectWithLocator[]): Promise<void> {\n const [index, locator] = await waitForOneOf(locators);\n await expectFn[index](locator);\n }\n\n async expectValueToBe(value: string): Promise<void> {\n await this.expectValue(\n [\n this.page.locator('#modal .variable-value input'),\n this.page.locator('#modal .variable-value .field-readonly'),\n this.page.locator('#modal .variable-value .xl-map-string-string'),\n ],\n [(l) => expect(l).toHaveValue(value), (l) => expect(l).toHaveText(value), (l) => expect(l).toHaveText(value)],\n );\n }\n\n async expectValueToContain(value: string): Promise<void> {\n await this.expectValue(\n [\n this.page.locator('#modal .variable-value input'),\n this.page.locator('#modal .variable-value .field-readonly'),\n this.page.locator('#modal .variable-value .xl-map-string-string'),\n ],\n [\n (l) => expect(l.inputValue()).toContain(value),\n (l) => expect(l).toContainText(value),\n (l) => expect(l).toContainText(value),\n ],\n );\n }\n\n async close(): Promise<void> {\n await this.page.locator('#modal .modal-header button.close').click();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class ConfigRail extends WithPage {\n railLocator: Locator;\n\n constructor(page: Page) {\n super(page);\n this.railLocator = this.page.locator('task-drawer .dot-drawer .task-config');\n }\n\n async openInputProperties(): Promise<void> {\n await this.railLocator.locator('.task-config-header').getByText('Input properties').click();\n }\n\n async openOutputProperties(): Promise<void> {\n await this.railLocator.locator('.task-config-header').getByText('Output properties').click();\n }\n\n async getValueFromCi(propertyName: string): Promise<string> {\n return this.railLocator.locator(`input[id=\"${propertyName}\"]`).inputValue();\n }\n\n async getAllOptionsFromCi(propertyName: string): Promise<string[]> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).click();\n return this.railLocator.locator(`.dot-popper ul li`).allInnerTexts();\n }\n\n async setValueFromCi(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).clear();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).click();\n await this.railLocator.locator(`.dot-popper ul li`, { hasText: value }).click();\n }\n\n async getValueFromString(propertyName: string): Promise<string | null> {\n await this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`).focus();\n return this.railLocator.locator(`input[id=\"${propertyName}\"]`).inputValue();\n }\n\n async setValueFromString(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`).focus();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).fill(value);\n }\n\n async setValueFromLargeString(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`).focus();\n await this.railLocator.locator(`textarea[id=\"${propertyName}\"]`).fill(value);\n }\n\n async setValueFromPassword(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).fill(value);\n }\n\n async setAndCreateVariable(propertyName: string, variableName: string): Promise<void> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).clear();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).click();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).fill(variableName);\n await this.railLocator.locator(`.dot-popper button`, { hasText: variableName }).click();\n }\n\n async setVariable(propertyName: string, variableName: string): Promise<void> {\n return this.setValueFromCi(propertyName, variableName);\n }\n\n async expectValueFromString(propertyName: string, propertyValue: string): Promise<void> {\n return await expect(this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`)).toHaveText(\n propertyValue,\n );\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class ConditionRail extends WithPage {\n railLocator: Locator;\n preconditionToggle: Locator;\n textEditor: Locator;\n saveButton: Locator;\n\n constructor(page: Page) {\n super(page);\n this.railLocator = this.page.locator('task-drawer .dot-drawer .task-conditions');\n this.preconditionToggle = page.getByLabel('Enable precondition');\n this.textEditor = page.getByRole('textbox');\n this.saveButton = page.getByTestId('save-btn');\n }\n\n async enablePrecondition(): Promise<void> {\n expect(await this.preconditionToggle.isChecked()).toBe(false);\n await this.preconditionToggle.check();\n }\n\n async disablePrecondition(): Promise<void> {\n expect(await this.preconditionToggle.isChecked()).toBe(true);\n await this.preconditionToggle.uncheck();\n }\n\n async setPrecondition(script: string): Promise<void> {\n await this.enablePrecondition();\n await this.textEditor.fill(script);\n await this.saveButton.dblclick();\n await this.page.waitForTimeout(1000);\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class OverviewRail extends WithPage {\n railLocator: Locator;\n dependency: Dependency;\n constructor(page: Page) {\n super(page);\n this.railLocator = this.page.locator('task-drawer .dot-drawer .task-drawer-content');\n this.dependency = new Dependency(page);\n }\n\n async openInputProperties(): Promise<void> {\n await this.railLocator.locator('.task-config-header').getByText('Input properties').click();\n }\n\n async openOutputProperties(): Promise<void> {\n await this.railLocator.locator('.task-config-header').getByText('Output properties').click();\n }\n\n async getValueFromCi(propertyName: string): Promise<string> {\n return this.railLocator.locator(`input[id=\"${propertyName}\"]`).inputValue();\n }\n\n async getAllOptionsFromCi(propertyName: string): Promise<string[]> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).click();\n return this.railLocator.locator(`.dot-popper ul li`).allInnerTexts();\n }\n\n async setValueFromCi(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).clear();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).click();\n await this.railLocator.locator(`.dot-popper ul li`, { hasText: value }).click();\n }\n\n async getValueFromString(propertyName: string): Promise<string | null> {\n await this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`).focus();\n return this.railLocator.locator(`input[id=\"${propertyName}\"]`).inputValue();\n }\n\n async setValueFromString(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`).focus();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).fill(value);\n }\n\n async setValueFromLargeString(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`).focus();\n await this.railLocator.locator(`textarea[id=\"${propertyName}\"]`).fill(value);\n }\n\n async setValueFromPassword(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).fill(value);\n }\n\n async setAndCreateVariable(propertyName: string, variableName: string): Promise<void> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).clear();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).click();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).fill(variableName);\n await this.railLocator.locator(`.dot-popper button`, { hasText: variableName }).click();\n }\n\n async setVariable(propertyName: string, variableName: string): Promise<void> {\n return this.setValueFromCi(propertyName, variableName);\n }\n\n async expectValueFromString(propertyName: string, propertyValue: string): Promise<void> {\n return await expect(this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`)).toHaveText(\n propertyValue,\n );\n }\n\n async setValueFromMap(propertyName: string, key: string, value: string): Promise<void> {\n await this.railLocator.locator(`.input-with-map[data-test-id=\"${propertyName}\"] button.add-new-button`).click();\n await this.railLocator\n .locator(`.input-with-map[data-test-id=\"${propertyName}\"] input[id=\"new-row-key-input\"]`)\n .fill(key);\n await this.railLocator\n .locator(`.input-with-map[data-test-id=\"${propertyName}\"] input[id=\"new-row-value-input\"]`)\n .fill(value);\n await this.railLocator\n .locator(`.input-with-map[data-test-id=\"${propertyName}\"] button.map-row-save-button`)\n .click();\n }\n\n async setScript(script: string): Promise<void> {\n await this.page.locator('.code-editor textarea.ace_text-input').clear();\n await this.page.locator('.code-editor textarea.ace_text-input').fill(script);\n await this.page.locator('.code-editor .header button:has-text(\"Save\")').click();\n }\n\n async expectScriptToContain(script: string): Promise<void> {\n await expect(this.page.locator('.code-editor .ace_content')).toContainText(script);\n }\n\n async enterScriptForAutoComplete(script: string): Promise<void> {\n await this.page.locator('.code-editor textarea.ace_text-input').clear();\n await this.page.locator('.code-editor textarea.ace_text-input').fill(script);\n await this.page.locator('.code-editor textarea.ace_text-input').press('.');\n }\n\n async openScriptEditorInSeparateWindow(): Promise<void> {\n await this.page.getByTestId('fullscreen-enter-btn').click();\n expect(this.page.locator('#dialogTitle')).toBeVisible();\n }\n\n async closeFullscreenScriptWindowWithESC(): Promise<void> {\n await this.page.locator('#dialogTitle').press('Escape');\n expect(this.page.locator('#dialogTitle')).not.toBeVisible();\n }\n\n async closeFullscreenScriptWindow(): Promise<void> {\n await this.page.getByTestId('fullscreen-exit-btn').click();\n expect(this.page.locator('#dialogTitle')).not.toBeVisible();\n }\n\n async abort(comment: string): Promise<void> {\n await this.page.getByTestId('single-action-button').click();\n await this.page.getByTestId('task-action-comment').click();\n await this.page.getByTestId('task-action-comment').fill(comment);\n await this.page.getByTestId('dot-button').click();\n }\n\n async expectDependenciesDisplayed(dependencies: any[]): Promise<void> {\n await this.railLocator.locator('.gate-task-dependencies').waitFor();\n for (let i = 0; i < dependencies.length; i++) {\n await expect(this.page.locator('.dependency').filter({ hasText: dependencies[i] })).toBeVisible();\n }\n }\n\n async expectCanDeleteDependency(title: string, canDelete = true): Promise<void> {\n const depOptionsIcon = this.page\n .locator('.dependency')\n .filter({ has: this.page.getByRole('link', { name: title, exact: true }) })\n .locator('.icon-options');\n if (canDelete) {\n await depOptionsIcon.isVisible();\n await depOptionsIcon.click();\n await expect(this.railLocator.getByRole('menuitem', { name: 'Remove' })).toBeVisible();\n } else {\n await expect(depOptionsIcon).not.toBeVisible();\n }\n }\n\n async getDependencyCount(): Promise<number> {\n await expect(this.railLocator.locator('.gate-task-dependencies')).toBeVisible();\n const count = await this.railLocator.locator('.gate-task-dependencies .dependency').count();\n return count;\n }\n\n async addDependency(): Promise<void> {\n await expect(this.railLocator.locator('.add-dependency-btn')).toBeVisible();\n await this.railLocator.locator('.add-dependency-btn').click();\n }\n\n async expectDependencyText(dependencies: string): Promise<void> {\n await expect(this.railLocator.locator('.gate-task-dependencies')).toBeVisible();\n await expect(this.page.locator(`.gate-task-dependencies`).getByLabel(dependencies).first()).toBeVisible();\n }\n\n async clickEditDependency(dependencies: string): Promise<void> {\n const depOptionsIcon = this.page\n .locator('.dependency')\n .filter({ has: this.page.getByLabel(dependencies) })\n .first()\n .locator('.actions');\n await depOptionsIcon.isVisible();\n await depOptionsIcon.click();\n const frame = this.page.getByTestId('undefined-menu');\n if (await frame.isVisible()) {\n await this.railLocator.getByRole('menuitem', { name: 'Edit' }).click();\n } else {\n await depOptionsIcon.click();\n await this.railLocator.getByRole('menuitem', { name: 'Edit' }).click();\n }\n }\n}\n\nexport class Dependency extends WithPage {\n private readonly dependencyLocator: Locator;\n private release: Locator;\n private phase: Locator;\n private task: Locator;\n\n constructor(page: Page) {\n super(page);\n this.dependencyLocator = page.locator('.gate-task-dependencies .dependency-selector-component');\n this.release = this.dependencyLocator.locator('#release-dependency');\n this.phase = this.dependencyLocator.locator('#phase-dependency');\n this.task = this.dependencyLocator.locator('#task-dependency');\n }\n\n async getRelease(): Promise<string | null> {\n await this.release.isVisible();\n const releaseValue = await this.release.getAttribute('value');\n return releaseValue;\n }\n\n async getPhase(): Promise<string | null> {\n await this.phase.isVisible();\n const phaseValue = await this.phase.getAttribute('value');\n return phaseValue;\n }\n\n async getTask(): Promise<string | null> {\n await this.task.isVisible();\n const taskValue = await this.task.getAttribute('value');\n return taskValue;\n }\n\n async setRelease(releaseTitle: string): Promise<void> {\n await this.release.click();\n await this.release.fill(releaseTitle);\n await this.page.getByRole('option', { name: releaseTitle }).waitFor();\n await this.page.getByRole('option', { name: releaseTitle }).click();\n }\n\n async save(): Promise<void> {\n await expect(this.dependencyLocator.getByTestId('save-button')).toBeVisible();\n await this.dependencyLocator.getByTestId('save-button').click();\n }\n\n async setPhase(phaseTitle: string): Promise<void> {\n await this.phase.click();\n await this.phase.fill('');\n const count = await this.page.getByRole('option', { name: phaseTitle }).count();\n if (count > 0) {\n await this.page.getByRole('option', { name: phaseTitle }).click();\n } else {\n await this.page.locator('.phase-dependency').getByLabel('Open').click();\n await this.page.getByRole('option', { name: phaseTitle }).click();\n }\n }\n\n async setTask(taskTitle: string): Promise<void> {\n await this.task.click();\n await this.task.fill('');\n await this.page.getByRole('option', { name: taskTitle }).click();\n }\n\n async clearPhase(): Promise<void> {\n await this.phase.clear();\n }\n\n async expectVariableModeEnabled(mode: boolean): Promise<void> {\n await expect(this.dependencyLocator.getByLabel('input-variable')).toBeVisible();\n const variablemode = await this.dependencyLocator.getByLabel('input-variable').getAttribute('aria-pressed');\n expect(variablemode).toBe('' + mode + '');\n }\n\n async clickVariable(): Promise<void> {\n await this.dependencyLocator.getByLabel('input-variable').waitFor();\n await this.dependencyLocator.getByLabel('input-variable').click();\n }\n\n //TODO: getAttribute('value') is not working as expected. Need to be fixed with better alternative.\n async expectMinimumOptions(options: any[]): Promise<void> {\n await this.dependencyLocator.getByPlaceholder('Please select a variable of').click();\n for (let i = 0; i < options.length; i++) {\n const option = await this.dependencyLocator.locator('#mui-30-option-' + i).getAttribute('value');\n expect(options[i]).toContain(option);\n }\n }\n\n async enterNewVariable(variablename: string): Promise<void> {\n await this.page.getByLabel('Please select a variable of').click();\n await this.page.getByLabel('Please select a variable of').fill(variablename);\n await this.page.getByTestId('dot-action-item-btn').click();\n }\n\n async selectVariable(variablename: string): Promise<void> {\n await this.page.getByLabel('Please select a variable of').click();\n await this.page.getByRole('option', { name: variablename }).click();\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class ActivityRail extends WithPage {\n async expectCommentToContain(text: string): Promise<void> {\n await expect(this.page.locator('.task-comment .markdown-wrapper p')).toContainText(text);\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class AttachmentRail extends WithPage {\n async expectWithAttachment(filename: string): Promise<void> {\n const test = this.page.locator('.task-attachments-grid .file-item-text');\n await test.isVisible();\n await expect(test).toContainText(filename);\n }\n\n async getAttachmentsListCount(): Promise<number> {\n return await this.page.locator('.file-upload-list div').count();\n }\n\n async uploadFile(filePath: string): Promise<void> {\n const fileChooserPromise = this.page.waitForEvent('filechooser');\n await this.page.getByRole('button', { name: 'Select file(s)' }).click();\n const fileChooser = await fileChooserPromise;\n await fileChooser.setFiles(filePath);\n }\n\n async downloadFile(filename: string): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n this.page.on('download', () => {});\n const downloadPromise = this.page.waitForEvent('download');\n await this.page\n .locator('li')\n .filter({ hasText: '' + filename + '' })\n .click();\n await downloadPromise;\n }\n\n async deleteAttachment(fileName: string): Promise<void> {\n await this.page.locator('li').filter({ hasText: fileName }).click();\n await this.page.getByLabel('delete file').click();\n await this.page.getByRole('button', { name: 'Delete' }).waitFor({ state: 'visible' });\n await this.page.getByRole('button', { name: 'Delete' }).click();\n }\n\n async expectWithNoAttachment(tempFile: string): Promise<void> {\n const test = await this.page.locator('.task-attachments-grid .file-item-text').count();\n if (test > 0) {\n await expect(this.page.locator('.task-attachments-grid .file-item-text')).not.toContainText(tempFile);\n } else {\n await expect(this.page.locator('.task-attachments-grid .file-item-text')).not.toBeVisible();\n }\n }\n}\n","import { ConfigRail } from './taskConfig';\nimport { WithPage } from '../WithPage';\nimport { Locator, Page } from '@playwright/test';\nimport { ConditionRail } from './taskCondition';\nimport { OverviewRail } from './taskOverview';\nimport { ActivityRail } from './taskActivity';\nimport { AttachmentRail } from './taskAttachments';\nimport { expect } from '@playwright/test';\n\ntype Rail = 'Overview' | 'Activity' | 'Config' | 'Scheduling' | 'Conditions' | 'Attributes' | 'Attach' | 'Tags';\n\nexport class TaskDrawer extends WithPage {\n activity: ActivityRail;\n attachment: AttachmentRail;\n config: ConfigRail;\n condition: ConditionRail;\n taskDrawerLocator: Locator;\n retryButton: Locator;\n cancelButton: Locator;\n commentBox: Locator;\n confirm: Locator;\n overview: OverviewRail;\n skipMenu: Locator;\n failMenu: Locator;\n openMenu: Locator;\n completeButton: Locator;\n\n constructor(page: Page) {\n super(page);\n this.taskDrawerLocator = this.page.locator('task-drawer .dot-drawer');\n this.retryButton = this.page.getByRole('button', { name: 'Retry' });\n this.cancelButton = this.page.getByTestId('task-action-cancel');\n this.commentBox = this.page.getByTestId('task-action-comment');\n this.confirm = this.page.getByTestId('dot-button');\n this.activity = new ActivityRail(page);\n this.attachment = new AttachmentRail(page);\n this.config = new ConfigRail(page);\n this.condition = new ConditionRail(page);\n this.overview = new OverviewRail(page);\n this.skipMenu = this.page.getByRole('menuitem', { name: 'Skip' });\n this.failMenu = this.page.getByRole('menuitem', { name: 'Fail' });\n this.openMenu = this.page.getByRole('button', { name: 'arrow-down icon', exact: true });\n this.completeButton = this.page.getByRole('button', { name: 'Complete' });\n }\n\n async openOverviewRail(): Promise<void> {\n await this.openRail('Overview');\n }\n\n async openActivityRail(): Promise<void> {\n await this.openRail('Activity');\n }\n\n async openSchedulingRail(): Promise<void> {\n await this.openRail('Scheduling');\n }\n\n async openConditionRail(): Promise<void> {\n await this.openRail('Conditions');\n }\n\n async openAttributesRail(): Promise<void> {\n await this.openRail('Attributes');\n }\n\n async openAttachRail(): Promise<void> {\n await this.openRail('Attach');\n }\n\n async openTagsRail(): Promise<void> {\n await this.openRail('Tags');\n }\n\n async openRail(rail: Rail): Promise<void> {\n await this.taskDrawerLocator.locator('.task-navigation-rail').getByText(rail).click();\n }\n\n async close(): Promise<void> {\n await this.taskDrawerLocator.locator('.task-drawer-header').getByTestId('close-btn').click();\n }\n\n async retryTask(comment: string): Promise<void> {\n await this.page.waitForTimeout(1000);\n await this.retryButton.click();\n await this.commentBox.fill(comment);\n await this.page.getByTestId('popper-test-id-content-wrapper').getByTestId('dot-button').click();\n }\n\n async skipTask(comment: string): Promise<void> {\n await this.openMenu.click();\n await this.skipMenu.click();\n await this.commentBox.fill(comment);\n await this.confirm.click();\n }\n\n async failTask(comment: string): Promise<void> {\n await this.openMenu.click();\n await this.failMenu.click();\n await this.commentBox.fill(comment);\n await this.confirm.click();\n }\n\n async completeTask(comment: string): Promise<void> {\n await this.completeButton.click();\n await this.commentBox.fill(comment);\n await this.confirm.click();\n }\n\n async expectTaskTitle(taskTitle: string): Promise<void> {\n expect(await this.page.locator('.task-drawer .task-title-input .dot-view-mode-typography').innerText()).toContain(\n taskTitle,\n );\n }\n\n async expectTypeToContain(taskType: string): Promise<void> {\n expect(await this.page.locator('.task-drawer .task-type').innerText()).toContain(taskType);\n }\n\n async clickExpand(): Promise<void> {\n await this.page.getByRole('tooltip', { name: 'Expand' }).getByTestId('expand-btn').click();\n await expect(this.page.getByRole('tooltip', { name: 'Shrink' }).getByTestId('expand-btn')).toBeVisible();\n }\n\n async clickShrink(): Promise<void> {\n await this.page.getByRole('tooltip', { name: 'Shrink' }).getByTestId('expand-btn').click();\n await expect(this.page.getByRole('tooltip', { name: 'Expand' }).getByTestId('expand-btn')).toBeVisible();\n }\n\n async expectAssignedTo(username: string): Promise<void> {\n await expect(this.page.getByRole('button', { name: username })).toBeVisible();\n }\n\n async expectStartNowButtonToBeVisible(): Promise<void> {\n await expect(this.page.getByTestId('single-action-button')).toBeVisible();\n }\n\n async startNow(comment: string): Promise<void> {\n await this.page.getByTestId('single-action-button').click();\n await this.page.getByTestId('task-action-comment').fill(comment);\n await this.page.getByTestId('dot-button').click();\n await expect(this.page.getByTestId('single-action-button')).not.toBeVisible();\n }\n\n async expectCommentsToContain(text: string): Promise<void> {\n await expect(this.page.locator('.task-comment-body .markdown-wrapper p')).toContainText(text);\n }\n\n async switchWaitForScheduledDate(): Promise<void> {\n await this.page.locator('.wait-for-start input').click();\n }\n\n async expectWaitForScheduledDateToBeChecked(): Promise<void> {\n await expect(this.page.locator('.wait-for-start input')).toBeChecked();\n }\n\n async expectWaitForScheduledDateToBeUnchecked(): Promise<void> {\n await expect(this.page.locator('.wait-for-start input')).not.toBeChecked();\n }\n\n // Other locators are flaky and it can be replaced if we get locator change in the frontend\n async clickOnStartDate(): Promise<void> {\n await this.page.getByTestId('month-and-year').first().click();\n }\n\n async removeStartDate(): Promise<void> {\n await this.page.getByRole('button', { name: 'Set by user' }).locator('.MuiChip-deleteIcon').click();\n }\n\n async setStartDate(date: string): Promise<void> {\n await this.clickOnStartDate();\n await this.page.locator('.MuiPickersDay-root', { hasText: date }).click();\n }\n\n async assignToMe(userName: string, existingUsername: string): Promise<void> {\n await this.page.getByRole('button', { name: existingUsername }).click();\n await this.page.getByTestId(`render-option-${userName}`).click();\n }\n\n async setFlag(flagName: string, flagComment: string): Promise<void> {\n await this.page.getByTestId('flag-btn').click();\n await this.page.getByLabel(flagName).click();\n await this.page.getByPlaceholder('Set message').click();\n await this.page.getByPlaceholder('Set message').fill(flagComment);\n await this.page.getByPlaceholder('Set message').press('Enter');\n await expect(this.page.getByRole('button', { name: `flag icon ${flagComment}` })).toBeVisible();\n }\n\n async expectFlaggedWith(flagName: string, flagComment: string): Promise<void> {\n await this.page.getByRole('button', { name: 'flag icon' }).click();\n const regexPattern = new RegExp(`${flagComment}.*${flagName}`, 'i');\n await expect(this.page.getByText(regexPattern)).toBeVisible();\n }\n\n async expectStartDateToBeDisplayed(): Promise<void> {\n await expect(this.page.getByTestId('start-date-title')).toHaveCount(1);\n }\n\n async expectEndDateToBeDisplayed(): Promise<void> {\n await expect(this.page.getByTestId('end-date-title')).toHaveCount(1);\n }\n\n async expectStartDateAndEndDateToBeDisplayed(): Promise<void> {\n await expect(this.page.getByTestId('month-and-year')).toHaveCount(2);\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport moment from 'moment';\n\nexport class ReleasePropertiesPage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async editReleaseName(name: string): Promise<void> {\n await this.page.locator('#release-form-title').clear();\n await this.page.locator('#release-form-title').fill(name);\n }\n\n async setDescription(description: string): Promise<void> {\n await this.page.locator('.display > .xl-icon').first().click();\n await this.page.locator('textarea').click();\n await this.page.locator('textarea').clear();\n await this.page.locator('textarea').fill(description);\n await this.page.getByText('Save').first().click();\n }\n\n async setScriptUsername(username: string): Promise<void> {\n await this.page.getByPlaceholder('Set user...').waitFor();\n await this.page.getByPlaceholder('Set user...').click();\n await this.page.locator('input[name=\"\"]').fill(username, { timeout: 2000 });\n }\n\n async setScriptUserPassword(password: string): Promise<void> {\n await this.page.locator('span[name=\"scriptUserPassword\"]').waitFor();\n await this.page.locator('span[name=\"scriptUserPassword\"]').click();\n await this.page.locator('input[name=\"scriptUserPassword\"]').fill(password, { timeout: 2000 });\n }\n\n async save(): Promise<void> {\n await this.page.getByRole('button', { name: 'Save' }).waitFor();\n await this.page.getByRole('button', { name: 'Save' }).click();\n await expect(this.page.locator('.form-footer .last-saved')).toBeVisible();\n }\n\n async reset(): Promise<void> {\n await this.page.getByRole('button', { name: 'Reset' }).waitFor();\n await this.page.getByRole('button', { name: 'Reset' }).click();\n }\n\n async expectWithAttachment(filename: string): Promise<void> {\n await expect(this.page.locator('.attachments tr td a').filter({ hasText: filename })).toBeVisible();\n }\n\n async getAttachmentsListCount(): Promise<number> {\n return await this.page.locator('.attachments tr').count();\n }\n\n async uploadFile(filePath: string): Promise<void> {\n const fileChooserPromise = this.page.waitForEvent('filechooser');\n await this.page.locator('input[type=\"file\"]').click();\n const fileChooser = await fileChooserPromise;\n await fileChooser.setFiles(filePath);\n }\n\n async expectWithNoAttachment(filename: string): Promise<void> {\n const test = await this.page.locator('.attachments').isVisible();\n if (test) {\n await expect(this.page.locator('.attachments tr td a').filter({ hasText: filename })).not.toBeVisible();\n }\n }\n\n async downloadFile(filename: string): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n const downloadPromise1 = this.page.waitForEvent('download');\n await this.page.getByText(filename).click();\n const download = await downloadPromise1;\n // Wait for the download process to complete and save the downloaded file in given path.\n await download.saveAs('./core/xlr-ui/build/playwright/' + download.suggestedFilename());\n expect(download.suggestedFilename()).toBe(filename);\n }\n\n async deleteAttachment(fileName: string): Promise<void> {\n await this.page.getByRole('row', { name: fileName }).locator('span').click();\n await this.page.getByText('Remove').click();\n }\n\n async expectVariableDisplayed(variable: string, present: boolean): Promise<void> {\n if (present)\n await expect(this.page.locator(`#release-properties .form-group`, { hasText: variable })).toHaveCount(1);\n else await expect(this.page.locator(`#release-properties .form-group`, { hasText: variable })).toHaveCount(0);\n }\n\n async setScheduledStartDate(date?: string, monthYear?: string): Promise<void> {\n await this.page.locator(`.scheduled-start-date .date`).click();\n const prev = this.page.locator('.datepicker-days .prev');\n const next = this.page.locator('.datepicker-days .next');\n const monYear = this.page.locator('.datepicker-days .datepicker-switch');\n\n const thisMonth = moment(monthYear, 'MMMM YYYY').isBefore();\n\n while ((await monYear.textContent()) != monthYear) {\n if (thisMonth) {\n await prev.click();\n } else {\n await next.click();\n }\n }\n await this.page\n .getByRole('cell', { name: '' + date + '' })\n .first()\n .click();\n }\n\n async setScheduledStartTime(hrs?: string, mins?: string, meridian?: string): Promise<void> {\n await this.page.locator('.scheduled-start-date .time-picker-holder').click();\n if (typeof hrs !== 'undefined') {\n await this.page.locator('.bootstrap-timepicker-hour').click();\n await this.page.locator('.bootstrap-timepicker-hour').clear();\n await this.page.locator('.bootstrap-timepicker-hour').fill(hrs);\n }\n if (typeof mins !== 'undefined') {\n await this.page.locator('.bootstrap-timepicker-minute').click();\n await this.page.locator('.bootstrap-timepicker-minute').clear();\n await this.page.locator('.bootstrap-timepicker-minute').fill(mins);\n }\n if (typeof meridian !== 'undefined') {\n await this.page.locator('.bootstrap-timepicker-meridian').click();\n await this.page.locator('.bootstrap-timepicker-meridian').clear();\n await this.page.locator('.bootstrap-timepicker-meridian').fill(meridian);\n }\n await this.page.keyboard.press('Escape');\n }\n\n async setDuration(days?: string, hours?: string, mins?: string): Promise<void> {\n await this.page.locator('.duration-editor').click();\n if (typeof days !== 'undefined') {\n await this.page.locator('.days').click();\n await this.page.locator('.days').clear();\n await this.page.locator('.days').fill(days);\n }\n if (typeof hours !== 'undefined') {\n await this.page.locator('.hours').click();\n await this.page.locator('.hours').clear();\n await this.page.locator('.hours').fill(hours);\n }\n if (typeof mins !== 'undefined') {\n await this.page.locator('.minutes').click();\n await this.page.locator('.minutes').clear();\n await this.page.locator('.minutes').fill(mins);\n }\n await this.page.keyboard.press('Escape');\n }\n\n async expectScheduledStartDateToBe(date: string): Promise<void> {\n expect(await this.page.locator(`.scheduled-start-date .date input`).getAttribute('value')).toContain(date);\n }\n\n async expectScheduledStartTimeToBe(date: string): Promise<void> {\n expect(await this.page.locator(`.scheduled-start-date .time input`).getAttribute('value')).toContain(date);\n }\n\n async expectDueDateToBe(date: string): Promise<void> {\n expect(await this.page.locator('.due-date .date input').getAttribute('value')).toContain(date);\n }\n\n async expectedDueDateTime(time: string): Promise<void> {\n expect(await this.page.locator('.due-date .time input').getAttribute('value')).toContain(time);\n }\n\n async expectDurationToBe(duration: string): Promise<void> {\n expect(await this.page.locator('.duration-editor').textContent()).toBe(duration);\n }\n\n async setDueDate(hrs?: string, min?: string, meridian?: string): Promise<void> {\n await this.page.locator('.due-date .time-picker-holder').click();\n if (typeof hrs !== 'undefined') {\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-hour').click();\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-hour').clear();\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-hour').fill(hrs);\n }\n if (typeof min !== 'undefined') {\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-minute').click();\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-minute').clear();\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-minute').fill(min);\n }\n if (typeof meridian !== 'undefined') {\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-meridian').click();\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-meridian').clear();\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-meridian').fill(meridian);\n }\n await this.page.keyboard.press('Escape');\n }\n\n async checkAbortOnFailure(): Promise<void> {\n await this.page.locator('#release-form-abort-on-failure').check();\n await expect(this.page.locator('#release-form-abort-on-failure')).toBeChecked();\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport moment from 'moment';\n\nexport class DateUtil extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async openDatePicker(selector: string): Promise<void> {\n await this.page.locator(`${selector} .date`).click();\n }\n\n /**\n * Setting date, month and year from calendar picker\n */\n async setDate(date?: string, monthYear?: string): Promise<void> {\n const prev = this.page.locator('.datepicker-days .prev');\n const next = this.page.locator('.datepicker-days .next');\n const monYear = this.page.locator('.datepicker-days .datepicker-switch');\n\n const thisMonth = moment(monthYear, 'MMMM YYYY').isBefore();\n while ((await monYear.textContent()) != monthYear) {\n if (thisMonth) {\n await prev.click();\n } else {\n await next.click();\n }\n }\n await this.page\n .getByRole('cell', { name: '' + date + '' })\n .first()\n .click();\n }\n\n async expectDurationToBe(duration: string): Promise<void> {\n expect(await this.page.locator('.duration-editor').textContent()).toBe(duration);\n }\n\n async setDuration(days?: string, hours?: string, mins?: string): Promise<void> {\n await this.page.locator('.duration-editor').click();\n if (typeof days !== 'undefined') {\n await this.page.locator('.days').fill(days);\n }\n if (typeof hours !== 'undefined') {\n await this.page.locator('.hours').fill(hours);\n }\n if (typeof mins !== 'undefined') {\n await this.page.locator('.minutes').fill(mins);\n }\n await this.page.keyboard.press('Enter');\n }\n\n async expectTimeToBe(selector: string, format: string, date: Date | string): Promise<void> {\n if (typeof date === 'string') {\n date = new Date(date);\n }\n const formattedDate = moment(date).format(format);\n const input = this.page.locator(`${selector}`);\n await expect(input).toBeVisible();\n const value = await input.inputValue();\n expect(value).toBe(formattedDate);\n }\n\n /**\n *\n * @returns Getting current month and year in the format \"MonthName YYYY\"\n */\n async getCurrentMonthYear(): Promise<string> {\n const monthNames = [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n ];\n const d = new Date();\n const month = monthNames[d.getMonth()];\n const year = d.getFullYear();\n return `${month} ${year}`;\n }\n\n /**\n *\n * @returns Getting current date in the format \"dd MonthName YYYY\"\n */\n async getCurrentDate(): Promise<string> {\n const d = new Date();\n const date = d.getDate();\n const monthYear = await this.getCurrentMonthYear();\n return `${date} ${monthYear}`;\n }\n\n /**\n *\n * @param days Number of days to add to current date within the current month\n * @returns\n */\n async getFutureDate(days: number): Promise<string> {\n const d = new Date();\n d.setDate(d.getDate() + days);\n const date = d.getDate();\n const monthYear = await this.getCurrentMonthYear();\n return `${date} ${monthYear}`;\n }\n}\n","import * as fs from 'fs';\nimport path from 'path';\nimport { WithPage } from '../WithPage';\nimport { Locator, Page, expect } from '@playwright/test';\n\nexport class Util extends WithPage {\n tempDir: string;\n content: string;\n closeIcon: Locator;\n\n constructor(page: Page) {\n super(page);\n this.tempDir = '';\n this.content = '';\n this.closeIcon = this.page.locator('.xl-icon.close-icon');\n }\n\n async createTempFile(fileName: path.ParsedPath | string, testInfo: any): Promise<void> {\n const content = fileName.toString();\n const tempDir = testInfo.outputPath(fileName.toString());\n fs.promises.writeFile(tempDir, content, 'utf8');\n }\n\n async expandAllFolders(): Promise<void> {\n const icExpandTreeview1 = this.page.locator('.rstm-toggle-icon.xl-icon.arrow-right-icon');\n for (const element of await icExpandTreeview1.all()) {\n const blnVal = await element.isVisible();\n if (blnVal) {\n await element.click();\n await this.expandAllFolders();\n }\n }\n await expect(icExpandTreeview1).not.toBeVisible();\n }\n\n async openSideNavMenu(menuItem: string): Promise<void> {\n await this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, { exact: true }).scrollIntoViewIfNeeded();\n await this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, { exact: true }).click();\n }\n\n async openNestedMenuItem(nestedMenuItem: string): Promise<void> {\n await this.page.locator('.MuiList-root li').getByText(nestedMenuItem, { exact: true }).scrollIntoViewIfNeeded();\n await this.page.locator('.MuiList-root li').getByText(nestedMenuItem, { exact: true }).click();\n }\n\n async clickCloseIcon(): Promise<void> {\n await this.closeIcon.click();\n }\n\n async clickOnStatusField(): Promise<void> {\n await this.page.locator('.ci-filter-status.ng-isolate-scope').click();\n }\n\n async clickOnStatus(statusNames: string[]): Promise<void> {\n await this.clickOnStatusClearAll();\n await this.clickOnStatusField();\n for (let i = 0; i < statusNames.length; i++) {\n await this.page.locator(`i.xl-icon.icon-s.checkbox[data='${statusNames[i]}']`).click();\n }\n // Clicking outside to close the grid dropdown\n await this.page.getByText('Status').click();\n }\n\n async clickOnStatusClearAll(): Promise<void> {\n await this.clickOnStatusField();\n await this.page.locator('a.xl-react-link', { hasText: 'Clear all' }).click();\n await this.page.getByText('Status').click();\n }\n\n async clickOnStatusSelectAll(): Promise<void> {\n await this.clickOnStatusField();\n await this.page.locator('a.xl-react-link', { hasText: 'Select all' }).click();\n await this.page.getByText('Status').click();\n }\n\n async setOrderBy(orderBy: string): Promise<void> {\n await this.page.locator('.order-by-filter .btn:first-child').click();\n await this.page.locator(`.order-by-filter .bootstrap-link:has-text('${orderBy}')`).click();\n }\n\n async setSearchFilter(filterText: string): Promise<void> {\n await this.page.locator('.searchFilter').fill(filterText);\n }\n\n async clearSearchFilter(): Promise<void> {\n await this.page.locator('.searchFilter').clear();\n }\n}\n","import { Page, Locator, expect } from '@playwright/test';\nimport { TriggersPage } from '../TriggersPage';\nimport { WithPage } from '../WithPage';\nimport { ReleaseVariablesPage } from './ReleaseVariablesPage';\nimport { TaskDrawer } from '../task-drawer/taskDrawer';\nimport { ReleasePropertiesPage } from './releasePropertiesPage';\nimport { DateUtil } from '../common/dateUtil';\nimport { Util } from '../common/util';\n\nexport class ReleasePage extends WithPage {\n taskDrawer: TaskDrawer;\n phaseTitle: Locator;\n properties: ReleasePropertiesPage;\n variables: ReleaseVariablesPage;\n util: Util;\n\n constructor(page: Page) {\n super(page);\n this.taskDrawer = new TaskDrawer(page);\n this.phaseTitle = this.page.locator('.phase .phase-title');\n this.properties = new ReleasePropertiesPage(page);\n this.variables = new ReleaseVariablesPage(page);\n this.util = new Util(page);\n }\n\n async openTriggers(): Promise<TriggersPage> {\n await this.openSubPage('Triggers');\n return new TriggersPage(this.page);\n }\n\n async abort(comment = 'Abort for testing'): Promise<void> {\n await this.page.locator('action-toolbar button', { hasText: 'Abort' }).click();\n await this.page.locator('.modal textarea').fill(comment);\n await this.page.locator('.modal .continue').click();\n }\n\n getPhase(phaseName: string): Phase {\n return new Phase(this.page, phaseName);\n }\n\n async expectNotFlagged(): Promise<void> {\n await expect(this.page.locator('.flag-none-icon')).toBeHidden();\n }\n\n async expectRiskFlagOnTaskCard(): Promise<void> {\n await expect(this.page.locator('.risk-flag-icon')).toBeVisible();\n }\n\n async expectFlagOnCompletedTaskCard(): Promise<void> {\n await expect(this.page.locator('.flag-count')).toBeVisible();\n }\n\n async refresh(): Promise<void> {\n await this.page.reload();\n await this.page.waitForSelector('#release');\n }\n\n async start(): Promise<void> {\n await this.page.getByTestId('start-btn').click();\n await this.page.getByRole('button', { name: 'Start' }).click();\n }\n\n async waitForCompletion(timeout: number): Promise<void> {\n await this.page.locator('#release.completed').waitFor({ timeout });\n }\n\n async waitForTaskCompleted(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.completed').getByText(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n\n async waitForTaskCompletedInAdvance(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.completed_in_advance').getByText(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n\n async waitForTaskInProgress(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.in_progress').getByText(taskTitle, { exact: true })).toBeVisible();\n }\n\n async waitForTaskFailed(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.failed').getByText(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n async waitForTaskSkipped(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.skipped').getByText(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n\n async waitForTaskSkippedInAdvance(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.skipped_in_advance').getByText(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n\n async waitForTaskAborted(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.aborted').getByText(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n async waitForStatusLine(statusLine: string): Promise<void> {\n await expect(this.page.locator('.task .status-line').getByText(statusLine, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n\n async waitForTaskStarted(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.in_progress').getByTitle(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n\n async waitForTaskPlanned(title: string): Promise<void> {\n await expect(this.page.locator(`.task:has-text('${title}').planned`)).toBeVisible();\n }\n\n async expectTaskCompletedInAdvance(taskTitle: string): Promise<void> {\n await expect(\n this.page.locator('#release-content .completed_in_advance .task-title').filter({ hasText: taskTitle }),\n ).toBeVisible();\n }\n\n async expectTaskPending(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.pending').getByText(taskTitle, { exact: true })).toBeVisible();\n }\n\n async expectCurrentTaskToContain(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.active .task-title').getByText(taskTitle, { exact: true })).toBeVisible();\n }\n\n async openManualTaskDetails(title: string): Promise<void> {\n await this.page.locator(`text=${title}`).click({ force: true });\n await expect(this.page.locator('div').filter({ hasText: title }).first()).toBeVisible();\n }\n\n async reopenTask(comment: string): Promise<void> {\n await this.page\n .locator('div')\n .filter({ hasText: /^Reopen$/ })\n .click();\n await this.page.getByTestId('task-action-comment').click();\n await this.page.getByTestId('task-action-comment').fill(comment);\n await this.page.getByTestId('dot-button').click();\n }\n\n async openTaskDrawer(taskName: string): Promise<TaskDrawer> {\n await this.page.locator('.task-header').getByText(taskName, { exact: true }).click();\n return this.taskDrawer;\n }\n\n async openTaskDrawerFromTableView(taskName: string): Promise<TaskDrawer> {\n await this.page.locator('.name-cell-title').getByText(taskName, { exact: true }).click();\n return this.taskDrawer;\n }\n\n async openTaskDrawerFromGrantt(taskName: string): Promise<TaskDrawer> {\n await this.page.locator('.gantt_tree_content').getByText(taskName, { exact: true }).dblclick();\n return this.taskDrawer;\n }\n\n async openVariables(): Promise<void> {\n await this.util.openSideNavMenu('Variables');\n await expect(this.page.getByLabel('breadcrumb').getByText('Variables')).toBeVisible();\n }\n\n async openProperties(): Promise<void> {\n await this.util.openSideNavMenu('Properties');\n await expect(this.page.getByLabel('breadcrumb').getByText('Properties')).toBeVisible();\n }\n\n async openReleaseFlow(): Promise<void> {\n await this.util.openSideNavMenu('Flow');\n await expect(this.page.getByLabel('breadcrumb').getByText('Flow')).toBeVisible();\n }\n\n async openRelationships(): Promise<void> {\n await this.util.openSideNavMenu('Relationships');\n await expect(this.page.getByLabel('breadcrumb').getByText('Relationships')).toBeVisible();\n }\n\n async openTeamsPermissions(): Promise<void> {\n await this.util.openSideNavMenu('Teams & Permissions');\n await expect(this.page.getByLabel('breadcrumb').getByText('Teams & Permissions')).toBeVisible();\n }\n\n async openDashboard(): Promise<void> {\n await this.util.openSideNavMenu('Dashboard');\n await expect(this.page.getByLabel('breadcrumb').getByText('Dashboard')).toBeVisible();\n }\n\n async openActivityLogs(): Promise<void> {\n await this.util.openSideNavMenu('Activity logs');\n await expect(this.page.getByLabel('breadcrumb').getByText('Activity logs')).toBeVisible();\n }\n\n private async openReleaseMenu(menuItem: string): Promise<void> {\n await this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, { exact: true }).click();\n }\n\n private async openSubPage(subpage: string): Promise<void> {\n await this.page.locator('ul.side-nav li', { hasText: subpage }).click();\n }\n\n async openTask(taskName: string): Promise<void> {\n await this.page.getByTitle(taskName, { exact: true }).click();\n }\n\n async collapseAllTaskView(): Promise<void> {\n const icCollapseTreeview1 = this.page.locator('div.pull-left.expander.ng-scope i.xl-icon.arrow-down-icon');\n for (const element of await icCollapseTreeview1.all()) {\n const blnVal = await element.isVisible();\n if (blnVal) {\n await element.click();\n await this.collapseAllTaskView();\n }\n }\n }\n\n async expandAllTaskView(): Promise<void> {\n const icExpandTreeview1 = this.page.locator('div.pull-left.expander.ng-scope i.xl-icon.arrow-right-icon');\n for (const element of await icExpandTreeview1.all()) {\n const blnVal = await element.isVisible();\n if (blnVal) {\n await element.click();\n await this.expandAllTaskView();\n }\n }\n }\n\n async expectTemplateLabelNotToBePresent(): Promise<void> {\n await expect(this.page.locator('.dot-chip').filter({ hasText: 'TEMPLATE' })).not.toBeVisible();\n }\n\n async openTableView(): Promise<void> {\n await this.util.openSideNavMenu('Table');\n await expect(this.page.locator('.release-grid-container')).toBeVisible();\n }\n\n async openPlannerView(): Promise<void> {\n await this.util.openSideNavMenu('Planner');\n await expect(this.page.locator('.gantt-container')).toBeVisible();\n }\n\n async expandGanttFolder(): Promise<void> {\n const icExpandTreeview1 = this.page.locator('.gantt_tree_icon.gantt_open');\n for (const element of await icExpandTreeview1.all()) {\n const blnVal = await element.isVisible();\n if (blnVal) {\n await element.click();\n await this.expandGanttFolder();\n }\n }\n }\n\n async backToRelease(): Promise<void> {\n await this.page.locator('.icon-back').click();\n }\n\n async expectTitleToBeInBreadcrumbLink(title: string): Promise<void> {\n await expect(this.page.locator('.dot-breadcrumbs a', { hasText: title })).toBeVisible();\n }\n\n async expectHasPhase(title: string): Promise<void> {\n await expect(this.page.locator(`#release-content .phase-title`, { hasText: title })).toBeVisible();\n }\n\n async addNewPhase(phaseName?: string): Promise<void> {\n await this.page.getByTestId('add-phase-btn').click();\n if (phaseName) {\n await this.phaseTitle.getByText('New Phase').click();\n await this.phaseTitle.getByRole('textbox').clear();\n await this.phaseTitle.getByRole('textbox').fill(phaseName);\n await this.page.keyboard.press('Enter');\n await expect(this.phaseTitle.filter({ hasText: phaseName })).toBeVisible();\n }\n }\n\n async renamePhase(oldPhaseName: string, newPhaseName: string): Promise<void> {\n await this.phaseTitle.getByText(oldPhaseName).click();\n await this.phaseTitle.filter({ hasText: oldPhaseName }).locator('.editable').clear();\n await this.phaseTitle.filter({ hasText: oldPhaseName }).locator('.editable').fill(newPhaseName);\n await this.page.keyboard.press('Enter');\n await expect(this.phaseTitle.filter({ hasText: newPhaseName })).toBeVisible();\n }\n\n async exportRelease(): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n this.page.on('download', () => {});\n await this.page.getByTestId('template-export-btn').click();\n const downloadPromise = this.page.waitForEvent('download');\n await this.page.getByRole('link', { name: 'Audit report (Excel)' }).click();\n await downloadPromise;\n }\n\n async expectTaskToBePresent(taskName: string): Promise<void> {\n await expect(this.page.locator('.task').filter({ hasText: taskName })).toBeVisible();\n }\n\n async expectTaskNotToBePresent(taskName: string): Promise<void> {\n await expect(this.page.locator('.task').filter({ hasText: taskName })).not.toBeVisible();\n }\n\n async toggleTaskFilter(filterOption: string): Promise<void> {\n this.clickFilterOptions();\n await this.page.locator(`#filter-container #${filterOption}`).click();\n this.clickFilterOptions();\n }\n\n async clickFilterOptions(): Promise<void> {\n await this.page.locator('#release-header .dropdown-button').click();\n }\n\n async expectTaskToHaveFailed(title: string, failCount: number): Promise<void> {\n await expect(\n this.page.locator(`.task`).filter({ hasText: title }).locator(`.task-infos .failure-count.count-warning`),\n ).toBeVisible();\n const count = await this.page\n .locator(`.task`)\n .filter({ hasText: title })\n .locator(`.task-infos .failure-count.count-warning`)\n .innerText();\n expect(count).toContain(failCount.toString());\n }\n\n async expectTaskToHaveBeenDelayed(title: string): Promise<void> {\n await expect(\n this.page.locator(`.task`).filter({ hasText: title }).locator(`.task-infos .delay-count`),\n ).toBeVisible();\n }\n}\n\nclass Phase extends WithPage {\n private readonly phaseLocator: Locator;\n commentBox: Locator;\n confirm: Locator;\n contextMenuButton: Locator;\n dateUtil: DateUtil;\n\n constructor(page: Page, phaseName: string) {\n super(page);\n this.phaseLocator = page.locator('.phase', { hasText: phaseName });\n this.commentBox = this.page.locator(`.input-block-level`);\n this.confirm = this.page.getByTestId('dot-button');\n this.contextMenuButton = this.page.locator('#context-menu-container li');\n this.dateUtil = new DateUtil(page);\n }\n\n async setTitle(title: string): Promise<void> {\n await this.phaseLocator.locator('.phase-header .display').click();\n await this.phaseLocator.locator('.phase-header input').clear();\n await this.phaseLocator.locator('.phase-header input').fill(title);\n await this.phaseLocator.locator('.phase-header input').blur();\n }\n\n async isMenuItemEnabled(menuName: string, taskTitle: string): Promise<void> {\n await this.openContextMenuForTask(taskTitle);\n await expect(this.contextMenuButton.filter({ hasText: menuName })).not.toHaveClass(/disabled/);\n await expect(this.contextMenuButton.filter({ hasText: menuName }).locator('a')).not.toBeDisabled();\n await this.closeContextMenu();\n }\n\n async isMenuItemDisabled(menuName: string, taskTitle: string): Promise<void> {\n await this.openContextMenuForTask(taskTitle);\n await expect(this.contextMenuButton.filter({ hasText: menuName })).toHaveClass(/disabled/);\n await expect(this.contextMenuButton.filter({ hasText: menuName }).locator('a')).toBeDisabled();\n await this.closeContextMenu();\n }\n\n async expectMenuItemIsNotVisible(menuName: string, taskTitle: string): Promise<void> {\n await this.openContextMenuForTask(taskTitle);\n await expect(this.page.locator('#context-menu-container li').filter({ hasText: menuName })).not.toBeVisible();\n await this.closeContextMenu();\n }\n\n async expectMenuItemIsVisible(menuName: string, taskTitle: string): Promise<void> {\n await this.openContextMenuForTask(taskTitle);\n await expect(this.page.locator('#context-menu-container li').filter({ hasText: menuName })).toBeVisible();\n await this.closeContextMenu();\n }\n\n async closeContextMenu(): Promise<void> {\n await this.page.locator('#release-header').click();\n }\n\n async expectTaskBorderWithColor(taskName: string, color: string): Promise<void> {\n await expect(this.page.locator(`.task-box:has-text('${taskName}')`)).toHaveCSS('border-top-color', color);\n }\n\n async addTaskInPhase(taskTitle: string, taskGroup: string, taskType: string): Promise<void> {\n await this.phaseLocator.getByText('Add task').click();\n await this.page.locator('#task-selector').hover();\n await this.page.locator('button[aria-label=\"Clear\"]').click();\n await this.page.locator('#task-selector').fill(taskGroup);\n await this.page.getByTestId(taskType).click();\n await this.page.locator('.icon-close').click();\n await this.page.locator('#task-title').fill(taskTitle);\n await this.page.getByTestId('save-select-task-btn').click();\n await expect(this.phaseLocator.getByText(taskTitle)).toBeVisible();\n }\n\n async getNumberOfTasks(): Promise<number> {\n return await this.phaseLocator.locator('.task').count();\n }\n\n async expectToHaveNoneditableTitle(phaseTitle: string): Promise<void> {\n await expect(this.phaseLocator.locator('.phase-title > span')).toContainText(phaseTitle);\n }\n\n async expectToHaveTitle(phaseTitle: string): Promise<void> {\n await expect(this.phaseLocator.locator('.phase-title')).toContainText(phaseTitle);\n }\n\n async openContextMenuForTask(taskTitle: string): Promise<void> {\n await this.phaseLocator.locator('.task').filter({ hasText: taskTitle }).locator('.context-menu-button').click();\n }\n\n async skipFromContextMenu(comment: string, taskTitle: string): Promise<void> {\n await this.openContextMenuForTask(taskTitle);\n await this.page.locator('.dropdown-menu li').getByText('Skip').click();\n await this.commentBox.fill(comment);\n await this.page.getByRole('button', { name: 'Skip', exact: true }).click();\n }\n\n async expectTemplateLabelNotToBePresent(): Promise<void> {\n await expect(this.page.locator('.dot-chip').filter({ hasText: 'TEMPLATE' })).not.toBeVisible();\n }\n\n async openPhaseDetails(): Promise<void> {\n await this.phaseLocator.locator('.phase-details').click();\n }\n\n async close(): Promise<void> {\n await this.page.locator(\"button[type='button'] i[class='xl-icon close-icon']\").click();\n }\n\n async expectStartDateToBeDisplayed(): Promise<void> {\n await expect(this.page.locator('.modal .start-date')).toBeVisible();\n }\n\n async expectDueDateToBeDisplayed(): Promise<void> {\n await expect(this.page.locator('.modal .due-date')).toBeVisible();\n }\n\n async expectEndDateToBeDisplayed(): Promise<void> {\n await expect(this.page.locator('.modal .end-date')).toBeVisible();\n }\n\n async setTitleFromPhaseDetails(title: string): Promise<void> {\n await this.page.locator('h4.phase-title').click();\n await this.page.locator('h4.phase-title input').fill(title);\n await this.page.locator('h4.phase-title input').press('Enter');\n await expect(this.page.locator('h4.phase-title')).toContainText(title);\n }\n\n async setDueDateFromPhaseDetails(date?: string, monthYear?: string): Promise<void> {\n await this.dateUtil.openDatePicker('.modal .due-date .date-editor');\n await this.dateUtil.setDate(date, monthYear);\n }\n\n async setScheduledStartDateFromPhaseDetails(date?: string, monthYear?: string): Promise<void> {\n await this.dateUtil.openDatePicker('.modal .scheduled-start-date .date-editor');\n await this.dateUtil.setDate(date, monthYear);\n }\n\n async expectDurationToBe(duration: string): Promise<void> {\n await this.dateUtil.expectDurationToBe(duration);\n }\n\n async setDurationFromPhaseDetails(days?: string, hours?: string, mins?: string): Promise<void> {\n await this.dateUtil.setDuration(days, hours, mins);\n }\n\n async expectDueTimeToBe(format: string, date: Date | string): Promise<void> {\n await this.dateUtil.expectTimeToBe('.modal .due-date .time-picker-holder input', format, date);\n }\n\n async deleteTaskInPhase(taskName: string): Promise<void> {\n await this.page.locator('.task').filter({ hasText: taskName }).locator('.xl-icon.options-icon').click();\n await this.page.locator('.remove-task-button').click();\n await expect(this.page.getByRole('heading', { name: 'Delete Task' })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.phaseLocator.locator('li').filter({ hasText: taskName })).not.toBeVisible();\n }\n\n async deletePhase(phaseName: string): Promise<void> {\n await this.phaseLocator.locator('.phase-header').filter({ hasText: phaseName }).locator('.actions').hover();\n await this.phaseLocator.locator('.phase-header').filter({ hasText: phaseName }).locator('.delete-icon').click();\n await expect(this.page.getByRole('heading', { name: 'Delete Phase' })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.phaseLocator.locator('.phase-header').filter({ hasText: phaseName })).not.toBeVisible();\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class ApplicationsPage extends WithPage {\n async goToApplicationsPage(): Promise<this> {\n await this.page.goto('./#/applications');\n await expect(this.page).toHaveTitle('Applications - Digital.ai Release');\n return this;\n }\n\n async addNewApplication(applicationName: string): Promise<this> {\n await this.page.locator(`//button[normalize-space()='New application']`).click();\n await this.page.locator(`input[placeholder='Add name...']`).type(applicationName);\n await this.page.locator(`//button[normalize-space()='Save']`).click();\n return this;\n }\n\n async verifyApplicationisCreated(applicationName: string): Promise<this> {\n await this.page.waitForSelector(`div[title='${applicationName}'] strong`);\n return this;\n }\n\n async createApplicationAndLinkEnvironment(environmentName: string, applicationName: string): Promise<this> {\n await this.page.locator(`//button[normalize-space()='New application']`).click();\n await this.page.locator(`input[placeholder='Add name...']`).type(applicationName);\n await this.page.locator(\"input[placeholder='Filter environment name...']\").type(environmentName);\n await this.page.locator(`div[title='${environmentName}']`).click();\n await this.page.locator(`//button[normalize-space()='Save']`).click();\n await this.page.locator('i.xl-icon.close-icon').click();\n return this;\n }\n}\n","export class DataRandomGenerator {\n static codePointA = 65;\n static codePointZ = 90;\n\n static getString(): string {\n return Math.random().toString(36).substring(2);\n }\n\n static getNumber(min: number, max: number): number {\n return Math.floor(Math.random() * (max - min + 1) + min);\n }\n\n static getAlphabetsString(length: number): string {\n let alphabets = '';\n for (let i = 0; i < length; i++) {\n alphabets += String.fromCharCode(\n DataRandomGenerator.getNumber(DataRandomGenerator.codePointA, DataRandomGenerator.codePointZ),\n );\n }\n return alphabets;\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { Util } from '../common/util';\n\nexport class FolderDeliveryPage extends WithPage {\n util: Util;\n addName: Locator;\n addDescription: Locator;\n searchForDelivery: Locator;\n constructor(page: Page) {\n super(page);\n this.util = new Util(page);\n this.addName = page.locator('.xl-react-components input[placeholder=\"Add...\"]');\n this.addDescription = page.getByPlaceholder('Set description...');\n this.searchForDelivery = page.getByPlaceholder('Search for deliveries...', { exact: true });\n }\n\n async filterDeliveryByName(deliveryName: string): Promise<void> {\n await this.searchForDelivery.click();\n await this.searchForDelivery.clear();\n await this.searchForDelivery.fill(deliveryName);\n await this.searchForDelivery.press('Enter');\n await expect(\n this.page.locator('xlr-delivery-row').filter({ hasText: deliveryName }).getByRole('link').first(),\n ).toBeVisible();\n }\n\n async editDelivery(deliveryName: string, newDeliveryName: string): Promise<void> {\n await this.page\n .locator('xlr-delivery-row')\n .filter({ hasText: deliveryName })\n .locator('.fc-list-item-actions .edit-icon')\n .click();\n await this.util.openSideNavMenu('Properties');\n await this.addName.click();\n await this.addName.clear();\n await this.addName.fill(newDeliveryName);\n await this.page.getByRole('button', { name: 'Save' }).click();\n expect(await this.page.locator('.saved-text').textContent()).toContain('Last saved on ');\n }\n\n async deleteDelivery(deliveryName: string): Promise<void> {\n await this.page\n .locator('xlr-delivery-row')\n .filter({ hasText: deliveryName })\n .locator('.fc-list-item-actions .delete-icon')\n .click();\n await expect(this.page.getByText('Delete release delivery', { exact: true })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(\n this.page.locator('.success').filter({ hasText: 'Deleted release delivery successfully' }),\n ).toBeVisible();\n }\n}\n","import { Page, expect, Locator } from '@playwright/test';\nimport { Util } from '../common/util';\nimport { WithPage } from '../WithPage';\nimport { DateUtil } from '../common/dateUtil';\n\nexport class FolderGroupsPage extends WithPage {\n util: Util;\n newReleaseGroupButton: Locator;\n dateUtil: DateUtil;\n dateMonth: Date;\n\n constructor(page: Page) {\n super(page);\n this.dateUtil = new DateUtil(page);\n this.util = new Util(page);\n this.newReleaseGroupButton = page.getByTestId('dot-button');\n this.dateMonth = new Date();\n }\n\n async createGroup(groupName: string, startDate?: string, endDate?: string): Promise<void> {\n await this.newReleaseGroupButton.click();\n await expect(this.page.getByText('Create new release group')).toBeVisible();\n await this.enterGroupName(groupName);\n const monthYear = await this.dateUtil.getCurrentMonthYear();\n if (startDate) await this.enterStartDate(startDate, monthYear);\n if (endDate) await this.enterEndDate(endDate, monthYear);\n await this.clickCreate();\n await this.expectSuccessMessageOnReleaseGroupCreation();\n }\n\n async addReleaseToGroup(releaseName: string): Promise<void> {\n await expect(this.page.locator('.action-toolbar-actions button').filter({ hasText: 'Add release' })).toBeEnabled();\n await this.page.locator('.action-toolbar-actions button').filter({ hasText: 'Add release' }).click({ force: true });\n await this.page.getByPlaceholder('Search for a release...').click();\n await this.page.getByPlaceholder('Search for a release...').fill(releaseName);\n await this.page.keyboard.press('Enter');\n await this.page\n .locator('release-list-modal-release-row')\n .filter({ hasText: releaseName })\n .getByRole('checkbox')\n .check();\n await this.page.getByRole('button', { name: 'Add' }).click();\n await this.expectSuccessMessageOnAddingReleaseToGroup();\n await expect(this.page.getByRole('link', { name: releaseName })).toBeVisible();\n }\n\n async editReleaseGroupName(newGroupName: string): Promise<void> {\n await this.page.locator('#title').click();\n await this.page.locator('#title').clear();\n await this.page.locator('#title').fill(newGroupName);\n }\n\n async enterGroupName(groupName: string): Promise<void> {\n await this.page.locator('#title').click();\n await this.page.locator('#title').fill(groupName);\n }\n\n async enterStartDate(date: string, monthYear: string): Promise<void> {\n await this.page.locator('.form-group').filter({ hasText: 'start date' }).locator('.date input').click();\n await this.dateUtil.setDate(date, monthYear);\n }\n\n async enterEndDate(date: string, monthYear: string): Promise<void> {\n await this.page.locator('.form-group').filter({ hasText: 'end date' }).locator('.date input').click();\n await this.dateUtil.setDate(date, monthYear);\n }\n\n async clickCreate(): Promise<void> {\n await this.page.getByRole('button', { name: 'Create' }).click();\n }\n\n async expectSuccessMessageOnReleaseGroupCreation(): Promise<void> {\n await expect(this.page.getByLabel('success')).toBeVisible();\n await expect(this.page.locator('.success').filter({ hasText: 'Created release group successfully' })).toBeVisible();\n }\n\n async expectSuccessMessageOnAddingReleaseToGroup(): Promise<void> {\n await expect(this.page.getByLabel('success')).toBeVisible();\n await expect(\n this.page.locator('.success').filter({ hasText: 'Added release to release group successfully' }),\n ).toBeVisible();\n }\n\n async expectSuccessMessageOnUpdatingGroup(): Promise<void> {\n await expect(this.page.getByLabel('success')).toBeVisible();\n await expect(this.page.locator('.success').filter({ hasText: 'Updated release group successfully' })).toBeVisible();\n }\n\n async searchReleaseGroupByTitle(title: string): Promise<void> {\n await this.page.getByPlaceholder('Search for groups...', { exact: true }).click();\n await this.page.getByPlaceholder('Search for groups...', { exact: true }).fill(title);\n await this.page.getByPlaceholder('Search for groups...', { exact: true }).press('Enter');\n await expect(this.page.locator('.fc-list-item-title')).toContainText(title);\n }\n\n async deleteReleaseGroup(title: string): Promise<void> {\n await this.page.locator('.fc-list-item-line').filter({ hasText: title }).locator('.fc-item-delete').click();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n }\n\n async clickReleaseGroupEdit(title: string): Promise<void> {\n await this.page.locator('.fc-list-item-line').filter({ hasText: title }).locator('.fc-item-update').click();\n }\n\n async clickSave(): Promise<void> {\n await this.page.getByRole('button', { name: 'Save' }).click();\n }\n\n async clickCancel(): Promise<void> {\n await this.page.getByRole('button', { name: 'Cancel' }).click();\n }\n\n async clickOnStatusField(): Promise<void> {\n await this.page.locator('.ci-filter-status.ng-isolate-scope').click();\n }\n\n async statusFilter(statusNames: string[]): Promise<void> {\n await this.clickOnStatusClearAll();\n await this.clickOnStatusField();\n for (let i = 0; i < statusNames.length; i++) {\n await this.page.locator(`i.xl-icon.icon-s.checkbox[data='${statusNames[i]}']`).click();\n }\n }\n\n async clickOnStatusClearAll(): Promise<void> {\n await this.clickOnStatusField();\n await this.page.locator('a.xl-react-link', { hasText: 'Clear all' }).click();\n }\n\n async clickOnStatusSelectAll(): Promise<void> {\n await this.clickOnStatusField();\n await this.page.locator('a.xl-react-link', { hasText: 'Select all' }).click();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { Util } from '../common/util';\n\nexport class FolderPatternPage extends WithPage {\n util: Util;\n addName: Locator;\n addDescription: Locator;\n constructor(page: Page) {\n super(page);\n this.util = new Util(page);\n this.addName = page.locator('.xl-react-components input[placeholder=\"Add...\"]');\n this.addDescription = page.getByPlaceholder('Set description...');\n }\n\n async clickNewDeliveryPattern(): Promise<void> {\n await this.page.getByTestId('dot-button').click();\n await expect(this.page.getByRole('heading', { name: 'Create delivery pattern' })).toBeVisible();\n }\n\n async setPatternName(patternName: string): Promise<void> {\n await this.addName.click();\n await this.addName.clear();\n await this.addName.fill(patternName);\n }\n\n async setPatternDescription(patternDescription: string): Promise<void> {\n await this.page.getByPlaceholder('Set description...').click();\n await this.page.getByPlaceholder('Set description...').clear();\n await this.page.getByPlaceholder('Set description...').fill(patternDescription);\n }\n\n async enableAutoComplete(): Promise<void> {\n await this.page.getByRole('checkbox').check();\n }\n\n async disableAutoComplete(): Promise<void> {\n await this.page.getByRole('checkbox').uncheck();\n }\n\n async setDuration(month: number, days: number, hours: number): Promise<void> {\n await this.page.getByRole('group', { name: 'Pattern details' }).getByRole('textbox').click();\n await this.page.locator('input[name=\"months\"]').click();\n await this.page.locator('input[name=\"months\"]').fill(month.toString());\n await this.page.locator('input[name=\"days\"]').click();\n await this.page.locator('input[name=\"days\"]').fill(days.toString());\n await this.page.locator('input[name=\"hours\"]').click();\n await this.page.locator('input[name=\"hours\"]').fill(hours.toString());\n }\n\n async createNewPattern(patternName: string, patternDescription: string): Promise<void> {\n await this.clickNewDeliveryPattern();\n await this.setPatternName(patternName);\n await this.setPatternDescription(patternDescription);\n await expect(this.page.locator('.action-toolbar-actions button').filter({ hasText: 'Create' })).toBeEnabled();\n await this.page.locator('.action-toolbar-actions button').filter({ hasText: 'Create' }).click({ force: true });\n await expect(this.page.getByLabel('breadcrumb').getByText('Delivery flow')).toBeVisible();\n }\n\n async clickEditPatternIcon(patternName: string): Promise<void> {\n await this.page.locator('.delivery-pattern-row').filter({ hasText: patternName }).locator('.edit').click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Delivery flow')).toBeVisible();\n }\n\n async clickCopyPatternIcon(patternName: string): Promise<void> {\n await this.page.locator('.delivery-pattern-row').filter({ hasText: patternName }).locator('.copy').click();\n await expect(this.page.getByText('Copy delivery pattern')).toBeVisible();\n }\n\n async filterPatternByName(patternName: string): Promise<void> {\n await this.page.getByPlaceholder('Filter by name...').click();\n await this.page.getByPlaceholder('Filter by name...').clear();\n await this.page.getByPlaceholder('Filter by name...').fill(patternName);\n await this.page.getByPlaceholder('Filter by name...').press('Enter');\n await expect(this.page.locator('.delivery-pattern-row').filter({ hasText: patternName })).toBeVisible();\n }\n\n async openProperties(): Promise<Properties> {\n await this.util.openSideNavMenu('Properties');\n return new Properties(this.page);\n }\n\n async back(): Promise<void> {\n await this.page.getByTestId('back-button').click();\n }\n\n async copyPattern(existingPatternName: string, NewPatternName: string): Promise<void> {\n await this.clickCopyPatternIcon(existingPatternName);\n await this.page.locator('.xl-icon.close-icon').first().click();\n await this.addName.fill(NewPatternName);\n await this.page.getByRole('button', { name: 'Continue' }).click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Delivery flow')).toBeVisible();\n }\n\n async clickDeletePattern(patternName: string): Promise<void> {\n await this.page.locator('.delivery-pattern-row').filter({ hasText: patternName }).locator('.delete').click();\n await expect(this.page.getByText('Delete delivery pattern', { exact: true })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.page.locator('.delivery-pattern-row').filter({ hasText: patternName })).not.toBeVisible();\n }\n\n async createNewDelivery(deliveryName: string, deliveryDes?: string, setAutoComplete?: true): Promise<void> {\n await this.page.getByTestId('dot-button').click();\n await this.addName.fill(deliveryName);\n await this.addDescription.click();\n if (deliveryDes) await this.addDescription.fill(deliveryDes);\n else await this.addDescription.fill('Description');\n if (setAutoComplete) await this.page.getByRole('checkbox').check();\n await expect(this.page.locator('.action-toolbar-actions button').filter({ hasText: 'Create' })).toBeEnabled();\n await this.page.locator('.action-toolbar-actions button').filter({ hasText: 'Create' }).click({ force: true });\n await expect(this.page.locator('.MuiBreadcrumbs-li').getByRole('link', { name: `${deliveryName}` })).toBeVisible();\n }\n}\nclass Properties extends WithPage {\n addName: Locator;\n addDescription: Locator;\n constructor(page: Page) {\n super(page);\n this.addName = page.locator('.xl-react-components input[placeholder=\"Add...\"]');\n this.addDescription = page.getByPlaceholder('Set description...');\n }\n\n async editName(name: string): Promise<void> {\n await this.addName.click();\n await this.addName.clear();\n await this.addName.fill(name);\n }\n\n async editDescription(description: string): Promise<void> {\n await this.page.getByPlaceholder('Set description...').click();\n await this.page.getByPlaceholder('Set description...').clear();\n await this.page.getByPlaceholder('Set description...').fill(description);\n }\n\n async editDuration(month: number, days: number, hours: number): Promise<void> {\n await this.page.getByRole('group', { name: 'Pattern details' }).getByRole('textbox').click();\n await this.page.locator('input[name=\"months\"]').click();\n await this.page.locator('input[name=\"months\"]').fill(month.toString());\n await this.page.locator('input[name=\"days\"]').click();\n await this.page.locator('input[name=\"days\"]').fill(days.toString());\n await this.page.locator('input[name=\"hours\"]').click();\n await this.page.locator('input[name=\"hours\"]').fill(hours.toString());\n }\n\n async save(): Promise<void> {\n await this.page.getByRole('button', { name: 'Save' }).click();\n expect(await this.page.locator('.saved-text').textContent()).toContain('Last saved on ');\n }\n}\n","import { Page, expect, Locator } from '@playwright/test';\nimport { Util } from '../common/util';\nimport { WithPage } from '../WithPage';\n\nexport class FolderNotificationPage extends WithPage {\n inheritCheckbox: Locator;\n util: Util;\n constructor(page: Page) {\n super(page);\n this.inheritCheckbox = page.getByRole('checkbox');\n this.util = new Util(page);\n }\n\n async checkInheritNotifications(): Promise<void> {\n await this.inheritCheckbox.click();\n if (await this.page.getByText('Override notification settings').isVisible()) {\n await this.page.getByRole('button', { name: 'Ok' }).click();\n }\n await expect(this.page.getByRole('checkbox')).toBeChecked();\n await expect(this.page.locator('.xl-icon.edit-icon')).not.toBeVisible();\n }\n\n async uncheckInheritNotifications(): Promise<void> {\n await this.inheritCheckbox.dblclick();\n await expect(this.page.getByRole('checkbox')).not.toBeChecked();\n await expect(this.page.locator('.xl-icon.edit-icon').first()).toBeVisible();\n }\n\n async expectRecipientsNotToBeEditable(eventName: string): Promise<void> {\n eventName = eventName.replace(/\\s+/g, '_').toUpperCase();\n await expect(this.page.locator(`[data-test=\"${eventName}\"]`).getByText('Edit Message')).not.toBeVisible();\n }\n\n async deleteTeam(eventName: string, teamName: string): Promise<void> {\n eventName = eventName.replace(/\\s+/g, '_').toUpperCase();\n await this.page\n .locator(`[data-test=\"${eventName}\"] div.role`)\n .filter({ hasText: teamName })\n .locator('a.tag-close')\n .click();\n }\n\n async expectEditMessageIsVisible(eventName: string): Promise<void> {\n eventName = eventName.replace(/\\s+/g, '_').toUpperCase();\n await expect(this.page.locator(`[data-test=\"${eventName}\"]`).getByText('Edit Message')).toBeVisible();\n }\n\n async addTeam(eventName: string, teamName: string): Promise<void> {\n eventName = eventName.replace(/\\s+/g, '_').toUpperCase();\n await this.page.locator(`[data-test=\"${eventName}\"]`).getByPlaceholder('Add...').click();\n await this.page.locator(`[data-test=\"${eventName}\"]`).getByPlaceholder('Add...').fill(teamName);\n await this.page.locator(`[data-test=\"${eventName}\"]`).getByText(teamName).click();\n }\n\n async clickEditMessage(eventName: string): Promise<void> {\n eventName = eventName.replace(/\\s+/g, '_').toUpperCase();\n await this.page.locator(`[data-test=\"${eventName}\"]`).getByText('Edit Message').click();\n await expect(this.page.getByText('Edit message: Active task')).toBeVisible();\n }\n\n async editPriority(eventName: string, priority: string): Promise<void> {\n eventName = eventName.replace(/\\s+/g, '_').toUpperCase();\n await this.page.getByRole('combobox').locator('i').click();\n await this.page.getByRole('option', { name: priority }).click();\n await this.page.getByRole('button', { name: 'Save' }).click();\n }\n}\n","import { expect, Locator, Page } from '@playwright/test';\nimport { FolderDeliveryPage } from './folder/folderDeliveryPage';\nimport { FolderGroupsPage } from './folder/folderGroupPage';\nimport { FolderPatternPage } from './folder/folderPatternPage';\nimport { FolderNotificationPage } from './folder/folderNotificationPage';\nimport { Util } from './common/util';\nimport { WithPage } from './WithPage';\n\nexport class FolderPage extends WithPage {\n deliveryPage: FolderDeliveryPage;\n expandButton: Locator;\n notificationPage: FolderNotificationPage;\n patternPage: FolderPatternPage;\n folderGroupsPage: FolderGroupsPage;\n util: Util;\n\n constructor(page: Page) {\n super(page);\n this.deliveryPage = new FolderDeliveryPage(page);\n this.expandButton = this.page.getByRole('button', { name: ' Expand' });\n this.folderGroupsPage = new FolderGroupsPage(page);\n this.notificationPage = new FolderNotificationPage(page);\n this.patternPage = new FolderPatternPage(page);\n this.util = new Util(page);\n }\n\n async openFoldersPage(): Promise<this> {\n await this.page.goto('./#/folders');\n await expect(this.page).toHaveTitle('Folders - Digital.ai Release');\n return this;\n }\n\n async backToAllFolders(): Promise<this> {\n await this.page.locator('.icon-back.dot-i').click();\n await expect(this.page).toHaveTitle('Folders - Digital.ai Release');\n await this.page.locator('button.btn-add-folder').isVisible();\n return this;\n }\n\n async createFolder(folderName: string): Promise<this> {\n await this.page.getByRole('button', { name: ' Add folder' }).click();\n await expect(this.page.getByText('Create a new folder in root')).toBeVisible();\n await this.page.getByRole('textbox').fill(folderName);\n await this.page.getByRole('button', { name: 'Create' }).click();\n await expect(this.page.getByRole('link', { name: folderName })).toBeVisible();\n return this;\n }\n\n async openFolder(folderName: string): Promise<this> {\n await this.page.getByTitle(folderName).waitFor({ timeout: 1000 });\n await this.page.getByTitle(folderName).click();\n await expect(this.page.locator('.MuiBreadcrumbs-li').getByRole('link', { name: `${folderName}` })).toBeVisible();\n return this;\n }\n\n async openGroups(): Promise<FolderGroupsPage> {\n await this.util.openSideNavMenu('Groups');\n await expect(this.page.getByLabel('breadcrumb').getByText('Groups')).toBeVisible();\n return this.folderGroupsPage;\n }\n\n async createGroup(groupName: string): Promise<this> {\n await this.page.locator(\"//button[normalize-space()='New release group']\").click();\n await this.page.locator('#title').type(groupName);\n await this.page.locator(\"button[type='submit']\").click();\n return this;\n }\n\n async selectPlannedStatus(): Promise<this> {\n await this.page.locator('.remaining-tags').click();\n await this.page.locator('.xl-react-link:text-is(\"Clear all\")').click();\n await this.page.locator('.react-tagsinput').click();\n await this.page.locator(`.yt-option[title=Planned]`).click();\n await this.page.locator(\"//span[normalize-space()='Status']\").click();\n return this;\n }\n\n async expectReleaseGroupisDisplayed(title: string): Promise<this> {\n //await this.page.locator(`.fc-list-item-title-wrapper .fc-list-item-title strong:text-is('${title}`).isVisible()\n await this.page.waitForSelector(`.fc-list-item-title-wrapper .fc-list-item-title strong:text-is('${title}')`);\n return this;\n }\n\n async createSubFolder(parentFolder: string, subFolderName: string): Promise<void> {\n await this.clickExpandButton();\n await this.page.getByRole('link', { name: parentFolder }).hover();\n await this.clickFolderOptions(parentFolder, 'add');\n await this.page.getByRole('textbox').fill(subFolderName);\n await this.page.getByRole('button', { name: 'Create' }).click();\n await expect(this.page.getByRole('link', { name: subFolderName })).toBeVisible();\n }\n\n async renameFolder(existingFolderName: string, newFolderName: string): Promise<void> {\n await this.clickExpandButton();\n await this.page.getByRole('link', { name: existingFolderName }).hover();\n await this.clickFolderOptions(existingFolderName, 'edit');\n await this.page.locator('.folder-row-wrapper input').click();\n await this.page.locator('.folder-row-wrapper input').fill(newFolderName);\n await this.page.keyboard.press('Enter');\n await expect(this.page.getByRole('link', { name: newFolderName })).toBeVisible();\n }\n\n async deleteFolder(folderName: string): Promise<void> {\n await this.clickExpandButton();\n await this.page.getByRole('link', { name: folderName }).hover();\n await this.clickFolderOptions(folderName, 'delete');\n await expect(this.page.getByRole('heading', { name: 'Delete folder' }).locator('span')).toBeVisible();\n await expect(\n this.page\n .locator('.xl-react-modal .confirmation-content')\n .getByText(\n 'You are about to delete the folder ' +\n folderName +\n '. Folders nested in ' +\n folderName +\n ' will also be deleted.',\n ),\n ).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.page.getByRole('link', { name: folderName })).not.toBeVisible();\n }\n\n async searchFolderByName(folderName: string): Promise<void> {\n await this.page.getByPlaceholder('Search folder...').click();\n await this.page.getByPlaceholder('Search folder...').clear();\n await this.page.getByPlaceholder('Search folder...').fill(folderName);\n await this.page.getByPlaceholder('Search folder...').press('Enter');\n await expect(this.page.getByRole('link', { name: folderName })).toBeVisible();\n }\n\n async openPatterns(): Promise<FolderPatternPage> {\n await this.util.openSideNavMenu('Deliveries');\n await this.util.openNestedMenuItem('Patterns');\n await expect(this.page.getByLabel('breadcrumb').getByText('Patterns')).toBeVisible();\n return this.patternPage;\n }\n\n async clickFolderOptions(folderName: string, option: string): Promise<void> {\n await this.page.locator('.folder-row-wrapper', { hasText: folderName }).locator(`.xl-icon.${option}-icon`).click();\n }\n\n async clickExpandButton(): Promise<void> {\n if (await this.expandButton.isEnabled()) {\n await this.expandButton.click();\n }\n }\n\n async openDeliveriesOverview(): Promise<FolderDeliveryPage> {\n await this.util.openSideNavMenu('Deliveries');\n await this.util.openNestedMenuItem('Deliveries overview');\n await expect(this.page.getByLabel('breadcrumb').getByText('Deliveries')).toBeVisible();\n return this.deliveryPage;\n }\n async openNotifications(): Promise<void> {\n await this.util.openSideNavMenu('Notifications');\n await expect(this.page.getByLabel('breadcrumb').getByText('Notifications')).toBeVisible();\n }\n}\n","import { Page, expect, Locator } from '@playwright/test';\nimport { WithPage } from './WithPage';\nimport { DateUtil } from './common/dateUtil';\n\nexport class GlobalVariable extends WithPage {\n addListValue: Locator;\n listAddButton: Locator;\n addVariableValue: Locator;\n addVariablelabel: Locator;\n constructor(page: Page) {\n super(page);\n this.addListValue = this.page.locator('.variable-selector .xl-components-input-full input');\n this.addVariableValue = this.page.locator('.variable-value .xl-components-input-full input');\n this.addVariablelabel = this.page.locator('.variable-label input');\n this.listAddButton = this.page.getByRole('button', { name: 'Add' });\n }\n\n async addVariableText(valuename: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('StringVariable');\n await this.page.locator('.variable-value').type(valuename);\n await this.submitTheVariable();\n }\n async addVariableListbox(possiblevalue: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('DropDownListBox');\n await this.addListValue.fill(possiblevalue);\n await this.listAddButton.click();\n await this.page.getByRole('combobox').nth(1).selectOption(possiblevalue);\n await this.submitTheVariable();\n }\n async addVariablePassword(possiblevalue: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('PasswordStringVariable');\n await this.page.locator('input[type=\"password\"]').type(possiblevalue);\n await this.submitTheVariable();\n }\n async addVariableCheckbox(): Promise<void> {\n await this.page.getByRole('combobox').selectOption('BooleanVariable');\n await this.page.getByRole('checkbox').check();\n await this.submitTheVariable();\n }\n async addVariableNumber(possiblevalue: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('IntegerVariable');\n await this.page.locator('input[ng-model=\"var.value\"]').fill(possiblevalue);\n await this.submitTheVariable();\n }\n async addVariableList(possiblevalue1: string, possiblevalue2: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('ListStringVariable');\n await this.addVariableValue.fill(possiblevalue1);\n await this.listAddButton.click();\n await this.addVariableValue.fill(possiblevalue2);\n await this.listAddButton.click();\n await this.submitTheVariable();\n }\n async addVariableMultiList(possiblevalue1: string, possiblevalue2: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('MultiSelectListBox');\n await this.addListValue.fill(possiblevalue1);\n await this.listAddButton.click();\n await this.addListValue.fill(possiblevalue2);\n await this.listAddButton.click();\n await this.page.locator('.react-tagsinput').click();\n await this.page.getByText('Select all', { exact: true }).click();\n await this.submitTheVariable();\n }\n async addVariableDate(): Promise<void> {\n await this.page.getByRole('combobox').selectOption('DateVariable');\n await this.page.getByText('Select date').click();\n }\n\n async setDate(date?: string, monthYear?: string): Promise<void> {\n const dateUtil = new DateUtil(this.page);\n await dateUtil.setDate(date, monthYear);\n }\n\n async addVariableKeyValueMap(keys1: string, values1: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('MapStringStringVariable');\n await this.page.getByPlaceholder('key').fill(keys1);\n await this.page.getByPlaceholder('Value').fill(values1);\n await this.listAddButton.click();\n await this.page.locator('.xl-map-string-string-div-buttons .search-icon').click();\n await this.page.getByRole('row', { name: 'Search' }).getByRole('textbox').fill(keys1);\n const detail = await this.page.locator('table.table-condensed span').allInnerTexts();\n await expect(detail[0]).toEqual(keys1);\n await expect(detail[1]).toEqual(values1);\n await this.submitTheVariable();\n }\n async addVariableSet(possiblevalue1: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('SetStringVariable');\n await this.page.locator('.dip-input input').fill(possiblevalue1);\n await this.listAddButton.click();\n await this.submitTheVariable();\n }\n async addNewVariable(variableName: string, labelname: string, description: string): Promise<void> {\n await this.page.getByRole('button', { name: 'New global variable' }).click();\n await this.page.locator(`div.input-group > input`).type(variableName);\n await this.addVariablelabel.fill(labelname);\n await this.page.locator('.variable-description input').fill(description);\n }\n\n async verifyGlobalVariableCreation(variableName: string): Promise<void> {\n await this.page.locator(\"[id='variables-filter']\").fill(variableName);\n await expect(this.page.locator('.variable.ui-sortable-handle').filter({ hasText: variableName })).toBeVisible();\n }\n async submitTheVariable(): Promise<void> {\n const pagesubmit = await this.page.locator('.button.save');\n await pagesubmit.hover();\n await pagesubmit.click();\n }\n async deleteGlobalVariable(variableName: string): Promise<void> {\n await this.page.locator(\"[id='variables-filter']\").fill(variableName);\n await this.page.getByText('Delete').click();\n await expect(this.page.locator('h4.ng-binding')).toContainText(variableName);\n await this.page.getByRole('button', { name: 'Cancel' }).click();\n await this.verifyGlobalVariableCreation(variableName);\n await this.page.getByText('Delete').click();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await this.page.locator('alert.notice.ng-scope').isVisible();\n }\n async editVariable(variableName: string, editedvariabletext: string): Promise<void> {\n await this.page.locator(\"[id='variables-filter']\").fill(variableName);\n await this.page.getByText('Edit').click();\n await this.addVariablelabel.clear();\n await this.addVariablelabel.fill(editedvariabletext);\n await this.page.getByRole('button', { name: 'Save' }).click();\n await expect(\n this.page.locator('.variable.ui-sortable-handle').getByText(editedvariabletext, { exact: true }),\n ).toBeVisible();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class HomePage extends WithPage {\n configureButton: Locator;\n viewModeButton: Locator;\n constructor(page: Page) {\n super(page);\n this.configureButton = this.page.getByRole('button', { name: 'Configure' });\n this.viewModeButton = this.page.getByRole('button', { name: 'back icon Back to view mode' });\n }\n\n async verifyHomePage(): Promise<void> {\n await expect(this.page.getByRole('heading', { name: 'Digital.ai Release Home' })).toBeVisible();\n }\n\n async verifyConfigureButton(): Promise<void> {\n await this.configureButton.click();\n await expect(this.viewModeButton).toBeVisible();\n await this.viewModeButton.click();\n }\n\n async addReleaseTiles(): Promise<void> {\n await this.configureButton.click();\n await this.page.getByRole('button', { name: 'Add tiles' }).click();\n await this.page.getByPlaceholder('Search...').fill('releases');\n await this.page.getByPlaceholder('Search...').click();\n await this.page.getByText('Release tile (Global)').hover();\n await this.page\n .locator('xlr-tile-card')\n .filter({ hasText: 'Release tile (Global) Add See' })\n .getByRole('button')\n .click();\n await this.page.getByRole('button', { name: 'back icon Back to view mode' }).click();\n await expect(this.page.getByRole('heading', { name: 'Releases' }).first()).toBeVisible();\n }\n\n async addWorkflowTiles(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add tiles' }).click();\n await this.page.getByText('Workflow tile (Global)').hover();\n await this.page\n .locator('xlr-tile-card')\n .filter({ hasText: 'Workflow tile (Global) Add' })\n .getByRole('button')\n .click();\n await this.page.getByRole('button', { name: 'back icon Back to view mode' }).click();\n await expect(this.page.getByRole('heading', { name: 'Introducing Workflows' }).first()).toBeVisible();\n }\n\n async addApplicationTiles(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add tiles' }).click();\n await this.page.getByText('Application tile (Global)').hover();\n await this.page\n .locator('xlr-tile-card')\n .filter({ hasText: 'Application tile (Global) Add' })\n .getByRole('button')\n .click();\n await this.page.getByRole('button', { name: 'back icon Back to view mode' }).click();\n await expect(this.page.getByRole('heading', { name: 'Applications' }).first()).toBeVisible();\n }\n\n async addTemplateTiles(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add tiles' }).click();\n await this.page.getByText('Template tile (Global)').hover();\n await this.page\n .locator('xlr-tile-card')\n .filter({ hasText: 'Template tile (Global) Add' })\n .getByRole('button')\n .click();\n await this.page.getByRole('button', { name: 'back icon Back to view mode' }).click();\n await expect(this.page.getByRole('heading', { name: 'Templates' }).first()).toBeVisible();\n }\n\n async addAnnouncementTiles(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add tiles' }).click();\n await this.page.getByText('Announcement tile (Global)').hover();\n await this.page\n .locator('xlr-tile-card')\n .filter({ hasText: 'Announcement tile (Global) Add' })\n .getByRole('button')\n .click();\n await this.page.getByRole('button', { name: 'back icon Back to view mode' }).click();\n await expect(this.page.getByRole('heading', { name: 'Getting started' }).first()).toBeVisible();\n }\n\n async addAnaslyticsTiles(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add tiles' }).click();\n await this.page.getByText('Analytics tile (Global)').hover();\n await this.page\n .locator('xlr-tile-card')\n .filter({ hasText: 'Analytics tile (Global) Add' })\n .getByRole('button')\n .click();\n await this.page.getByRole('button', { name: 'back icon Back to view mode' }).click();\n await expect(this.page.getByRole('button', { name: 'View Analytics' }).nth(1)).toBeVisible();\n }\n /**\n * Remove the tiles from the home page\n * @param tileName name of the tile to be removed\n * tileName TileName should be \"Releases\", \"Workflows\", \"Applications\", \"Templates\", \"Announcements\", \"Analytics\"\n */\n async removeTiles(tileName: string): Promise<void> {\n await this.configureButton.click();\n await this.page\n .locator('.xlr-tile-container[data-title=\"' + tileName + '\"]')\n .last()\n .hover();\n await this.page\n .locator('[data-title=\"' + tileName + '\"] .delete-icon')\n .last()\n .click();\n await expect(this.page.getByRole('heading', { name: 'Delete tile' })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await this.viewModeButton.click();\n }\n\n async verifyWhatsNewButton(): Promise<void> {\n await this.page.getByText(`What's new`).waitFor({ state: 'visible' });\n await this.page.getByText(`What's new`).click();\n await expect(this.page.getByText('Introducing Analytics')).toBeVisible();\n await this.page.getByLabel('Close').click();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\nimport { Util } from './common/util';\n\nexport class HeaderPage extends WithPage {\n announcementIcon: Locator;\n settingsIcon: Locator;\n aboutMenu: Locator;\n util: Util;\n\n constructor(page: Page) {\n super(page);\n this.announcementIcon = this.page.getByLabel('Open Resource Center');\n this.settingsIcon = this.page.locator('i[aria-label=\"settings-admin-opaque icon\"]');\n this.aboutMenu = this.page.getByText('About Digital.ai Release');\n this.util = new Util(page);\n }\n\n async verifyVersionNumber(versionNumber: string): Promise<void> {\n const year = new Date().getFullYear();\n await this.settingsIcon.click();\n await this.aboutMenu.click();\n await expect(this.page.getByText('Version ' + versionNumber)).toBeVisible();\n await expect(this.page.getByRole('img', { name: 'Release' })).toBeVisible();\n await expect(this.page.getByText(`ⓒ ${year} Digital.ai Software,`)).toBeVisible();\n await this.util.clickCloseIcon();\n }\n\n async verifyProductAnnouncements(): Promise<void> {\n await expect(this.announcementIcon).toBeVisible();\n await this.announcementIcon.click();\n expect(await this.page.locator('#pendo-guide-container').innerText()).toContain('Product updates');\n }\n\n async clickHelpIcon(): Promise<void> {\n await this.page.getByTestId('right-side-nav').getByRole('button', { name: 'Help' }).click();\n }\n\n async verifyOnlineDocumentation(): Promise<void> {\n const versionNumber = await this.getVersionNumber();\n await this.clickHelpIcon();\n const page2Promise = this.page.waitForEvent('popup');\n await expect(this.page.getByText('Online documentation')).toBeVisible();\n await this.page.getByText('Online documentation').click();\n const page2 = await page2Promise;\n expect(page2.url()).toContain(\n 'https://docs.digital.ai/bundle/devops-release-version-v.' +\n versionNumber.substring(8, 12) +\n '/page/release/how-to/get-started-with-xl-release.html',\n );\n await this.page.bringToFront();\n }\n\n async verifySupportRequest(): Promise<void> {\n await expect(this.page.getByRole('menuitem', { name: 'Submit a support request' })).toBeVisible();\n const page2Promise = this.page.waitForEvent('popup');\n await this.page.getByRole('menuitem', { name: 'Submit a support request' }).click();\n const page2 = await page2Promise;\n expect(page2.url()).toContain('https://support.digital.ai/hc/en-us/');\n await this.page.bringToFront();\n }\n\n async verifySuggestAFeature(): Promise<void> {\n await expect(this.page.getByText('Suggest a feature')).toBeVisible();\n const page2Promise = this.page.waitForEvent('popup');\n await this.page.getByText('Suggest a feature').click();\n const page2 = await page2Promise;\n expect(page2.url()).toContain('https://ideas.digital.ai/devops');\n await this.page.bringToFront();\n }\n\n async verifyDigitalAiWebsite(): Promise<void> {\n await expect(this.page.getByText('Digital.ai website')).toBeVisible();\n const page2Promise = this.page.waitForEvent('popup');\n await this.page.getByText('Digital.ai website').click();\n const page2 = await page2Promise;\n expect(page2.url()).toContain('https://digital.ai/');\n await this.page.bringToFront();\n }\n\n async clickAvatarIcon(username: string): Promise<void> {\n await this.page.getByLabel(username, { exact: true }).click();\n }\n\n async verifyUser(userFullName: string): Promise<void> {\n await this.page.locator('li').getByLabel(userFullName).click();\n await expect(this.page.getByRole('heading', { name: 'Personal settings for admin' })).toBeVisible();\n }\n\n async clickAccessTokens(): Promise<void> {\n await this.page.getByText('Access tokens').click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Access tokens')).toBeVisible();\n }\n\n async getVersionNumber(): Promise<string> {\n await this.settingsIcon.click();\n await this.aboutMenu.click();\n const versionNumber = await this.page.locator('.version-text').innerText();\n await this.util.clickCloseIcon();\n return versionNumber;\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\nimport { Util } from './common/util';\n\nexport class ManagePluginsPage extends WithPage {\n util: Util;\n constructor(page: Page) {\n super(page);\n this.util = new Util(page);\n }\n\n async openPluginGallery(): Promise<void> {\n await this.util.openSideNavMenu('Plugin gallery');\n await expect(this.page.getByLabel('breadcrumb').getByText('Plugin gallery')).toBeVisible();\n }\n\n async openInstalledPlugins(): Promise<void> {\n await this.util.openSideNavMenu('Installed plugins');\n await expect(this.page.getByLabel('breadcrumb').getByText('Installed plugins')).toBeVisible();\n }\n\n async searchForPlugins(searchText: string): Promise<void> {\n await this.page.getByPlaceholder('Search for plugin').fill(searchText);\n expect(await this.page.locator('.PluginTile__title-and-version___1HsNr span').count()).toBeGreaterThan(0);\n }\n\n async refreshPluginList(): Promise<void> {\n await expect(this.page.getByTestId('plugin-refresh-btn')).toBeVisible();\n await this.page.getByTestId('plugin-refresh-btn').click();\n }\n\n async clickInstallNow(pluginName: string): Promise<void> {\n await this.page\n .locator('div')\n .filter({ hasText: 'Install now' + pluginName })\n .getByRole('button')\n .click();\n }\n\n async expectRestartInfo(): Promise<void> {\n await expect(this.page.getByLabel('info')).toContainText(\n 'Restart Digital.ai Release to finish installing the plugin.',\n );\n }\n\n async expectNewPluginInstallationInfo(pluginName: string): Promise<void> {\n await expect(this.page.getByText('New plugin installedPlugin')).toBeVisible();\n await expect(this.page.getByLabel('info').locator('div')).toContainText(\n 'New plugin installedPlugin release-' +\n pluginName.toLowerCase() +\n '-integration has been installed, click here to reload the changes or refresh your browser',\n );\n }\n\n async clickUpload(): Promise<void> {\n await this.page.getByTestId('dot-button').click();\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class PersonalAccessTokenPage extends WithPage {\n async openPersonalAccessTokenPage(): Promise<this> {\n // await this.page.locator(\"button.dot-avatar\").click()\n // await this.page.locator(\"//div[normalize-space()='Access tokens']\").click()\n await this.page.goto('./#/personal-access-token');\n await expect(this.page).toHaveTitle('Access tokens / Personal settings - Digital.ai Release');\n return this;\n }\n\n async addNewToken(tokenName: string): Promise<this> {\n //await expect(this.page).toHaveTitle('Access tokens / Personal settings - Digital.ai Release')\n\n await this.page.locator('#tokenText').fill(tokenName);\n await this.page.locator(\"button[type='submit']\").click();\n return this;\n }\n}\n","import { Util } from './common/util';\nimport { WithPage } from './WithPage';\nimport { Page, expect } from '@playwright/test';\n\nexport class PersonalSettingsPage extends WithPage {\n util: Util;\n constructor(page: Page) {\n super(page);\n this.util = new Util(page);\n }\n\n async openProfile(): Promise<void> {\n await this.util.openSideNavMenu('Profile');\n }\n\n async openAccessToken(): Promise<void> {\n await this.util.openSideNavMenu('Access tokens');\n }\n\n async editUserProfile(email: string): Promise<void> {\n await this.page.getByLabel('Email address').click();\n await this.page.getByLabel('Email address').fill(email);\n await this.page.getByTestId('dot-button').click();\n expect(await this.page.locator('.saved-text').textContent()).toContain('Last saved on ');\n }\n\n async generateNewAccessToken(tokenName: string, expiryOptions: string): Promise<void> {\n await this.page.getByRole('button', { name: 'Generate token' }).click();\n await this.page.getByLabel('Token name').click();\n await this.page.getByLabel('Token name').fill(tokenName);\n await this.page\n .getByRole('textbox', { name: 'Token expiration' })\n .getByLabel('Token expiration')\n .selectOption(expiryOptions);\n await this.page\n .locator('label')\n .filter({ hasText: 'Use all permissions' })\n .getByTestId('RadioButtonCheckedIcon')\n .click();\n await this.page.getByRole('button', { name: 'Generate', exact: true }).click();\n await expect(this.page.getByTestId('alert-button-tooltip').getByTestId('dot-button')).toBeVisible();\n await expect(this.page.getByText(tokenName)).toBeVisible();\n }\n\n async deleteAccessToken(tokenName: string): Promise<void> {\n await this.page.locator('.MuiTableRow-root').filter({ hasText: tokenName }).getByTestId('button-icon-i').click();\n await expect(this.page.getByRole('heading', { name: 'Delete token' })).toBeVisible();\n await expect(this.page.getByLabel('Delete token')).toContainText('Delete token');\n await this.page.getByRole('button', { name: 'delete icon Delete token' }).click();\n await expect(this.page.getByText(tokenName)).not.toBeVisible();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class UserModal extends WithPage {\n userName: Locator;\n name: Locator;\n email: Locator;\n password: Locator;\n cnfPassword: Locator;\n saveButton: Locator;\n cancelButton: Locator;\n deleteButton: Locator;\n constructor(page: Page) {\n super(page);\n this.userName = page.locator('#username');\n this.name = page.locator('#fullName');\n this.email = page.locator('#email');\n this.password = page.locator('#password');\n this.cnfPassword = page.locator('#confirmPassword');\n this.saveButton = page.getByTestId('save-btn');\n this.cancelButton = page.getByRole('button', { name: 'Cancel' });\n this.deleteButton = page.getByRole('button', { name: 'Delete' });\n }\n\n async setUserName(username: string): Promise<void> {\n return await this.userName.fill(username);\n }\n\n async setFullName(fullName: string): Promise<void> {\n return await this.name.fill(fullName);\n }\n\n async setEmail(email: string): Promise<void> {\n return await this.email.fill(email);\n }\n\n async setPassword(password: string): Promise<void> {\n return await this.password.fill(password);\n }\n\n async setConfirmPassword(cnfPassword: string): Promise<void> {\n return await this.cnfPassword.fill(cnfPassword);\n }\n\n async save(): Promise<void> {\n await this.saveButton.isEnabled();\n await expect(this.saveButton).not.toBeDisabled();\n await this.saveButton.focus();\n await this.saveButton.click();\n }\n\n async cancel(): Promise<void> {\n await this.cancelButton.click();\n }\n\n async delete(): Promise<void> {\n await this.deleteButton.click();\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { UserModal } from './userModal';\nimport { Util } from '../common/util';\n\nexport class UsersPage extends WithPage {\n page: Page;\n modal: UserModal;\n util: Util;\n constructor(page: Page) {\n super(page);\n this.page = page;\n this.modal = new UserModal(page);\n this.util = new Util(page);\n }\n\n async openUsersPage(): Promise<void> {\n this.page.goto('./#/users', { timeout: 1000 });\n }\n\n async toggleLoginPermission(username: string): Promise<void> {\n await this.page\n .getByRole('row', { name: '' + username + '' })\n .getByRole('checkbox')\n .click();\n await expect(this.page.getByRole('row', { name: '' + username + '' }).locator('.Mui-checked')).toBeChecked();\n }\n\n async addUser(): Promise<void> {\n await this.page.locator('.new-user-btn').click();\n }\n\n async createUser(username: string, password: string): Promise<void> {\n await this.modal.setUserName(username);\n await this.modal.setFullName(username);\n await this.modal.setEmail('testuser@company.com');\n await this.modal.setPassword(password);\n await this.modal.setConfirmPassword(password);\n await this.modal.save();\n }\n\n async expectToHaveLoginPermission(username: string): Promise<void> {\n return await expect(this.page.getByRole('row', { name: '' + username + '' }).getByRole('checkbox')).toBeChecked();\n }\n\n async deleteUser(username: string): Promise<void> {\n await this.page\n .getByRole('row', { name: '' + username + '' })\n .locator('i')\n .nth(1)\n .click();\n await this.modal.delete();\n }\n async openRoles(): Promise<void> {\n await this.util.openSideNavMenu('Roles');\n await expect(this.page.getByLabel('breadcrumb').getByText('Roles')).toBeVisible();\n }\n\n async openPermissions(): Promise<void> {\n await this.util.openSideNavMenu('Permissions');\n await expect(this.page.locator('.permissions-table-v2')).toBeVisible();\n }\n\n async openTaskAccess(): Promise<void> {\n await this.util.openSideNavMenu('Task access');\n await expect(this.page.getByLabel('breadcrumb').getByText('Task access')).toBeVisible();\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class WorkflowCatalogPage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async installReleaseRunner(headingName: string): Promise<void> {\n await this.page.locator('.workflow-card').filter({ hasText: headingName }).getByTestId('dot-button').click();\n await expect(this.page.getByRole('heading', { name: 'Choose folder' })).toBeVisible();\n await this.page.locator('.xl__dropdown-indicator-container').click();\n await this.page.getByText('Samples & Tutorials').click();\n await this.page.getByRole('button', { name: 'Run workflow' }).click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Install additional Digital.ai')).toBeVisible();\n await this.page.getByRole('heading', { name: 'Prepare Digital.ai Release URL' }).waitFor();\n await expect(this.page.getByRole('heading', { name: 'Prepare Digital.ai Release URL' })).toBeVisible();\n await this.page.getByRole('heading', { name: 'Digital.ai Release URL' }).nth(2).waitFor();\n await expect(this.page.getByRole('heading', { name: 'Digital.ai Release URL' }).nth(2)).toBeVisible();\n }\n\n async abortInstallation(): Promise<void> {\n await this.page.getByRole('button', { name: 'Abort' }).click();\n await this.page.getByRole('button', { name: 'cancel icon Abort' }).click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Install additional Digital.ai')).not.toBeVisible();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\nimport { WorkflowCatalogPage } from './workflowCatalogPage';\n\nexport class SettingsMenu extends WithPage {\n settingsIcon: Locator;\n configureSystemMessageMenu: Locator;\n usersAndPermissionMenu: Locator;\n managePluginMenu: Locator;\n systemSettingsMenu: Locator;\n taskManagerMenu: Locator;\n runnerMenu: Locator;\n viewSystemInfoMenu: Locator;\n getDataSupportMenu: Locator;\n renewLicenseMenu: Locator;\n aboutMenu: Locator;\n closeIcon: Locator;\n installRunnerButton: Locator;\n workflowCatalogPage: WorkflowCatalogPage;\n constructor(page: Page) {\n super(page);\n this.settingsIcon = this.page.getByRole('button', { name: 'Settings' });\n this.usersAndPermissionMenu = this.page.getByRole('menuitem', { name: 'users icon Users and permissions' });\n this.managePluginMenu = this.page.getByRole('menuitem', { name: 'plugins icon Manage plugins' });\n this.systemSettingsMenu = this.page.getByRole('menuitem', { name: 'System settings' });\n this.runnerMenu = this.page.getByText('Runners');\n this.configureSystemMessageMenu = this.page.getByText('Configure system message');\n this.taskManagerMenu = this.page.getByText('Task manager');\n this.viewSystemInfoMenu = this.page.getByText('View system information');\n this.getDataSupportMenu = this.page.getByText('Get data for support');\n this.renewLicenseMenu = this.page.getByText('Renew license');\n this.aboutMenu = this.page.getByText('About Digital.ai Release');\n this.closeIcon = this.page.locator('.xl-icon.close-icon');\n this.installRunnerButton = this.page.getByTestId('create-btn');\n this.workflowCatalogPage = new WorkflowCatalogPage(page);\n }\n\n async openUsersAndPermissions(): Promise<void> {\n await this.settingsIcon.click();\n await this.usersAndPermissionMenu.click();\n }\n\n async openManagePlugin(): Promise<void> {\n await this.settingsIcon.click();\n await this.managePluginMenu.click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Plugin gallery')).toBeVisible();\n }\n\n async openSystemSettings(): Promise<void> {\n await this.settingsIcon.click();\n await this.systemSettingsMenu.click();\n await expect(this.page.getByLabel('breadcrumb').getByText('System settings')).toBeVisible();\n }\n\n async openRunner(): Promise<void> {\n await this.settingsIcon.click();\n await this.runnerMenu.click();\n await expect(this.page.getByRole('link', { name: 'Runners' })).toBeVisible();\n }\n\n async openConfigureSystemMessage(): Promise<void> {\n await this.settingsIcon.click();\n await this.configureSystemMessageMenu.click();\n await expect(this.page.getByRole('heading', { name: 'System message' })).toBeVisible();\n await this.closeIcon.click();\n }\n\n async configureSystemMessage(message: string): Promise<void> {\n await this.settingsIcon.click();\n await this.configureSystemMessageMenu.click();\n await this.page.getByLabel('Enable system message').check();\n await this.page.getByLabel('Type here...').locator('div').nth(2).click();\n await this.page.getByLabel('Type here...').fill(message);\n await this.page.getByRole('button', { name: 'Save' }).click();\n await expect(this.page.locator('system-message')).toContainText(message);\n }\n\n async disableSystemMessage(): Promise<void> {\n await this.settingsIcon.click();\n await this.configureSystemMessageMenu.click();\n await this.page.getByLabel('Enable system message').uncheck();\n await this.page.getByRole('button', { name: 'Save' }).click();\n await expect(this.page.getByRole('alert')).not.toBeVisible();\n }\n\n async openTaskManager(): Promise<void> {\n await this.settingsIcon.click();\n await this.taskManagerMenu.click();\n await expect(this.page.getByRole('link', { name: 'Task manager' })).toBeVisible();\n }\n\n async openViewSystemInformation(): Promise<void> {\n const versionNumber = await this.getVersionNumber();\n await this.settingsIcon.click();\n await this.viewSystemInfoMenu.click();\n await expect(this.page.getByRole('heading', { name: 'Release system information' })).toBeVisible();\n await expect(this.page.getByRole('rowgroup')).toContainText(versionNumber);\n }\n\n async openGetDataForSupport(): Promise<void> {\n await this.settingsIcon.click();\n await this.getDataSupportMenu.click();\n await expect(this.page.getByRole('heading', { name: 'Get data for support' })).toBeVisible();\n await expect(this.page.locator('support-accelerator-modal')).toContainText(\n 'See https://support.digital.ai for more information or to open a support request.',\n );\n }\n\n async downloadSupportData(): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n this.page.on('download', () => {});\n const downloadPromise = this.page.waitForEvent('download');\n await this.page.getByRole('button', { name: 'Download' }).click();\n await downloadPromise;\n }\n\n async openRenewLicense(): Promise<void> {\n await this.settingsIcon.click();\n const page1Promise = this.page.waitForEvent('popup');\n await this.page.getByText('Renew license').click();\n const page1 = await page1Promise;\n expect(page1.url()).toContain('/productregistration');\n await expect(page1.getByRole('button', { name: 'Install license' })).toBeVisible();\n await this.page.bringToFront();\n }\n\n async getVersionNumber(): Promise<string> {\n await this.settingsIcon.click();\n await this.aboutMenu.click();\n const versionNumber = await this.page.locator('.version-text').innerText();\n await this.closeIcon.click();\n return versionNumber;\n }\n\n async openAbout(): Promise<void> {\n await this.settingsIcon.click();\n await this.aboutMenu.click();\n await expect(this.page.getByRole('heading', { name: 'About' })).toBeVisible();\n await this.closeIcon.click();\n }\n}\n","import { Page } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class TaskDetails extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class ReleaseCalendarPage extends WithPage {\n private dayFormat!: string;\n private yearFormat!: number;\n private monthFormat!: string;\n private yearFormatString!: string;\n\n async openReleaseCalendarPage(): Promise<this> {\n await this.page.goto('./#/releases/calendar');\n //Define date format to verify different calendar views\n const today = new Date();\n let options: Intl.DateTimeFormatOptions = {\n weekday: 'long',\n year: 'numeric',\n month: 'short',\n day: 'numeric',\n };\n this.dayFormat = today.toLocaleDateString('en-US', options); // Saturday, September 17, 2016\n this.yearFormat = today.getFullYear();\n this.yearFormatString = this.yearFormat.toString();\n options = { month: 'long', year: 'numeric' };\n this.monthFormat = today.toLocaleDateString('en-US', options);\n this.monthFormat = this.monthFormat.replace(/(\\w+) (\\d+)/, '$1, $2');\n await expect(this.page.locator('.tl-viewport')).toBeVisible();\n return this;\n }\n\n async exportCalendar(): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n this.page.on('download', () => {});\n await this.page.getByRole('button', { name: 'download icon Export calendar' }).click();\n const downloadPromise = this.page.waitForEvent('download');\n await this.page.getByRole('button', { name: 'Export' }).click();\n await downloadPromise;\n }\n\n async cancelCalendarExport(): Promise<number> {\n let downloadCount = 0;\n // Listen to download events\n this.page.on('download', (_download) => {\n downloadCount++;\n });\n await this.page.getByRole('button', { name: 'download icon Export calendar' }).click();\n await this.page.getByRole('button', { name: 'Cancel' }).click();\n return downloadCount;\n }\n\n async verifyDayView(): Promise<void> {\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: 'Day' }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n //Verify Page has correct day format displayed at the page bottom\n await expect(this.page.getByText(this.dayFormat)).toBeVisible();\n }\n\n async verifyYearView(): Promise<void> {\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: 'Year' }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n //Verify Page has correct Year format displayed at the page bottom\n await expect(this.page.locator('.tl-footer-label').filter({ hasText: this.yearFormatString })).toHaveText(\n this.yearFormatString,\n );\n }\n\n async verifyMonthView(): Promise<void> {\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: 'Month' }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n //Verify Page has correct Year format displayed at the page bottom\n await expect(this.page.locator('.tl-footer-label').filter({ hasText: this.monthFormat })).toHaveText(\n this.monthFormat,\n );\n }\n\n async verifyPageContent(title: string): Promise<void> {\n const view_type = ['Day', 'Week', 'Month', 'Year'];\n for (const view of view_type) {\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: view }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n //Verify Page has correct Year format displayed at the page bottom\n await expect(this.page.getByText(title)).toBeVisible();\n }\n }\n\n async filterReleaseByTitle(title: string): Promise<void> {\n await this.page.getByPlaceholder('Filter by release title').click();\n await this.page.getByPlaceholder('Filter by release title').fill(title);\n await this.page.getByPlaceholder('Filter by release title').press('Enter');\n //Verify Page has correct Year format displayed at the page bottom\n await this.verifyPageContent(title);\n }\n\n async filterReleaseByTags(tags: string[], release_title: string): Promise<void> {\n await this.page.locator('.tl-filter-release-tags').locator('.react-tagsinput').click();\n for (let tag of tags) {\n tag = tag.toString();\n await this.page.locator('.tl-filter-release-tags').locator('.react-tagsinput-input').fill(tag);\n await this.page.getByTitle(tag).locator('i').click();\n }\n await this.verifyPageContent(release_title);\n }\n\n async filterTaskByTags(tags: string[], task_title: string, release_title: string): Promise<void> {\n await this.page.locator('.tl-filter-task-tags').locator('.react-tagsinput').click();\n for (let tag of tags) {\n tag = tag.toString();\n await this.page.locator('.tl-filter-task-tags').locator('.react-tagsinput-input').fill(tag);\n await this.page.getByTitle(tag).locator('i').click();\n }\n //Make sure task is visible on calnedar page\n await this.verifyPageContent(task_title);\n //Make sure parent release of the selected task is visible on calnedar page\n await this.verifyPageContent(release_title);\n }\n\n async filterReleaseByStatus(release_status: string, release_title: string): Promise<void> {\n if (!(await this.page.locator('.tl-filter-advanced').isVisible())) {\n await this.page.getByRole('button', { name: 'Advanced filters' }).click();\n }\n await this.page.locator('.tl-filter-release-status').locator('.react-tagsinput').click();\n await this.page.getByTitle(release_status).locator('i').first().click();\n await this.verifyPageContent(release_title);\n }\n\n async filterReleaseByRisk(release_risk: string, release_title: string): Promise<void> {\n if (!(await this.page.locator('.tl-filter-advanced').isVisible())) {\n await this.page.getByRole('button', { name: 'Advanced filters' }).click();\n }\n await this.page.locator('.tl-filter-risk-filter').getByRole('combobox').click();\n await this.page.getByRole('option', { name: release_risk }).click();\n await this.verifyPageContent(release_title);\n }\n\n async filterFlaggedRelease(release_title: string): Promise<void> {\n if (!(await this.page.locator('.tl-filter-advanced').isVisible())) {\n await this.page.getByRole('button', { name: 'Advanced filters' }).click();\n }\n if (\n await this.page.locator('.tl-filter-flag-only.btn.btn-flat.btn-fixed.button-toggle-filter.active').isVisible()\n ) {\n await this.page.getByRole('button', { name: ' Flagged' }).click();\n }\n await this.verifyPageContent(release_title);\n }\n\n async viewRelease(release_title: string, release_id: string): Promise<void> {\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: 'Day' }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n await this.page.getByText(release_title).click();\n await this.page.locator('.release-modal-container').locator('.xl-icon.release-icon').click();\n const releaseurl = `/#/releases/${release_id}`;\n const currentURL = await this.page.url();\n // Check if the release name present in redirected URL\n expect(currentURL).toContain(releaseurl);\n }\n\n async viewDependency(source_release: string, dest_release: string): Promise<void> {\n const source_text = source_release + 'dependencies';\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: 'Day' }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n await this.page.getByText(source_release).click();\n await this.page.locator('.release-modal-container').locator('.xl-icon.cluster-dependencies-icon').click();\n await expect(this.page.locator('.tl-drawer-navigation-header')).toHaveText(source_text);\n await expect(this.page.locator('.tl-drawer-dependency-body-title-text')).toHaveText(dest_release);\n }\n\n async downloadIcsCalendar(release_title: string): Promise<number> {\n let downloadCount = 0;\n // Listen to download events\n this.page.on('download', (_download) => {\n downloadCount++;\n });\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: 'Day' }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n await this.page.getByText(release_title).click();\n await this.page.locator('.release-modal-container').locator('.xl-icon.calendar-icon').click();\n return downloadCount;\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class ReleaseGroupPage extends WithPage {\n private dayFormat!: string;\n private yearFormat!: number;\n private monthFormat!: string;\n private yearFormatString!: string;\n\n async setStatus(status: string): Promise<void> {\n await this.page.locator('.react-tagsinput').click({ force: true });\n await this.page.getByText('Clear all').click();\n await this.page.locator('.react-tagsinput').click({ force: true });\n if (status === 'Select all') {\n await this.page.getByText(status).click();\n } else {\n await this.page.getByTitle(status).locator('i').first().click();\n }\n }\n\n async openReleaseGroup(title: string): Promise<void> {\n await this.page.locator('xlr-release-group-row').filter({ hasText: title }).getByRole('link').click();\n await this.page.getByTitle(title).click();\n await expect(this.page).toHaveURL(/.*ReleaseGroup/);\n }\n\n async expectReleaseGroupStatus(status: string): Promise<void> {\n await expect(this.page.locator('.release-status')).toContainText(status);\n }\n\n async expectReleaseGroupDisplayed(title: string): Promise<void> {\n await expect(this.page.getByText(title, { exact: true })).toBeVisible();\n }\n\n async expectReleaseGroupNotDisplayed(title: string): Promise<void> {\n await expect(this.page.getByText(title, { exact: true })).not.toBeVisible();\n }\n\n async searchReleaseGroupByTitle(title: string): Promise<void> {\n await this.page.getByPlaceholder('Search for groups...', { exact: true }).click();\n await this.page.getByPlaceholder('Search for groups...', { exact: true }).fill(title);\n await this.page.getByPlaceholder('Search for groups...', { exact: true }).press('Enter');\n }\n\n async deleteReleaseGroup(title: string): Promise<void> {\n await this.page.locator('.fc-list-item-line').filter({ hasText: title }).locator('.fc-item-delete').click();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n }\n\n async clickReleaseGroupEdit(title: string): Promise<void> {\n await this.page.locator('.fc-list-item-line').filter({ hasText: title }).locator('.fc-item-update').click();\n }\n\n async enterReleaseGroupDetails(new_title: string): Promise<void> {\n await this.page.locator('.modal-body').locator('#title').fill(new_title);\n }\n\n async clickSaveButton(): Promise<void> {\n await this.page.locator('.modal-footer').getByRole('button', { name: 'Save' }).click();\n }\n\n async clickCancelButton(): Promise<void> {\n await this.page.locator('.modal-footer').getByRole('button', { name: 'Cancel' }).click();\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class ReleaseGroupTimelinePage extends WithPage {\n async expectReleaseDisplayed(title: string): Promise<void> {\n await expect(this.page.getByText(title, { exact: true })).toBeVisible();\n }\n\n async expectReleaseNotDisplayed(title: string): Promise<void> {\n await expect(this.page.getByText(title, { exact: true })).not.toBeVisible({ timeout: 10000 });\n }\n\n async expectPhaseDisplayed(title: string): Promise<void> {\n await expect(this.page.getByText(title, { exact: true })).toBeVisible();\n }\n\n async openContextMenu(title: string): Promise<void> {\n await this.page.locator('.timeline-row-name').filter({ hasText: title }).locator('.options-icon').click();\n }\n\n async removeFromReleaseGroup(): Promise<void> {\n await this.page.getByRole('menuitem', { name: 'Remove from group' }).locator('a').click();\n await this.page.getByRole('button', { name: 'Remove' }).click();\n }\n\n async expectNumberOfReleases(num_of_release: number): Promise<void> {\n const elementCount = await this.page.locator('.timeline-row-name-release').count();\n expect(elementCount).toBe(num_of_release);\n }\n\n async openAddReleaseList(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add release' }).click();\n }\n\n async filterReleases(title: string): Promise<void> {\n await this.page.getByPlaceholder('Search for a release...').click();\n await this.page.getByPlaceholder('Search for a release...').fill(title);\n await this.page.waitForTimeout(5000);\n await this.page.getByPlaceholder('Search for a release...').press('Enter');\n }\n\n async expectNumberOfReleasesOnModal(num_of_release: number): Promise<void> {\n const elementCount = await this.page.locator('.release-modal-line').count();\n expect(elementCount).toBe(num_of_release);\n }\n\n async selectAllReleaseCheckbox(): Promise<void> {\n await this.page.getByLabel('Select all').check();\n }\n\n async addReleasesToGroup(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add' }).click();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { TaskDrawer } from '../task-drawer/taskDrawer';\n\nexport class TaskListPage extends WithPage {\n taskDrawer: TaskDrawer;\n commentBox: Locator;\n\n constructor(page: Page) {\n super(page);\n this.taskDrawer = new TaskDrawer(page);\n this.commentBox = this.page.locator(`.input-block-level`);\n }\n\n async openTask(taskName: string): Promise<void> {\n await this.filterTaskByTitle(taskName);\n await this.page.getByText(taskName).first().click();\n }\n\n async skip(taskName: string, comment: string): Promise<void> {\n await this.page.locator(`.row.task-inner`, { hasText: taskName }).locator('span.skip').click();\n await this.commentBox.click();\n await this.commentBox.fill(comment);\n await this.page.getByRole('button', { name: 'Skip', exact: true }).click();\n }\n\n async fail(taskName: string, comment: string): Promise<void> {\n await this.page.locator(`.row.task-inner`, { hasText: taskName }).locator('span.fail').click();\n await this.commentBox.click();\n await this.commentBox.fill(comment);\n await this.page.getByRole('button', { name: 'Fail', exact: true }).click();\n }\n\n async waitForTaskFailed(taskName: string): Promise<void> {\n await expect(this.page.locator(`.row.task-inner`, { hasText: taskName }).getByText('Failed')).toBeVisible();\n }\n\n async waitForTaskInProgress(taskName: string): Promise<void> {\n await expect(this.page.locator(`.row.task-inner`, { hasText: taskName }).getByText('In progress')).toBeVisible();\n }\n\n async openTaskInReleaseView(taskName: string): Promise<void> {\n await this.page.locator(`.row.task-inner`, { hasText: taskName }).locator('a.view-in-release').click();\n }\n\n async openCalendarViaTaskDueDate(taskName: string): Promise<void> {\n await this.page.locator(`.row.task-inner`, { hasText: taskName }).locator(`.calendar-link a`).click();\n }\n\n async openTaskDrawer(taskName: string): Promise<void> {\n await this.page.locator(`.row.task-inner`, { hasText: taskName }).getByText(taskName).click();\n }\n\n async filterTaskByTitle(taskname: string): Promise<void> {\n await this.page.locator('.searchFilter').click();\n await this.page.locator('.searchFilter').fill(taskname);\n await this.page.locator('.searchFilter').press('Enter');\n await expect(this.page.locator('//div[@data-task-title]').filter({ hasText: taskname }).first()).toBeVisible();\n }\n\n async filterTasksByTag(tag: string, taskTitleForValidation: string): Promise<void> {\n await this.page.locator('.toggle-search-filter').click();\n await this.page.locator('.tag-input').fill(tag);\n await this.page.locator('.tag-input').press('Enter');\n //TODO: Validation can be changed based on actual test case implementation\n await expect(\n this.page.locator('//div[@data-task-title]').filter({ hasText: taskTitleForValidation }),\n ).toBeVisible();\n }\n\n async filterTasksByReleaseTitle(releaseTitle: string): Promise<void> {\n await this.page.locator('.toggle-search-filter').click();\n await this.page.locator('.release-input').fill(releaseTitle);\n await this.page.locator('.release-input').press('Enter');\n await expect(this.page.locator('.group-title').filter({ hasText: releaseTitle })).toBeVisible();\n }\n\n async openSingleTask(taskId: string, showDetails = false): Promise<void> {\n await this.page.goto(`./#/tasks/${taskId}?showDetails=${showDetails}`);\n }\n\n async expectReleaseLinksDisplayed(releaseTitle: string, displayed = true): Promise<void> {\n if (displayed) {\n await expect(this.page.getByRole('link', { name: '' + releaseTitle + '' })).toBeVisible();\n await expect(this.page.locator('.view-in-release')).toBeVisible();\n } else {\n await expect(this.page.getByRole('link', { name: '' + releaseTitle + '' })).not.toBeVisible();\n await expect(this.page.locator('.view-in-release')).not.toBeVisible();\n }\n }\n\n async openTaskList(): Promise<void> {\n await this.page.goto('./#/tasks');\n }\n\n async clickOnAssigneeButton(title: string): Promise<void> {\n await this.page.locator(`.btn-group-filter.btn-group button.btn.btn-flat[title=\"${title}\"]`).click();\n }\n\n async clickOnAssignedToMe(): Promise<void> {\n await this.page.locator(`button[title=\"Assigned to me\"]`).click();\n }\n\n async clickOnAssignedToMyTeams(): Promise<void> {\n await this.page.locator(`button[title=\"Assigned to my teams\"]`).click();\n }\n\n async clickOnAssignedToAllAvailable(): Promise<void> {\n await this.page.locator(`button[title=\"All available\"]`).click();\n }\n\n async expectTaskToNotBeDisplayed(taskTitle: string): Promise<void> {\n await expect(this.page.locator(`.row.task-inner`).filter({ hasText: taskTitle }).getByText(taskTitle)).toHaveCount(\n 0,\n );\n }\n\n async expectTaskToBeDisplayed(taskTitle: string): Promise<void> {\n await expect(this.page.locator(`.row.task-inner`).filter({ hasText: taskTitle }).getByText(taskTitle)).toHaveCount(\n 1,\n );\n }\n\n async expectTasksToBeDisplayed(tasks: { [key: string]: boolean }): Promise<void> {\n for (const [taskTitle, shouldBeDisplayed] of Object.entries(tasks)) {\n if (shouldBeDisplayed) {\n await this.expectTaskToBeDisplayed(taskTitle);\n } else {\n await this.expectTaskToNotBeDisplayed(taskTitle);\n }\n }\n }\n\n async expectTasksDisplayedInOrder(\n expectedTasks: { releaseTitle: string; taskPosition: number; taskTitle: string }[],\n ): Promise<void> {\n for (const task of expectedTasks) {\n const taskElement = await this.page\n .locator(`[data-release-title='${task.releaseTitle}'] .row .task`)\n .nth(task.taskPosition);\n await expect(taskElement).toHaveAttribute('data-task-title', task.taskTitle);\n }\n }\n\n async setOrderBy(orderBy: string): Promise<void> {\n await this.page.locator('.order-selector .btn:first-child').click();\n await this.page.locator(`.order-selector .bootstrap-link:has-text('${orderBy}')`).click();\n }\n\n async expectTaskCountForRelease(releaseTitle: string, expectedCount: number): Promise<void> {\n await expect(\n this.page.locator(`#tasks-content #task-list-grouped-view div:has-text('${releaseTitle}') .task`),\n ).toHaveCount(expectedCount);\n }\n\n async setSearchFilter(filterText: string): Promise<void> {\n await this.page.locator('.searchFilter').fill(filterText);\n }\n\n async clearSearchFilter(): Promise<void> {\n await this.page.locator('.searchFilter').clear();\n }\n\n async setTagsFilter(filterText: string): Promise<void> {\n await this.page.locator('.tag-input').fill(filterText);\n await this.page.locator('.tag-input').press('Enter');\n }\n\n async clickOnStatusField(): Promise<void> {\n await this.page.locator('.ci-filter-status.ng-isolate-scope').click();\n }\n\n async clickOnStatus(statusNames: string[]): Promise<void> {\n await this.clickOnStatusClearAll();\n await this.clickOnStatusField();\n for (let i = 0; i < statusNames.length; i++) {\n await this.page.locator(`i.xl-icon.icon-s.checkbox[data='${statusNames[i]}']`).click();\n }\n // Clicking outside to close the grid dropdown\n await this.clickOnTasksLabel();\n }\n\n async clickOnStatusClearAll(): Promise<void> {\n await this.clickOnStatusField();\n await this.page.locator('a.xl-react-link', { hasText: 'Clear all' }).click();\n await this.clickOnTasksLabel();\n }\n\n async clickOnStatusSelectAll(): Promise<void> {\n await this.clickOnStatusField();\n await this.page.locator('a.xl-react-link', { hasText: 'Select all' }).click();\n await this.clickOnTasksLabel();\n }\n\n async assignTaskToMe(title: string): Promise<void> {\n await this.page.locator(`.task-line`).filter({ hasText: title }).locator(`.assign-to-me`).click();\n await this.page.locator('.modal:visible >> text=\"Assign to me\"').click();\n }\n\n async expectTaskAssignedToMe(title: string): Promise<void> {\n await this.expectTaskAssignedTo(title, 'me');\n }\n\n async expectTaskAssignedTo(title: string, user: string): Promise<void> {\n await expect(this.page.locator(`.task-line:has-text(\"${title}\") >> text=\"${user}\"`).first()).toHaveCount(1);\n }\n\n async expectTaskTitle(taskTitle: string): Promise<void> {\n expect(await this.page.locator('#tasks0').innerText()).toContain(taskTitle);\n }\n\n async clickOnTasksLabel(): Promise<void> {\n await this.page.getByLabel('breadcrumb').getByText('Tasks').click();\n }\n\n async expectGroupView(expected = true): Promise<void> {\n if (expected) {\n await expect(this.page.locator('#group-tasks-by-release')).toBeChecked();\n await expect(this.page.locator('#task-list-grouped-view')).toBeVisible();\n await expect(this.page.locator('#task-ungrouped-view')).not.toBeVisible();\n } else {\n await expect(this.page.locator('#group-tasks-by-release')).not.toBeChecked();\n await expect(this.page.locator('#task-list-grouped-view')).not.toBeVisible();\n await expect(this.page.locator('#task-ungrouped-view')).toBeVisible();\n }\n }\n\n async changeGroupView(): Promise<void> {\n await this.page.locator('#group-tasks-by-release').click();\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport moment from 'moment';\n\nexport class TemplatePropertiesPage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async getAttachmentsListCount(): Promise<number> {\n return await this.page.locator('.attachments tr').count();\n }\n\n async uploadFile(filePath: string): Promise<void> {\n const fileChooserPromise = this.page.waitForEvent('filechooser');\n await this.page.locator('input[type=\"file\"]').click();\n const fileChooser = await fileChooserPromise;\n await fileChooser.setFiles(filePath);\n }\n\n async expectWithAttachment(filename: string): Promise<void> {\n await expect(this.page.locator('.attachments tr td a').filter({ hasText: filename })).toBeVisible();\n }\n\n async expectWithNoAttachment(filename: string): Promise<void> {\n const test = await this.page.locator('.attachments').isVisible();\n if (test) {\n await expect(this.page.locator('.attachments tr td a').filter({ hasText: filename })).not.toBeVisible();\n }\n }\n\n async downloadFile(filename: string): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n const downloadPromise1 = this.page.waitForEvent('download');\n await this.page.getByText(filename).click();\n const download = await downloadPromise1;\n // Wait for the download process to complete and save the downloaded file in given path.\n await download.saveAs('./core/xlr-ui/build/playwright/' + download.suggestedFilename());\n expect(download.suggestedFilename()).toBe(filename);\n }\n\n async deleteAttachment(fileName: string): Promise<void> {\n await this.page.getByRole('row', { name: fileName }).locator('span').click();\n await this.page.getByText('Remove').click();\n }\n\n async save(): Promise<void> {\n await this.page.getByRole('button', { name: 'Save' }).click({ timeout: 8000 });\n await expect(this.page.locator('.form-footer .last-saved')).toBeVisible();\n }\n\n async reset(): Promise<void> {\n await this.page.getByRole('button', { name: 'Reset' }).waitFor();\n await this.page.getByRole('button', { name: 'Reset' }).click();\n }\n\n async removeDueDate(): Promise<void> {\n await this.page.locator('.due-date .close-icon').click();\n }\n\n async setScheduledStartDate(date: number, monthYear: string): Promise<void> {\n await this.page.locator(`.scheduled-start-date .date`).click();\n const prev = this.page.locator('.datepicker-days .prev');\n const next = this.page.locator('.datepicker-days .next');\n const monYear = this.page.locator('.datepicker-days .datepicker-switch');\n\n const thisMonth = moment(monthYear, 'MMMM YYYY').isBefore();\n\n while ((await monYear.textContent()) != monthYear) {\n if (thisMonth) {\n await prev.click();\n } else {\n await next.click();\n }\n }\n await this.page\n .getByRole('cell', { name: '' + date + '' })\n .first()\n .click();\n }\n\n async setDuration(days?: string, hours?: string, mins?: string): Promise<void> {\n await this.page.locator('.duration-editor').click();\n if (typeof days !== 'undefined') {\n await this.page.locator('.days').fill(days);\n }\n if (typeof hours !== 'undefined') {\n await this.page.locator('.hours').fill(hours);\n }\n if (typeof mins !== 'undefined') {\n await this.page.locator('.minutes').fill(mins);\n }\n }\n\n async expectScheduledStartDateToBe(date: string): Promise<void> {\n expect(await this.page.locator(`.scheduled-start-date .date input`).getAttribute('value')).toBe(date);\n }\n\n async expectDueDateToBe(date: string): Promise<void> {\n expect(await this.page.locator('.due-date .date-editor .date > .light-text').getAttribute('value')).toContain(date);\n }\n\n async expectedDueDateTime(time: string): Promise<void> {\n expect(await this.page.locator('.due-date .date-editor .time-picker-holder input').getAttribute('value')).toContain(\n time,\n );\n }\n\n async expectDurationToBe(duration: string): Promise<void> {\n expect(await this.page.locator('.duration-editor').textContent()).toBe(duration);\n }\n\n async setUsername(username: string): Promise<void> {\n await this.page.locator('.script-username').click();\n await this.page.locator('user-input-with-variable').getByLabel('*').fill(username);\n await this.page.locator('user-input-with-variable').press('Enter');\n }\n\n async setPassword(password: string): Promise<void> {\n await this.page.locator('.field > .display').click();\n await this.page.locator('input[name=\"scriptUserPassword\"]').fill(password);\n await this.page.locator('input[name=\"scriptUserPassword\"]').press('Enter');\n }\n\n async expectScriptUsernameToBe(username: string): Promise<void> {\n expect(await this.page.locator('.script-username').textContent()).toContain(username);\n }\n\n async expectScriptUserPasswordToBe(password: string): Promise<void> {\n expect(await this.page.locator('span[name=\"scriptUserPassword\"]').textContent()).toContain(password);\n }\n}\n","import { Page } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class TemplateCreatePage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async setName(name: string): Promise<void> {\n await this.page.locator('#release-form-title').fill(name);\n }\n\n async setDescription(description: string): Promise<void> {\n await this.page.getByText('Set description...').hover();\n await this.page.locator('.display').filter({ hasText: 'Set description' }).locator('.edit-icon').click();\n await this.page.locator('textarea').click();\n await this.page.locator('textarea').clear();\n await this.page.locator('textarea').fill(description);\n await this.page.getByText('Save', { exact: true }).click();\n }\n\n async create(): Promise<void> {\n await this.page.getByRole('button', { name: 'Create' }).click();\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class TemplateTriggerPage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async expectAllowConcurrentReleasesFromTrigger(expectedValue: boolean): Promise<void> {\n if (expectedValue) {\n await this.page.locator('.col-xs-2 .trigger-item-state').textContent({ timeout: 3000 });\n expect(await this.page.locator('.col-xs-2 .trigger-item-state').textContent()).toContain('Enabled');\n } else {\n await this.page.locator('.col-xs-2 .trigger-item-state').textContent({ timeout: 3000 });\n expect(await this.page.locator('.col-xs-2 .trigger-item-state').textContent()).toContain('Disabled');\n }\n }\n\n async setAllowConcurrentReleasesFromTriggerAndSubmit(checked: boolean): Promise<void> {\n const result = await this.page.locator('.col-xs-2 .trigger-item-state').textContent({ timeout: 3000 });\n if ((result === 'Enabled' && checked === false) || (result == 'Disabled' && checked === true)) {\n await this.page.locator('form[name=\"releaseTriggerOptions\"] label[for=\"cb\"]').click();\n }\n }\n\n async expectTriggersVisible(amount: number): Promise<void> {\n await expect(this.page.locator('.xlr-trigger-row .trigger-row-content')).toHaveCount(amount);\n }\n\n async expectNoNewTriggerButtonShown(): Promise<void> {\n await expect(this.page.locator('.trigger-header a.button.primary')).not.toBeVisible();\n }\n}\n","import { Page, expect, Locator } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { TaskDrawer } from '../task-drawer/taskDrawer';\nimport { TemplatePropertiesPage } from './templatePropertiesPage';\nimport { TemplateCreatePage } from './templateCreatePage';\nimport { TemplateTriggerPage } from './templateTriggerPage';\nimport { Util } from '../common/util';\n\nexport class TemplatePage extends WithPage {\n taskDrawer: TaskDrawer;\n phaseTitle: Locator;\n properties: TemplatePropertiesPage;\n createTemplatePage: TemplateCreatePage;\n triggers: TemplateTriggerPage;\n util: Util;\n\n constructor(page: Page) {\n super(page);\n this.taskDrawer = new TaskDrawer(page);\n this.phaseTitle = page.locator('.phase .phase-title');\n this.properties = new TemplatePropertiesPage(page);\n this.createTemplatePage = new TemplateCreatePage(page);\n this.triggers = new TemplateTriggerPage(page);\n this.util = new Util(page);\n }\n\n private async openTemplateMenu(menuItem: string): Promise<void> {\n await this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, { exact: true }).click();\n }\n\n async openTaskDrawer(taskName: string): Promise<TaskDrawer> {\n await this.page.getByText(taskName, { exact: true }).click();\n return this.taskDrawer;\n }\n\n async openTaskDrawerFromTableView(taskName: string): Promise<TaskDrawer> {\n await this.page.locator('.name-cell-title').getByText(taskName, { exact: true }).click();\n return this.taskDrawer;\n }\n\n async openTaskDrawerFromGrantt(taskName: string): Promise<TaskDrawer> {\n await this.page.locator('.gantt_tree_content').getByText(taskName, { exact: true }).dblclick();\n return this.taskDrawer;\n }\n\n async openProperties(): Promise<void> {\n await this.util.openSideNavMenu('Properties');\n await expect(this.page.getByLabel('breadcrumb').getByText('Properties')).toBeVisible();\n }\n\n async openVariables(): Promise<void> {\n await this.util.openSideNavMenu('Variables');\n await expect(this.page.getByLabel('breadcrumb').getByText('Variables')).toBeVisible();\n }\n\n async openRelationships(): Promise<void> {\n await this.util.openSideNavMenu('Relationships');\n await expect(this.page.getByLabel('breadcrumb').getByText('Relationships')).toBeVisible();\n }\n\n async openTeamsPermissions(): Promise<void> {\n await this.util.openSideNavMenu('Teams & Permissions');\n await expect(this.page.getByLabel('breadcrumb').getByText('Teams & Permissions')).toBeVisible();\n }\n\n async openDashboard(): Promise<void> {\n await this.util.openSideNavMenu('Dashboard');\n await expect(this.page.getByLabel('breadcrumb').getByText('Dashboard')).toBeVisible();\n }\n\n async openActivityLogs(): Promise<void> {\n await this.util.openSideNavMenu('Activity logs');\n await expect(this.page.getByLabel('breadcrumb').getByText('Activity logs')).toBeVisible();\n }\n\n async openTriggers(): Promise<void> {\n await this.openTemplateMenu('Triggers');\n await expect(this.page.getByLabel('breadcrumb').getByText('Triggers')).toBeVisible();\n }\n\n async backToTemplate(): Promise<void> {\n await this.page.locator('.icon-back').click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Templates')).toBeVisible();\n }\n\n async expectTemplateLabelToBePresent(): Promise<void> {\n await expect(this.page.getByTestId('template-workflow-pill').getByText('Template')).toBeVisible();\n }\n\n async expectSubPage(menuItem: string, toBePresent: boolean): Promise<void> {\n if (toBePresent)\n await expect(this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, { exact: true })).toBeVisible();\n else\n await expect(\n this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, { exact: true }),\n ).not.toBeVisible();\n }\n\n async openFlowView(): Promise<void> {\n await this.util.openSideNavMenu('Flow');\n await expect(this.page.locator('#release-content')).toBeVisible();\n }\n\n async openTableView(): Promise<void> {\n await this.util.openSideNavMenu('Table');\n await expect(this.page.locator('.release-grid-container')).toBeVisible();\n }\n\n async openPlannerView(): Promise<void> {\n await this.util.openSideNavMenu('Planner');\n await expect(this.page.locator('.gantt-container')).toBeVisible();\n }\n\n async openCodeView(): Promise<void> {\n await this.util.openSideNavMenu('Code');\n await expect(this.page.getByLabel('breadcrumb').getByText('Code')).toBeVisible();\n }\n\n async expandGanttFolder(): Promise<void> {\n const icExpandTreeview1 = this.page.locator('.gantt_tree_icon.gantt_open');\n for (const element of await icExpandTreeview1.all()) {\n const blnVal = await element.isVisible();\n if (blnVal) {\n await element.click();\n await this.expandGanttFolder();\n }\n }\n }\n\n async addNewPhase(phaseName?: string): Promise<void> {\n await this.page.getByTestId('add-phase-btn').click();\n if (phaseName) {\n await this.phaseTitle.getByText('New Phase').click();\n await this.phaseTitle.getByRole('textbox').clear();\n await this.phaseTitle.getByRole('textbox').fill(phaseName);\n await this.page.keyboard.press('Enter');\n await expect(this.phaseTitle.filter({ hasText: phaseName })).toBeVisible();\n }\n }\n\n async renamePhase(oldPhaseName: string, newPhaseName: string): Promise<void> {\n await this.phaseTitle.getByText(oldPhaseName).click();\n await this.phaseTitle.filter({ hasText: oldPhaseName }).locator('.editable').clear();\n await this.phaseTitle.filter({ hasText: oldPhaseName }).locator('.editable').fill(newPhaseName);\n await this.page.keyboard.press('Enter');\n await expect(this.phaseTitle.filter({ hasText: newPhaseName })).toBeVisible();\n }\n\n getPhase(phaseName: string): Phase {\n return new Phase(this.page, phaseName);\n }\n}\nclass Phase extends WithPage {\n private readonly phaseLocator: Locator;\n\n constructor(page: Page, phaseName: string) {\n super(page);\n this.phaseLocator = page.locator('.phase', { hasText: phaseName });\n }\n\n async setTitle(title: string): Promise<void> {\n await this.phaseLocator.locator('.phase-header .display').click();\n await this.phaseLocator.locator('.phase-header input').clear();\n await this.phaseLocator.locator('.phase-header input').fill(title);\n await this.phaseLocator.locator('.phase-header input').blur();\n }\n\n async expectTaskBorderWithColor(taskName: string, color: string): Promise<void> {\n await expect(this.page.locator(`.task-box:has-text('${taskName}')`)).toHaveCSS('border-top-color', color);\n }\n\n /**\n *\n * @param taskTitle Title of the task\n * @param taskType : Type of the task\n * @param taskTypeSelector : Selector of the task\n */\n\n async addTaskInPhase(taskTitle: string, taskGroup: string, taskType: string): Promise<void> {\n await this.phaseLocator.getByText('Add task').click();\n await this.page.locator('#task-selector').hover();\n await this.page.locator('button[aria-label=\"Clear\"]').click();\n await this.page.locator('#task-selector').fill(taskGroup);\n await this.page.getByTestId(taskType).click();\n await this.page.locator('.icon-close').click();\n await this.page.locator('#task-title').fill(taskTitle);\n await this.page.getByTestId('save-select-task-btn').click();\n await expect(this.phaseLocator.getByText(taskTitle)).toBeVisible();\n }\n\n async getNumberOfTasks(): Promise<number> {\n return await this.phaseLocator.locator('.task').count();\n }\n\n async expectToHaveNoneditableTitle(phaseTitle: string): Promise<void> {\n await expect(this.phaseLocator.locator('.phase-title > span')).toContainText(phaseTitle);\n }\n\n async expectToHaveTitle(phaseTitle: string): Promise<void> {\n await expect(this.phaseLocator.locator('.phase-title')).toContainText(phaseTitle);\n }\n\n async deleteTaskInPhase(taskName: string): Promise<void> {\n await this.page.locator('.task').filter({ hasText: taskName }).locator('.xl-icon.options-icon').click();\n await this.page.locator('.remove-task-button').click();\n await expect(this.page.getByRole('heading', { name: 'Delete Task' })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.phaseLocator.locator('li').filter({ hasText: taskName })).not.toBeVisible();\n }\n\n async deletePhase(phaseName: string): Promise<void> {\n await this.page.locator('.phase-header').filter({ hasText: phaseName }).locator('.actions').hover();\n await this.page.locator('.phase-header').filter({ hasText: phaseName }).locator('.delete-icon').click();\n await expect(this.page.getByRole('heading', { name: 'Delete Phase' })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.page.locator('.phase-header').filter({ hasText: phaseName })).not.toBeVisible();\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class TemplateListPage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async openTemplatesList(filter: string): Promise<void> {\n let url = '/templates';\n if (filter) {\n url += `?has_filter&filter=${filter}`;\n }\n await this.page.goto(url);\n }\n\n async searchBy(criteria: string): Promise<void> {\n await this.page.locator('.searchFilter').clear();\n await this.page.locator('.searchFilter').fill(criteria);\n }\n\n async copy(originTitle: string, targetTitle: string): Promise<void> {\n await this.page.locator('.title').filter({ hasText: originTitle }).locator('.copy').click();\n await this.page.getByLabel('Template name').clear();\n await this.page.getByLabel('Template name').fill(targetTitle);\n await this.page.getByLabel('Description').clear();\n await this.page.getByLabel('Description').fill('description');\n await this.page.getByRole('button', { name: 'Continue' }).click();\n await expect(this.page.getByTestId('template-workflow-pill').getByText('Template')).toBeVisible();\n }\n\n async move(templateName: string, targetFolder: string): Promise<void> {\n await this.page.locator('.template').filter({ hasText: templateName }).locator('.template-actions .move').click();\n await expect(this.page.getByText('Move template to')).toBeVisible();\n if (await this.page.getByRole('button', { name: 'Expand' }).isEnabled())\n await this.page.getByRole('button', { name: 'Expand' }).click();\n await this.page.getByPlaceholder('Search folder...').click();\n await this.page.getByPlaceholder('Search folder...').fill(targetFolder);\n await this.page.getByRole('button', { name: targetFolder }).click();\n await this.page.getByRole('button', { name: 'Move' }).click();\n await expect(this.page.getByText('Add', { exact: true })).toBeVisible();\n await expect(this.page.getByText('Remove')).toBeVisible();\n await this.page.getByRole('button', { name: 'Move' }).click();\n }\n\n async metaInformation(templateName: string, validationMsg?: string): Promise<void> {\n await this.page.locator('.title').filter({ hasText: templateName }).locator('.template-context-menu').click();\n await this.page.getByRole('menuitem', { name: 'Meta information' }).locator('a').click();\n await expect(this.page.getByRole('heading', { name: 'Meta information - ' + templateName })).toBeVisible();\n if (validationMsg) {\n await expect(this.page.getByText(validationMsg)).toBeVisible();\n }\n await expect(this.page.getByRole('button', { name: 'Close' })).toBeVisible();\n }\n\n async expectTemplateVisible(title: string, expected = true): Promise<void> {\n if (expected) {\n await this.page.locator('.template').filter({ hasText: title }).waitFor();\n expect(this.page.locator('.template').filter({ hasText: title })).toBeVisible();\n } else {\n await this.page.locator('.template').filter({ hasText: title }).waitFor();\n expect(this.page.locator('.template').filter({ hasText: title })).not.toBeVisible();\n }\n }\n\n async delete(title: string): Promise<void> {\n await this.searchBy(title);\n await this.page.locator('.title').filter({ hasText: title }).locator('.delete').waitFor();\n await this.page.locator('.title').filter({ hasText: title }).locator('.delete').click();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.page.locator('.title').filter({ hasText: title })).not.toBeVisible();\n }\n\n async clickCreateNewTemplate(): Promise<void> {\n await this.page.getByTestId('dot-button').click();\n await this.page.getByRole('menuitem', { name: 'Create new template' }).click();\n }\n\n async openTemplateByName(templateName: string): Promise<void> {\n await this.filterByTitle(templateName);\n await this.page.locator(`.template`).filter({ hasText: templateName }).locator(`.raised-link`).waitFor();\n await this.page.locator(`.template`).filter({ hasText: templateName }).locator(`.raised-link`).click();\n }\n\n async clickNewReleaseIcon(templateName: string): Promise<void> {\n await this.page\n .locator('xlr-template-row-component')\n .filter({ hasText: templateName })\n .locator('.link .add-icon')\n .click();\n await expect(this.page.getByRole('heading', { name: 'Create new release' })).toBeVisible();\n }\n\n async filterByTitle(templateName: string): Promise<void> {\n await this.page.getByPlaceholder('Filter by title...', { exact: true }).click();\n await this.page.getByPlaceholder('Filter by title...', { exact: true }).fill(templateName);\n await this.page.getByPlaceholder('Filter by title...', { exact: true }).press('Enter');\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class RolesModal extends WithPage {\n roleName: Locator;\n newRoleName: Locator;\n addPrincipal: Locator;\n saveButton: Locator;\n editIcon: Locator;\n deleteButton: Locator;\n searchRoles: Locator;\n constructor(page: Page) {\n super(page);\n this.roleName = page.locator('Role name *');\n this.newRoleName = page.locator('Role name *');\n this.addPrincipal = page.locator('Add a principal...');\n this.saveButton = page.getByRole('button', { name: 'Save' });\n this.editIcon = page.getByRole('row', { name: '' }).getByLabel('Edit', { exact: true });\n this.deleteButton = page.getByRole('button', { name: 'Delete' });\n this.searchRoles = page.getByPlaceholder('Search roles...');\n }\n\n async setRoleName(roleName: string): Promise<void> {\n return await this.page.getByLabel('Role name *').fill(roleName, { timeout: 1000 });\n }\n\n async editRoleName(newRoleName: string): Promise<void> {\n return await this.page.getByLabel('Role name *').fill(newRoleName, { timeout: 1000 });\n }\n\n async setPrincipal(addPrincipal: string): Promise<void> {\n await this.page.getByPlaceholder('Add a principal...').fill(addPrincipal, { timeout: 1000 });\n }\n\n async searchRoleByRoleName(searchRoles: string): Promise<void> {\n await this.page.getByPlaceholder('Search roles...').fill(searchRoles, { timeout: 1000 });\n }\n async save(): Promise<void> {\n await this.saveButton.isEnabled();\n await expect(this.saveButton).not.toBeDisabled();\n await this.saveButton.focus();\n await this.saveButton.click();\n }\n\n async delete(): Promise<void> {\n await this.deleteButton.click();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { RolesModal } from './rolesModal';\n\nexport class RolesPage extends WithPage {\n page: Page;\n newRoleButton: Locator;\n modal: RolesModal;\n\n constructor(page: Page) {\n super(page);\n this.page = page;\n this.newRoleButton = this.page.getByTestId('new-role-btn');\n this.modal = new RolesModal(page);\n }\n\n async createRole(roleName: string, addPrincipal: string): Promise<void> {\n await this.newRoleButton.click();\n await this.modal.setRoleName(roleName);\n await this.modal.setPrincipal(addPrincipal);\n await this.modal.save();\n await this.expectToViewCreatedRole(roleName);\n }\n\n async editRole(roleName: string, newRoleName: string): Promise<void> {\n await this.page.getByRole('row', { name: roleName }).getByLabel('Edit', { exact: true }).click();\n await this.modal.editRoleName(newRoleName);\n await this.modal.save();\n }\n\n async searchRoleByRoleName(searchRoles: string): Promise<void> {\n await this.page.getByPlaceholder('Search roles...').fill(searchRoles, { timeout: 1000 });\n }\n\n async searchRoleByAssignedUsername(searchRolesByUsername: string): Promise<void> {\n await this.page\n .getByPlaceholder('Search assigned usernames or external groups...')\n .fill(searchRolesByUsername, { timeout: 1000 });\n }\n\n async deleteRole(roleName: string): Promise<void> {\n await this.page.getByRole('row', { name: roleName }).getByLabel('Delete', { exact: true }).click();\n await this.modal.delete();\n }\n\n async expectToViewRolesPage(): Promise<void> {\n await expect(this.page.locator('text=Principals')).toBeVisible();\n }\n\n async expectToViewCreatedRole(roleName: string): Promise<void> {\n await expect(this.page.getByRole('cell', { name: roleName })).toBeVisible();\n }\n\n async expectToViewEditedRole(roleName: string): Promise<void> {\n await expect(this.page.getByRole('cell', { name: roleName })).toBeVisible();\n }\n\n async expectRoleToBeDeleted(roleName: string): Promise<void> {\n await expect(this.page.getByRole('cell', { name: roleName })).toBeHidden();\n }\n\n async expectToViewSearchedRole(roleName: string): Promise<void> {\n await expect(this.page.locator('roles-page')).toContainText(roleName);\n }\n\n async expectToViewSearchedRoleByUsername(userName: string): Promise<void> {\n await expect(this.page.locator('roles-page')).toContainText(userName);\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\nimport { Util } from './common/util';\n\nexport class SystemSettingsPage extends WithPage {\n util: Util;\n constructor(page: Page) {\n super(page);\n this.util = new Util(page);\n }\n\n async openGeneralSettings(): Promise<void> {\n await this.util.openSideNavMenu('General');\n await expect(this.page.getByLabel('breadcrumb').getByText('General')).toBeVisible();\n }\n\n async openReleasesAndTriggers(): Promise<void> {\n await this.util.openSideNavMenu('Releases and Triggers');\n await expect(this.page.getByLabel('breadcrumb').getByText('Releases and Triggers')).toBeVisible();\n }\n\n async openTasks(): Promise<void> {\n await this.util.openSideNavMenu('Tasks');\n await expect(this.page.getByLabel('breadcrumb').getByText('Tasks')).toBeVisible();\n }\n\n async openReports(): Promise<void> {\n await this.util.openSideNavMenu('Reports');\n await expect(this.page.getByLabel('breadcrumb').getByText('Reports')).toBeVisible();\n }\n async openAdvanced(): Promise<void> {\n await this.util.openSideNavMenu('Advanced');\n await expect(this.page.getByLabel('breadcrumb').getByText('Advanced')).toBeVisible();\n }\n\n async openExperimental(): Promise<void> {\n await this.util.openSideNavMenu('Experimental');\n await expect(this.page.getByLabel('breadcrumb').getByText('Experimental')).toBeVisible();\n }\n\n async openNotifications(): Promise<void> {\n await this.util.openSideNavMenu('Notifications');\n await expect(this.page.getByLabel('breadcrumb').getByText('Notifications')).toBeVisible();\n }\n\n async openRiskProfiles(): Promise<void> {\n await this.util.openSideNavMenu('Risk profiles');\n await expect(this.page.getByLabel('breadcrumb').getByText('Risk profiles')).toBeVisible();\n }\n\n async openWorkflowCategories(): Promise<void> {\n await this.util.openSideNavMenu('Workflow categories');\n await expect(this.page.getByLabel('breadcrumb').getByText('Workflow categories')).toBeVisible();\n }\n\n async openSMTPServer(): Promise<void> {\n await this.util.openSideNavMenu('SMTP server');\n await expect(this.page.getByLabel('breadcrumb').getByText('SMTP server')).toBeVisible();\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { ReleasePage } from './releases/ReleasePage';\nimport { ApplicationsPage } from './ApplicationsPage';\nimport { DataRandomGenerator } from './common/dataRandomGenerator';\nimport { DateUtil } from './common/dateUtil';\nimport { FolderPage } from './FolderPage';\nimport { GlobalVariable } from './globalVariablePage';\nimport { HomePage } from './homePage';\nimport { HeaderPage } from './headerPage';\nimport { ManagePluginsPage } from './managePluginsPage';\nimport { PersonalAccessTokenPage } from './PersonalAccessTokenPage';\nimport { PersonalSettingsPage } from './personalSettingsPage';\nimport { UsersPage } from './users/usersPage';\nimport { SettingsMenu } from './settingsMenu';\nimport { TaskDetails } from './taskDetails';\nimport { ReleaseCalendarPage } from './ReleaseCalendarPage';\nimport { ReleaseGroupPage } from './ReleaseGroupPage';\nimport { ReleaseGroupTimelinePage } from './ReleaseGroupTimelinePage';\nimport { ReleasesListPage } from './ReleasesListPage';\nimport { TaskListPage } from './tasks/taskListPage';\nimport { TemplatePage } from './templates/templatePage';\nimport { TemplateListPage } from './templateListPage';\nimport { Util } from './common/util';\nimport { RolesPage } from './users/rolesPage';\nimport { WorkflowCatalogPage } from './workflowCatalogPage';\nimport { SystemSettingsPage } from './systemSettingsPage';\n\nexport class Navigation {\n private readonly page: Page;\n dataRandomGenerator: DataRandomGenerator;\n dateUtil: DateUtil;\n folderPage: FolderPage;\n globalvariable: GlobalVariable;\n homePage: HomePage;\n header: HeaderPage;\n managePluginsPage: ManagePluginsPage;\n releasePage: ReleasePage;\n settingsMenu: SettingsMenu;\n systemSettingsPage: SystemSettingsPage;\n usersPage: UsersPage;\n applicationPage: ApplicationsPage;\n taskDetailsPage: TaskDetails;\n taskListPage: TaskListPage;\n templatePage: TemplatePage;\n templateListPage: TemplateListPage;\n personalSettingsPage: PersonalSettingsPage;\n releaseCalendarPage: ReleaseCalendarPage;\n releaseGroupPage: ReleaseGroupPage;\n releaseGroupTimelinePage: ReleaseGroupTimelinePage;\n releaseListPage: ReleasesListPage;\n rolesPage: RolesPage;\n util: Util;\n workflowCatalogPage: WorkflowCatalogPage;\n\n constructor(page: Page) {\n this.page = page;\n this.dataRandomGenerator = new DataRandomGenerator();\n this.dateUtil = new DateUtil(page);\n this.folderPage = new FolderPage(page);\n this.globalvariable = new GlobalVariable(page);\n this.homePage = new HomePage(page);\n this.header = new HeaderPage(page);\n this.managePluginsPage = new ManagePluginsPage(page);\n this.releasePage = new ReleasePage(page);\n this.settingsMenu = new SettingsMenu(page);\n this.systemSettingsPage = new SystemSettingsPage(page);\n this.usersPage = new UsersPage(page);\n this.applicationPage = new ApplicationsPage(page);\n this.taskDetailsPage = new TaskDetails(page);\n this.taskListPage = new TaskListPage(page);\n this.templatePage = new TemplatePage(page);\n this.templateListPage = new TemplateListPage(page);\n this.personalSettingsPage = new PersonalSettingsPage(page);\n this.releaseCalendarPage = new ReleaseCalendarPage(page);\n this.releaseGroupPage = new ReleaseGroupPage(page);\n this.releaseGroupTimelinePage = new ReleaseGroupTimelinePage(page);\n this.releaseListPage = new ReleasesListPage(page);\n this.rolesPage = new RolesPage(page);\n this.util = new Util(page);\n this.workflowCatalogPage = new WorkflowCatalogPage(page);\n }\n\n async openTemplate(id: string): Promise<ReleasePage> {\n return this.openReleaseOrTemplate(id, false);\n }\n\n async openRelease(id: string): Promise<ReleasePage> {\n return this.openReleaseOrTemplate(id, true);\n }\n\n async openApplicationsPage(): Promise<ApplicationsPage> {\n return new ApplicationsPage(this.page).goToApplicationsPage();\n }\n\n async openPersonalAccessTokenPage(): Promise<PersonalAccessTokenPage> {\n return new PersonalAccessTokenPage(this.page).openPersonalAccessTokenPage();\n }\n\n async gotoFolderPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Folders', { exact: true }).click();\n }\n\n async gotoTaskPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Tasks', { exact: true }).click();\n }\n\n async gotoReleasePage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Releases', { exact: true }).click();\n }\n\n async gotoWorkflowCatalogPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Workflow catalog', { exact: true }).click();\n }\n\n async gotoWorkflowsPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Workflows', { exact: true }).click();\n }\n\n async gotoGroupsPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Groups', { exact: true }).click();\n }\n\n async gotoReleaseCalenderPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Release calendar', { exact: true }).click();\n }\n\n async gotoDeliveriesPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Deliveries', { exact: true }).click();\n }\n\n async gotoTriggersPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Triggers', { exact: true }).click();\n }\n\n async gotoDigitalAnalyticsPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Digital.ai Analytics', { exact: true }).click();\n }\n\n async gotoReportsPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Reports', { exact: true }).click();\n }\n\n async gotoTemplatesPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Templates', { exact: true }).click();\n }\n\n async gotoEnvironmentsPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Environments', { exact: true }).click();\n }\n\n async gotoEnvironmentsCalenderPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Environments calendar', { exact: true }).click();\n }\n\n async gotoGobalVariablesPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Global variables', { exact: true }).click();\n }\n async gotoConnectionsPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByText('Connections', { exact: true }).click();\n }\n private async openReleaseOrTemplate(id: string, release: boolean): Promise<ReleasePage> {\n const url = release ? 'releases' : 'templates';\n await this.page.goto(`./#/${url}/${id}`);\n await this.page.waitForSelector('#release');\n return new ReleasePage(this.page);\n }\n\n async collapseSideView(): Promise<void> {\n await this.page.getByLabel('Collapse Q').click();\n await expect(this.page.getByLabel('Collapse Q')).not.toBeVisible();\n }\n\n async expandSideView(): Promise<void> {\n await this.page.getByLabel('Expand Q').click();\n await expect(this.page.getByLabel('Expand Q')).not.toBeVisible();\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class LoginPage extends WithPage {\n /**\n * Login with username and password\n * @param userName\n * @param password\n */\n async login(userName: string, password: string): Promise<void> {\n await this.page.goto('./#/login');\n await expect(this.page).toHaveTitle('Digital.ai Release');\n await this.page.getByPlaceholder('User').fill(userName, { timeout: 1000 });\n await this.page.getByPlaceholder('Password').fill(password, { timeout: 10000 });\n await this.page.getByRole('button', { name: 'Log in' }).click({ timeout: 10000 });\n await this.page.waitForTimeout(1000);\n await this.closePendoModalWindow();\n }\n\n /**\n * Logout as authenticated user\n */\n async logout(): Promise<void> {\n await this.page.locator('button.dot-avatar').click();\n await this.page.getByText('Log out', { exact: true }).click();\n }\n\n /**\n * Expect login to be restricted for a user\n */\n async expectLoginDisallowed(): Promise<void> {\n const val = await this.page.textContent('.error-content span[ng-show=\"loginInfo.failedStatus == 403\"]');\n expect(val).toContain(\"You do not have 'login' permission.\");\n }\n\n /**\n * Expect the respective user is logged In\n * @param username\n */\n async expectToBeLogged(username: string): Promise<void> {\n const val = await this.page.locator('top-toolbar .avatar-wrapper span.dot-tooltip').getAttribute('aria-label');\n expect(val).toContain(username);\n }\n\n async closePendoModalWindow(): Promise<void> {\n await this.page.waitForTimeout(1000);\n if ((await this.page.locator('._pendo-close-guide').count()) > 0) {\n await this.page.locator('._pendo-close-guide').click();\n }\n }\n}\n","interface BaseConfigurationItem {\n id: string;\n type: string;\n}\n\ninterface PlanItem extends BaseConfigurationItem {\n title: string;\n}\n\nexport interface Release extends PlanItem {\n allowConcurrentReleasesFromTrigger: boolean;\n attachments: Array<Attachment>;\n autoStart: boolean;\n description: string;\n dueDate?: Date;\n endDate?: Date;\n extensions: Array<ReleaseExtension>;\n flagStatus?: string;\n owner?: string;\n passwordVariableValues?: VariableValues;\n phases: Array<Phase>;\n plannedDuration: number;\n queryableEndDate?: Date;\n queryableStartDate?: Date;\n scheduledStartDate?: Date;\n scriptUserPassword?: string;\n scriptUsername?: string;\n startDate?: Date;\n status: ReleaseStatus;\n summary?: Dashboard;\n tags?: Array<string>;\n teams: Array<Team>;\n variableValues?: VariableValues;\n variables: Array<Variable>;\n}\n\ntype VariableValues = Record<string, any>;\n// interface VariableValues {\n// [key: string]: any;\n// }\n\nexport interface Variable extends BaseConfigurationItem {\n key: string;\n requiresValue: boolean;\n showOnReleaseStart: boolean;\n value: string;\n valueProvider?: VariableValueProvider;\n}\n\nexport interface VariableValueProvider {\n id: string;\n variable: string;\n}\n\nexport interface Container extends PlanItem {\n tasks: Array<Task>;\n}\n\nexport interface Phase extends Container {\n dueDate?: Date;\n plannedDuration: number;\n scheduledStartDate?: Date;\n startDate: Date;\n status: PhaseStatus;\n}\n\nexport interface Dependency extends PlanItem {\n archivedAsResolved: boolean;\n archivedTargetId: string;\n archivedTargetTitle: string;\n target: {\n id: string;\n type: string;\n };\n targetId: string;\n}\nexport interface Folder extends PlanItem {\n children?: Array<Folder>;\n teams?: Array<FixtureTeam>;\n variables?: Array<Variable>;\n}\n\nexport interface Task extends PlanItem {\n attachments: Array<Attachment>;\n comments: Array<Comment>;\n conditions: Array<Condition>;\n dependencies: Array<Dependency>;\n description?: string;\n dueDate?: Date;\n endDate?: Date;\n failuresCount: number;\n flagStatus?: string;\n links: Array<Link>;\n owner?: string;\n precondition: string;\n pythonScript?: PythonScript;\n scheduledStartDate?: Date;\n script: string;\n startDate?: Date;\n status: TaskStatus;\n tags?: Array<string>;\n tasks: Array<Task>;\n team: string;\n templateVariables: Array<Variable>;\n waitForScheduledStartDate?: boolean;\n}\n\ntype Condition = PlanItem;\ntype Link = PlanItem;\ntype Comment = PlanItem;\ntype Attachment = PlanItem;\n\nexport interface Dashboard extends ReleaseExtension {\n tiles: Array<Tile>;\n}\n\ntype ReleaseExtension = BaseConfigurationItem;\nexport type Tile = BaseConfigurationItem;\n\ninterface PythonScript extends BaseConfigurationItem {\n customScriptTask: string;\n}\n\ntype ReleaseStatus = 'TEMPLATE' | 'PLANNED' | 'IN_PROGRESS' | 'PAUSED' | 'FAILING' | 'FAILED' | 'COMPLETED' | 'ABORTED';\ntype PhaseStatus = 'PLANNED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILING' | 'FAILED' | 'SKIPPED' | 'ABORTED';\ntype TaskStatus =\n | 'IN_PROGRESS'\n | 'PLANNED'\n | 'SKIPPED_IN_ADVANCE'\n | 'COMPLETED_IN_ADVANCE'\n | 'COMPLETED'\n | 'SKIPPED'\n | 'ABORTED'\n | 'PENDING'\n | 'FACET_CHECK_IN_PROGRESS'\n | 'FAILED'\n | 'FAILING'\n | 'FAILURE_HANDLER_IN_PROGRESS'\n | 'ABORT_SCRIPT_IN_PROGRESS'\n | 'PRECONDITION_IN_PROGRESS'\n | 'QUEUED'\n | 'ABORT_SCRIPT_QUEUED'\n | 'WAITING_FOR_INPUT'\n | 'FAILURE_HANDLER_QUEUED';\n\nexport interface Team extends BaseConfigurationItem {\n members: Array<principals>;\n permissions: Array<string>;\n roles?: Array<FixtureRoles>;\n teamName: string;\n}\n\nexport type FixtureTeam = Omit<Team, 'id'>;\n\nexport interface principals {\n name: string;\n type: string;\n}\n\ntype FeatureType = 'xlrelease.TaskDrawer'; // add more as needed\nexport interface FixtureFeature {\n enabled: boolean;\n id: string;\n type: FeatureType;\n}\n\ntype DeepPartial<T> = {\n [P in keyof T]?: DeepPartial<T[P]>;\n};\n\n// for fixtures we allow releases with everything optional expect the `id`\nexport type FixtureRelease = DeepPartial<Release> & Pick<Release, 'id'>;\n\nexport interface FixtureConfiguration extends PlanItem {\n apiToken?: string;\n password?: string;\n url: string;\n username?: string;\n}\n\nexport interface FixtureTrigger extends PlanItem {\n count?: number;\n description?: string;\n enabled?: boolean;\n folderId?: string;\n gitRepository?: string;\n jql?: string;\n password?: string;\n periodicity?: number | string;\n pollType?: string;\n releaseTitle: string;\n server?: string;\n template: string;\n username?: string;\n}\n\nexport interface FixtureActivityLog extends PlanItem {\n activityType: string;\n eventTime: Date;\n message: string;\n username: string;\n}\n\nexport interface FixtureRoles {\n principals?: Array<string>;\n role?: Array<FixtureRole>;\n}\n\nexport interface FixtureRole {\n id: number;\n name: string;\n}\n\nexport interface FixturePermissions {\n permissions?: Array<string>;\n role?: Array<FixtureRole>;\n}\n\nexport interface ReleaseGroup extends PlanItem {\n endDate: Date;\n folderId: string;\n releaseIds?: Array<string>;\n startDate: Date;\n}\n","import isUndefined from 'lodash/isUndefined';\nimport each from 'lodash/each';\nimport forEach from 'lodash/forEach';\nimport defaults from 'lodash/defaults';\nimport toPairs from 'lodash/toPairs';\n\nimport { Container, Dashboard, Phase, Release, Task, Tile, Variable, VariableValueProvider } from '../types';\n\nexport const initReleaseDefaults = (function () {\n const RELEASE_TYPE = 'xlrelease.Release';\n const PHASE_TYPE = 'xlrelease.Phase';\n const TEAM_TYPE = 'xlrelease.Team';\n const TASK_TYPE = 'xlrelease.Task';\n const COMMENT_TYPE = 'xlrelease.Comment';\n const CONDITION_TYPE = 'xlrelease.GateCondition';\n const DEPENDENCY_TYPE = 'xlrelease.Dependency';\n const LINK_TYPE = 'xlrelease.Link';\n const ATTACHMENT_TYPE = 'xlrelease.Attachment';\n const DASHBOARD_TYPE = 'xlrelease.Dashboard';\n const _TRIGGER_TYPE = 'xlrelease.ReleaseTrigger';\n const JIRA_TYPE = 'jira.CreateIssue';\n const DEFAULT_TASK_OWNER = 'Itchy';\n\n const processTasks = (task: Task, container: Container, index: number): void => {\n if (isUndefined(task.type)) task.type = TASK_TYPE;\n task.id = task.id || `${container.id}/Task${index}`;\n if (isUndefined(task.owner) && task.type !== JIRA_TYPE) task.owner = DEFAULT_TASK_OWNER;\n if (task.owner === null) delete task.owner;\n\n each(task.conditions, function (condition, idx) {\n condition.type = CONDITION_TYPE;\n condition.id = `${task.id}/GateCondition${idx}`;\n });\n each(task.dependencies, function (dependency, idx) {\n dependency.type = DEPENDENCY_TYPE;\n dependency.id = `${task.id}/Dependency${idx}`;\n });\n each(task.links, function (link, idx) {\n link.type = LINK_TYPE;\n link.id = `${task.id}/Link${idx}`;\n });\n each(task.comments, function (comment, idx) {\n comment.type = COMMENT_TYPE;\n comment.id = `${task.id}/Comment${idx}`;\n });\n each(task.tasks, function (subTask, idx) {\n processTasks(subTask, task, idx);\n });\n each(task.templateVariables, function (variable, idx) {\n defaults(variable, getVariableEntity(variable.value, variable.key, task.id, idx));\n });\n each(task.attachments, function (attachment, idx) {\n attachment.type = ATTACHMENT_TYPE;\n attachment.id = `${task.id}/Attachment${idx}`;\n });\n if (task.pythonScript) {\n const pythonScript = task.pythonScript;\n pythonScript.id = `${task.id}/PythonScript`;\n pythonScript.customScriptTask = task.id;\n }\n };\n\n const processPhases = (phase: Phase, release: Release, index: number): void => {\n phase.type = PHASE_TYPE;\n phase.id = `${release.id}/Phase${index}`;\n\n forEach(phase.tasks, (task, idx): void => {\n processTasks(task, phase, idx);\n });\n };\n\n const getVariableEntity = (\n value: string,\n key: string,\n containerId: string,\n index: number,\n password?: boolean,\n // eslint-disable-next-line max-params\n ): Variable => {\n const keyNoSyntax = key.replace('${', '').replace('}', '');\n return {\n id: `${containerId}/Variable${index}`,\n key: keyNoSyntax,\n requiresValue: true,\n showOnReleaseStart: true,\n type: password ? 'xlrelease.PasswordStringVariable' : 'xlrelease.StringVariable',\n value: value,\n };\n };\n\n const getValueProviderConfigurationEntity = function (containerId: string): VariableValueProvider {\n return {\n id: `${containerId}/valueProvider`,\n variable: containerId,\n };\n };\n\n const getDashboardExtension = (dashboard: Dashboard, releaseId: string): Dashboard => {\n const dashboardExtension: Dashboard = {\n id: `${releaseId}/summary`,\n type: DASHBOARD_TYPE,\n tiles: [],\n };\n if (dashboard.tiles) {\n forEach(dashboard.tiles, function (tile, index) {\n dashboardExtension.tiles.push(getTileEntity(tile, `${releaseId}/summary`, index));\n });\n }\n return dashboardExtension;\n };\n\n function getTileEntity(tile: Tile, containerId: string, index: number): Tile {\n tile.id = tile.id || `${containerId}/Tile${index}`;\n return tile;\n }\n\n return function (release: Release) {\n release.type = RELEASE_TYPE;\n if (release.id.indexOf('Applications/') === -1) {\n release.id = `Applications/${release.id}`;\n }\n if (release.startDate) {\n release.queryableStartDate = release.startDate;\n } else if (release.scheduledStartDate) {\n release.queryableStartDate = release.scheduledStartDate;\n }\n if (release.endDate) {\n release.queryableEndDate = release.endDate;\n } else if (release.dueDate) {\n release.queryableEndDate = release.dueDate;\n }\n if (isUndefined(release.owner)) release.owner = 'Itchy'; // default release manager\n\n forEach(release.phases, function (phase, index) {\n processPhases(phase, release, index);\n });\n forEach(release.teams, function (team, index) {\n team.type = TEAM_TYPE;\n team.id = `${release.id}/Team${index}`;\n });\n forEach(release.attachments, function (attachment, index) {\n attachment.type = ATTACHMENT_TYPE;\n attachment.id = `${release.id}/Attachment${index}`;\n });\n forEach(release.variables, function (variable: Variable, index) {\n defaults(variable, getVariableEntity(variable.value, variable.key, release.id, index));\n if (variable.valueProvider) {\n defaults(variable.valueProvider, getValueProviderConfigurationEntity(variable.id));\n }\n });\n forEach(toPairs(release.variableValues), function (keyValue, index) {\n if (!release.variables) release.variables = [];\n release.variables.push(getVariableEntity(keyValue[1], keyValue[0], release.id, 1000 + index));\n release.variableValues = undefined;\n });\n forEach(toPairs(release.passwordVariableValues), function (keyValue, index) {\n if (!release.variables) release.variables = [];\n release.variables.push(getVariableEntity(keyValue[1], keyValue[0], release.id, 1500 + index, true));\n release.passwordVariableValues = undefined;\n });\n\n if (release.summary) {\n release.extensions = [getDashboardExtension(release.summary, release.id)];\n release.summary = undefined;\n }\n };\n})();\n","import { test as base, expect, Page, APIResponse } from '@playwright/test';\nimport { execFile } from 'child_process';\nimport { APIRequestContext } from 'playwright-core';\nimport isNil from 'lodash/isNil';\nimport { Navigation } from '../pages';\nimport { LoginPage } from '../pages/login-page';\nimport { initReleaseDefaults } from './helper';\nimport * as process from 'process';\nimport {\n FixtureActivityLog,\n FixtureConfiguration,\n FixtureFeature,\n FixturePermissions,\n FixtureRelease,\n FixtureRoles,\n FixtureTrigger,\n Folder,\n Release,\n Variable,\n ReleaseGroup,\n FixtureTeam,\n} from '../types';\n\nconst JIRA_ISSUE_API_URL = 'https://digitalai.atlassian.net/rest/api/2/issue';\n\nconst adminHeaders = {\n Authorization: 'Basic YWRtaW46YWRtaW4=',\n Cookie: 'XSRF-TOKEN=1;',\n 'X-XSRF-TOKEN': '1',\n};\n\ntype ReleaseFixtures = {\n fixtures: Fixtures;\n loginPage: LoginPage;\n navigation: Navigation;\n};\n\nexport const test = base.extend<ReleaseFixtures>({\n fixtures: async ({ request, page }, use) => {\n const fixtures = new Fixtures(request, page);\n await use(fixtures);\n return fixtures;\n },\n loginPage: async ({ page }, use) => {\n const loginPage = new LoginPage(page);\n await use(loginPage);\n return loginPage;\n },\n navigation: async ({ page }, use) => {\n const navigationPage = new Navigation(page);\n await use(navigationPage);\n return navigationPage;\n },\n});\n\nclass Fixtures {\n private readonly request: APIRequestContext;\n private readonly page: Page;\n\n private archivedReleaseIds: Array<string> = [];\n private releaseIds: Array<string> = [];\n private triggerIds: Array<string> = [];\n private configurationIds: Array<string> = [];\n private globalVariableIds: Array<string> = [];\n private folderIds: Array<string> = [];\n private usernames: Array<string> = [];\n private userProfiles: Array<string> = [];\n\n constructor(request: APIRequestContext, page: Page) {\n this.request = request;\n this.page = page;\n }\n\n release(release: FixtureRelease): Promise<APIResponse> {\n this.initDefaults(release);\n this.releaseIds.push(release.id);\n return this.deleteRelease(release.id)\n .then(() => this.deleteArchivedRelease(release.id))\n .then(() => this.doPost('fixtures/release', release));\n }\n\n archivedRelease(release: FixtureRelease): Promise<APIResponse> {\n this.initDefaults(release);\n this.archivedReleaseIds.push(release.id);\n return this.doPost('fixtures/archived', release);\n }\n\n configuration(ci: FixtureConfiguration): Promise<APIResponse> {\n this.configurationIds.push(ci.id);\n return this.doPost('fixtures/shared', [ci]);\n }\n\n getParentId(id: string): string {\n return id.substring(0, id.lastIndexOf('/'));\n }\n\n addSystemTeams(teams: Array<FixtureTeam>): Array<FixtureTeam> {\n const systemTeams = ['Folder Owner', 'Release Admin', 'Template Owner'];\n const teamsToUpdate = teams.map((team) => team.teamName);\n systemTeams.forEach((teamName) => {\n if (teamsToUpdate.indexOf(teamName) === -1) {\n teams.push({\n type: 'xlrelease.Team',\n teamName,\n members: [],\n permissions: [],\n });\n }\n });\n return teams;\n }\n\n async folder(folder: Folder): Promise<APIResponse> {\n const parentId = this.getParentId(folder.id);\n folder.type = 'xlrelease.Folder';\n\n let teams = folder.teams;\n delete folder.teams;\n //ToDo: Add Children\n /* eslint-disable @typescript-eslint/no-unused-vars */\n const children = folder.children || [];\n delete folder.children;\n\n const response = await this.doPost(`api/v1/folders/${parentId}`, folder);\n\n // Add the folder ID to the list\n this.folderIds.push(folder.id);\n\n // If teams are provided, send a request to add teams to the folder\n if (teams) {\n teams = this.addSystemTeams(teams);\n const newresponse = await this.doPost(`api/v1/folders/${folder.id}/teams`, teams);\n return newresponse;\n }\n return response;\n }\n\n createFolder(folderJson: Folder): Promise<APIResponse> {\n folderJson.type = 'xlrelease.Folder';\n return this.doPost(`fixtures/folders`, [folderJson]);\n }\n\n trigger(trigger: FixtureTrigger): Promise<APIResponse> {\n this.triggerIds.push(trigger.id);\n return this.doPost('fixtures/trigger', trigger);\n }\n\n roles(rolePrincipals: FixtureRoles): Promise<APIResponse> {\n return this.doPost('fixtures/roles/principals', rolePrincipals);\n }\n\n permissions(rolePermissions: FixturePermissions): Promise<APIResponse> {\n return this.doPost('fixtures/roles/permissions/global', rolePermissions);\n }\n\n updateUserProfile(username: string, profile: any): Promise<APIResponse> {\n profile.id = username;\n profile.type = 'xlrelease.UserProfile';\n profile.canonicalId = username.toLowerCase();\n if (this.userProfiles.indexOf(profile.canonicalId) === -1) {\n this.userProfiles.push(profile.canonicalId);\n }\n return this.doPut('fixtures/userProfile', profile);\n }\n\n deleteRole(roleName: string): Promise<APIResponse> {\n return this.doDelete(`fixtures/role/${roleName}`);\n }\n\n deleteArchivedRelease(id: string): Promise<APIResponse> {\n const releaseId = id.includes('Applications/') ? id : `Applications/${id}`;\n return this.doDelete('fixtures/cis', [\n {\n id: releaseId,\n type: 'xlrelease.Release',\n },\n ]);\n }\n\n deleteRelease(id: string): Promise<APIResponse> {\n const releaseId = id.includes('Applications/') ? id : `Applications/${id}`;\n return this.doDelete(`fixtures/${releaseId}`);\n }\n\n deleteUser(username: string): Promise<APIResponse> {\n return this.doDelete(`fixtures/user/${username}`);\n }\n\n deleteUserProfile(userProfile: string): Promise<APIResponse> {\n return this.doDelete(`fixtures/userProfile/${userProfile}`);\n }\n\n deleteTrigger(id: string): Promise<APIResponse> {\n return this.doDelete(`fixtures/trigger/${id}`);\n }\n\n deleteConfiguration(id: string): Promise<APIResponse> {\n return this.doDelete(`fixtures/shared`, [id]);\n }\n\n deleteFolder(folderId: string): Promise<APIResponse> {\n return this.doDelete(`api/v1/folders/${folderId}`);\n }\n\n activityLogs(id: string, logs: Array<FixtureActivityLog>): Promise<APIResponse> {\n return this.doPost(`fixtures/activityLogs/${id}`, logs);\n }\n\n globalVariable(variable: Variable): Promise<APIResponse> {\n variable.id = variable.id || `Configuration/variables/global/Variable_${variable.key}`;\n this.globalVariableIds.push(variable.id);\n variable.requiresValue = false;\n variable.showOnReleaseStart = false;\n return this.doPost('api/v1/config/Configuration/variables/global', variable);\n }\n\n async cleanAll(): Promise<void> {\n for (const username of this.usernames) {\n await this.deleteUser(username);\n }\n for (const userProfile of this.userProfiles) {\n await this.deleteUserProfile(userProfile);\n }\n for (const triggerId of this.triggerIds) {\n await this.deleteTrigger(triggerId);\n }\n for (const releaseId of this.releaseIds.reverse()) {\n await this.deleteRelease(releaseId);\n }\n for (const confId of this.configurationIds) {\n await this.deleteConfiguration(confId);\n }\n for (const folderId of this.folderIds.reverse()) {\n await this.deleteFolder(folderId);\n }\n this.folderIds = [];\n this.releaseIds = [];\n this.triggerIds = [];\n this.configurationIds = [];\n this.usernames = [];\n this.userProfiles = [];\n }\n\n async addJiraTask(): Promise<string> {\n const data = {\n fields: {\n project: { key: 'RIT' },\n summary: 'Test Task',\n description: 'Test task description',\n issuetype: { name: 'Task' },\n },\n };\n const headers = {\n Authorization: `Basic ${btoa('xlr-jira-testuser@xebialabs.com:zgsXK6c3oLVkJxrWVJQy9DB7')}`,\n Origin: 'https://digitalai.atlassian.net/',\n };\n const response = await this.request.post(JIRA_ISSUE_API_URL, { data, headers });\n const json = await response.json();\n return json.key;\n }\n\n async addUser(username: string, password: string): Promise<void> {\n this.usernames.push(username);\n await this.doPost('fixtures/user', { username, password });\n }\n\n async addUserProfile(username: string, profile?: any): Promise<void> {\n if (!profile) {\n profile = {};\n }\n profile.id = username;\n profile.type = 'xlrelease.UserProfile';\n profile.canonicalId = username.toLowerCase();\n this.userProfiles.push(profile.canonicalId);\n await this.doPost('fixtures/userProfile', profile);\n }\n\n async expectJiraTaskStatus(taskId: string, expectedStatus: string): Promise<void> {\n const headers = {\n Authorization: `Basic ${btoa('xlr-jira-testuser@xebialabs.com:zgsXK6c3oLVkJxrWVJQy9DB7')}`,\n Origin: 'https://digitalai.atlassian.net/',\n };\n const response = await this.request.get(`${JIRA_ISSUE_API_URL}/${taskId}`, { headers });\n const json = await response.json();\n const status = json.fields.status.name;\n expect(status).toBe(expectedStatus);\n }\n\n async expectJiraTaskSummary(taskId: string, expectedSummary: string): Promise<void> {\n const headers = {\n Authorization: `Basic ${btoa('xlr-jira-testuser@xebialabs.com:zgsXK6c3oLVkJxrWVJQy9DB7')}`,\n Origin: 'https://digitalai.atlassian.net/',\n };\n const response = await this.request.get(`${JIRA_ISSUE_API_URL}/${taskId}`, { headers });\n const json = await response.json();\n const summary = json.fields.summary;\n expect(summary).toBe(expectedSummary);\n }\n\n async expectContainingAttachments(releaseId: string, tempFile: string): Promise<void> {\n if (releaseId.indexOf('Applications/') === -1) {\n releaseId = 'Applications/' + releaseId;\n }\n await expect(async () => {\n const resp = await this.doPost(`fixtures/expectContainingAttachments/${releaseId}`, {\n name: tempFile,\n expectedContent: tempFile,\n });\n expect(resp).toBe(true);\n }).toPass();\n }\n\n async waitForReleaseStarted(releaseTitle: string): Promise<void> {\n await expect(async () => {\n const resp = await this.doPost('releases/search', {\n inProgress: true,\n paused: true,\n failing: true,\n failed: true,\n title: releaseTitle,\n });\n const page = await resp.json();\n await expect(page.cis.length).toBeGreaterThan(0);\n }).toPass();\n }\n\n async waitForFirstPoll(triggerId: string): Promise<void> {\n await expect(async () => {\n const resp = await this.doGet(`api/v1/triggers/${triggerId}`);\n const trigger = await resp.json();\n await expect(isNil(trigger.triggerState)).toBe(false);\n }).toPass();\n }\n\n exec(path: string): Promise<void> {\n return new Promise<void>((resolve, reject) => {\n execFile(path, (error) => {\n if (error === null) {\n return resolve();\n } else {\n return reject();\n }\n });\n });\n }\n\n getFakeApiUrl(): string {\n return this.getEnvVariable('ENV_FAKE_API') || 'http://localhost:5517';\n }\n\n getEnvVariable(name: string): string | undefined {\n return process.env[name];\n }\n\n async archiveRelease(releaseId: string): Promise<APIResponse> {\n return this.doGet(`fixtures/archive/${releaseId}`);\n }\n\n async preArchiveRelease(releaseId: string): Promise<APIResponse> {\n return this.doGet(`fixtures/preArchive/${releaseId}`);\n }\n\n async setFeatures(features: Array<FixtureFeature>): Promise<APIResponse> {\n return this.doPut('settings/features', features);\n }\n\n async enableTaskDrawer(enabled: boolean): Promise<APIResponse> {\n return this.setFeatures([\n { id: 'Configuration/features/xlrelease.TaskDrawer', type: 'xlrelease.TaskDrawer', enabled: enabled },\n ]);\n }\n\n async createReleaseGroup(releaseGroup: ReleaseGroup): Promise<APIResponse> {\n return this.doPost('fixtures/release-groups', releaseGroup);\n }\n\n private doPost(url: string, body: unknown): Promise<APIResponse> {\n return this.request.post(url, { data: body, headers: adminHeaders });\n }\n\n private doPut(url: string, body: unknown): Promise<APIResponse> {\n return this.request.put(url, { data: body, headers: adminHeaders });\n }\n\n private doGet(url: string): Promise<APIResponse> {\n return this.request.get(url, { headers: adminHeaders });\n }\n\n private doDelete(url: string, body?: unknown): Promise<APIResponse> {\n return this.request.delete(url, { data: body, headers: adminHeaders });\n }\n\n private initDefaults(ci: FixtureRelease): void {\n initReleaseDefaults(ci as Release);\n }\n}\n","export { test } from './fixtures';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
|
1
|
+
{"mappings":";;;AAEA;IACE,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;gBAElB,IAAI,EAAE,IAAI;CAGvB;ACLD,+BAA+B,SAAQ,QAAQ;gBACjC,IAAI,EAAE,IAAI;IAIhB,OAAO,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAK3C,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IASlD,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAKvB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAItD,wBAAwB,CAAC,YAAY,EAAE,MAAM,EAAE,KAA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,CAAC;IAW3E,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAW7E,2BAA2B,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAa/E,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAc1D,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQxD,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAYjC,aAAa,IAAI,MAAM;IAIvB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAI1C,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAIvD,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAI1D,WAAW,CAAC,QAAQ,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IAIlE,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,WAAW,CAAC;IAMxD,kBAAkB,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,WAAW,CAAC;CAuB3E","sources":["apps/release/pages/WithPage.ts","apps/release/pages/releases/releaseCreatePage.ts","apps/release/pages/ReleasesListPage.ts","apps/release/pages/TriggersPage.ts","apps/release/pages/helper/index.ts","apps/release/pages/common/dateUtil.ts","apps/release/pages/releases/ReleaseVariablesPage.ts","apps/release/pages/task-drawer/taskConfig.ts","apps/release/pages/task-drawer/taskCondition.ts","apps/release/pages/task-drawer/taskOverview.ts","apps/release/pages/task-drawer/taskActivity.ts","apps/release/pages/task-drawer/taskAttachments.ts","apps/release/pages/task-drawer/taskDrawer.ts","apps/release/pages/releases/releaseGanttPage.ts","apps/release/pages/releases/releasePropertiesPage.ts","apps/release/pages/releases/releaseTeamsAndPermissionsPage.ts","apps/release/pages/common/util.ts","apps/release/pages/releases/ReleasePage.ts","apps/release/pages/ApplicationsPage.ts","apps/release/pages/common/dataRandomGenerator.ts","apps/release/pages/folder/folderDeliveryPage.ts","apps/release/pages/folder/folderGroupPage.ts","apps/release/pages/folder/folderPatternPage.ts","apps/release/pages/folder/folderNotificationPage.ts","apps/release/pages/FolderPage.ts","apps/release/pages/globalVariablePage.ts","apps/release/pages/homePage.ts","apps/release/pages/headerPage.ts","apps/release/pages/managePluginsPage.ts","apps/release/pages/PersonalAccessTokenPage.ts","apps/release/pages/personalSettingsPage.ts","apps/release/pages/users/userModal.ts","apps/release/pages/users/usersPage.ts","apps/release/pages/workflowCatalogPage.ts","apps/release/pages/settingsMenu.ts","apps/release/pages/taskDetails.ts","apps/release/pages/ReleaseCalendarPage.ts","apps/release/pages/ReleaseGroupPage.ts","apps/release/pages/ReleaseGroupTimelinePage.ts","apps/release/pages/tasks/taskListPage.ts","apps/release/pages/templates/templatePropertiesPage.ts","apps/release/pages/templates/templateCreatePage.ts","apps/release/pages/templates/templateTriggerPage.ts","apps/release/pages/templates/templateVaraiablePage.ts","apps/release/pages/templates/templatePage.ts","apps/release/pages/templateListPage.ts","apps/release/pages/users/rolesModal.ts","apps/release/pages/users/rolesPage.ts","apps/release/pages/systemSettings/risksProfilePage.ts","apps/release/pages/systemSettingsPage.ts","apps/release/pages/index.ts","apps/release/pages/login-page.ts","apps/release/types/index.ts","apps/release/fixtures/helper.ts","apps/release/fixtures/index.ts","apps/release/index.ts"],"sourcesContent":["import { Page } from '@playwright/test';\n\nexport class WithPage {\n protected readonly page: Page;\n\n constructor(page: Page) {\n this.page = page;\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class ReleaseCreatePage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async setName(releaseName: string): Promise<void> {\n await this.page.locator('#release-form-title').click();\n await this.page.locator('#release-form-title').fill(releaseName);\n }\n\n async setDescription(description: string): Promise<void> {\n await this.page.locator('.release-description').hover();\n await this.page.locator('.display').filter({ hasText: 'Set description' }).locator('.edit-icon').click();\n await this.page.locator('textarea').click();\n await this.page.locator('textarea').clear();\n await this.page.locator('textarea').fill(description);\n await this.page.getByText('Save', { exact: true }).click();\n }\n\n async create(): Promise<void> {\n await this.page.getByRole('button', { name: 'Create' }).waitFor({ state: 'visible' });\n await this.page.getByRole('button', { name: 'Create' }).click();\n }\n\n async expectVariablesCountToBe(count: number): Promise<void> {\n await expect(this.page.locator('.variable-editor .form-group')).toHaveCount(count);\n }\n\n async expectContainingVariable(variableName: string, value: string): Promise<void> {\n expect(await this.page.locator(`#form-${variableName} .text span`).textContent()).toBe(value);\n }\n\n async selectTemplate(templateName: string): Promise<void> {\n await this.page.getByPlaceholder('No template').click();\n await this.page.getByPlaceholder('No template').clear();\n await this.page.getByPlaceholder('No template').fill(templateName);\n await this.page.getByText(templateName).click();\n }\n\n async removeTemplate(): Promise<void> {\n await this.page.locator('.template-select .close-icon').click();\n }\n\n async setValueForVariables(variableName: string, value: string): Promise<void> {\n await this.page.locator(`#form-${variableName} .display`).click();\n await this.page.locator(`input[name=\"${variableName}\"]`).fill(value);\n }\n}\n","import { expect, Page } from '@playwright/test';\nimport { ReleasePage } from './releases/ReleasePage';\nimport { WithPage } from './WithPage';\nimport { ReleaseCreatePage } from './releases/releaseCreatePage';\n\nexport class ReleasesListPage extends WithPage {\n releaseCreatePage: ReleaseCreatePage;\n constructor(page: Page) {\n super(page);\n this.releaseCreatePage = new ReleaseCreatePage(page);\n }\n\n async expectNumberOfReleases(releaseTitle: string, amount: number): Promise<void> {\n await this.filterReleaseByTitle(releaseTitle);\n if (amount === 1) {\n await expect(this.page.locator('.release').getByText(releaseTitle)).toBeVisible({ timeout: 5000 });\n } else {\n await expect(this.page.locator('.release').getByText(releaseTitle).count()).toBe(amount);\n }\n }\n\n async filterReleaseByAllStatus(): Promise<void> {\n await this.page.locator('.ci-status .remaining-tags').getByText('more').click();\n await this.page.locator('.ci-status .xl-react-link').getByText('Select all').click();\n }\n\n async openReleaseByName(releaseTitle: string): Promise<ReleasePage> {\n await this.page.locator('.release-line .row-wrapper .release-title-wrapper a', { hasText: releaseTitle }).click();\n return new ReleasePage(this.page);\n }\n\n async filterReleaseByTitle(releaseTitle: string): Promise<void> {\n await this.page.locator('.toggle-search-filter').click();\n await this.page.locator('.searchFilter').fill(releaseTitle);\n await this.page.locator('.searchFilter').press('Enter');\n await expect(this.page.locator('.release').getByText(releaseTitle)).toBeVisible();\n }\n\n async createNewRelease(releaseName: string, description: string): Promise<void> {\n await this.releaseCreatePage.setName(releaseName);\n await this.releaseCreatePage.setDescription(description);\n await this.releaseCreatePage.create();\n await expect(this.page.getByLabel('breadcrumb').getByText('Flow')).toBeVisible();\n }\n\n async gotoListView(): Promise<void> {\n await this.page.getByRole('tab', { name: 'release icon List' }).click();\n await expect(this.page.locator('.release-list')).toBeVisible();\n }\n\n async gotoCalendarView(): Promise<void> {\n await this.page.getByRole('tab', { name: 'calendar icon Calendar' }).click();\n await expect(this.page.locator('.tl-viewport')).toBeVisible();\n }\n}\n","import { expect } from '@playwright/test';\nimport { ReleasesListPage } from './ReleasesListPage';\nimport { WithPage } from './WithPage';\n\nexport class TriggersPage extends WithPage {\n async openRelatedReleasesOf(title: string): Promise<ReleasesListPage> {\n await this.openContextMenu(title);\n await this.page.locator('.popover-content xlr-context-menu a', { hasText: 'View releases' }).click();\n return new ReleasesListPage(this.page);\n }\n\n private async openContextMenu(title: string): Promise<void> {\n await expect(async () => {\n await this.page.locator('.trigger-row-content', { hasText: title }).locator('.context-menu-button').click();\n await expect(this.page.locator('.popover-content')).toBeVisible();\n }).toPass();\n }\n}\n","import { Locator } from '@playwright/test';\n\ntype WaitForRes = [locatorIndex: number, locator: Locator];\nexport async function waitForOneOf(locators: Locator[]): Promise<WaitForRes> {\n const res = await Promise.all([\n ...locators.map(async (locator, index): Promise<WaitForRes> => {\n let timedOut = false;\n await locator.waitFor({ state: 'visible', timeout: 2000 }).catch(() => (timedOut = true));\n return [timedOut ? -1 : index, locator];\n }),\n ]);\n const resolvedLocator = res.find((r) => r[0] !== -1);\n if (!resolvedLocator) {\n console.warn('waitForOneOf', res);\n throw new Error('no locator visible before timeout');\n }\n return resolvedLocator;\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport moment from 'moment';\n\nexport class DateUtil extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async openDatePicker(selector: string): Promise<void> {\n await this.page.locator(`${selector} .date`).click();\n }\n\n /**\n * Setting date, month and year from calendar picker\n */\n async setDate(date?: string, monthYear?: string): Promise<void> {\n const prev = this.page.locator('.datepicker-days .prev');\n const next = this.page.locator('.datepicker-days .next');\n const monYear = this.page.locator('.datepicker-days .datepicker-switch');\n\n const currentYear = await monYear.textContent();\n const thisMonth = moment(monthYear, 'MMMM YYYY').isBefore(currentYear);\n while ((await monYear.textContent()) != monthYear) {\n if (thisMonth) {\n await prev.click();\n } else {\n await next.click();\n }\n }\n await this.page\n .getByRole('cell', { name: '' + date + '', exact: true })\n .first()\n .click();\n }\n\n async expectDurationToBe(duration: string): Promise<void> {\n expect(await this.page.locator('.duration-editor').textContent()).toBe(duration);\n }\n\n async setDuration(days?: string, hours?: string, mins?: string): Promise<void> {\n if (typeof days !== 'undefined') {\n await this.page.locator('.days').fill(days);\n }\n if (typeof hours !== 'undefined') {\n await this.page.locator('.hours').fill(hours);\n }\n if (typeof mins !== 'undefined') {\n await this.page.locator('.minutes').fill(mins);\n }\n await this.page.keyboard.press('Enter');\n }\n\n async expectTimeToBe(selector: Locator, format: string, date: Date | string): Promise<void> {\n if (typeof date === 'string') {\n date = new Date(date);\n }\n const formattedDate = moment(date).format(format);\n const input = this.page.locator(`${selector}`);\n await expect(input).toBeVisible();\n const value = await input.inputValue();\n expect(value).toBe(formattedDate);\n }\n\n /**\n *\n * @returns Getting current month and year in the format \"MonthName YYYY\"\n */\n async getCurrentMonthYear(): Promise<string> {\n const monthNames = [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n ];\n const d = new Date();\n const month = monthNames[d.getMonth()];\n const year = d.getFullYear();\n return `${month} ${year}`;\n }\n\n /**\n *\n * @returns Getting current date in the format \"dd MonthName YYYY\"\n */\n async getCurrentDate(): Promise<string> {\n const d = new Date();\n const date = d.getDate();\n const monthYear = await this.getCurrentMonthYear();\n return `${date} ${monthYear}`;\n }\n\n /**\n *\n * @param days Number of days to add to current date within the current month\n * @returns\n */\n async getFutureDate(days: number): Promise<string> {\n const d = new Date();\n d.setDate(d.getDate() + days);\n const date = d.getDate();\n const monthYear = await this.getCurrentMonthYear();\n return `${date} ${monthYear}`;\n }\n\n async removeDate(selector: Locator): Promise<void> {\n return await selector.locator(`.remove`).click();\n }\n async expectDateNotDeletable(selector: Locator): Promise<void> {\n await expect(selector.locator(`.remove`)).not.toBeVisible();\n }\n\n async expectDateToBe(selector: Locator, date: Date | string): Promise<void> {\n return await this.expectInputContainingDate(selector, date);\n }\n\n async expectDateToBeInferred(selector: Locator): Promise<void> {\n await expect(selector.locator(`input.light-text`).first()).toBeVisible();\n }\n\n async expectNoDate(selector: Locator): Promise<void> {\n expect(selector.locator(`.date-placeholder`)).toBeVisible();\n }\n\n async expectInputContainingDate(inputLocator: Locator, date: Date | string): Promise<void> {\n await expect(inputLocator).toBeVisible();\n\n const attribute = await inputLocator.getAttribute('value');\n\n expect(attribute).toContain(date);\n }\n}\n","import { expect, Locator, Page } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { waitForOneOf } from '../helper';\nimport { DateUtil } from '../common/dateUtil';\n\ntype ExpectWithLocator = (l: Locator) => void;\n\nexport class ReleaseVariablesPage extends WithPage {\n addListValue: Locator;\n addVariableValue: Locator;\n listAddButton: Locator;\n dateUtil: DateUtil;\n constructor(page: Page) {\n super(page);\n this.addListValue = this.page.locator('.variable-selector .xl-components-input-full input');\n this.addVariableValue = this.page.locator('.variable-value .xl-components-input-full input');\n this.dateUtil = new DateUtil(page);\n this.listAddButton = this.page.getByRole('button', { name: 'Add' });\n }\n\n async openVariable(variableKey: string): Promise<ReleaseVariableModal> {\n await this.page.locator(`.variables-list .variable`).getByText(variableKey).click();\n return new ReleaseVariableModal(this.page);\n }\n\n async addNewVariable(variableName: string, labelname: string, description?: string): Promise<void> {\n await this.page.locator('#action-toolbar').getByTestId('dot-button').click();\n await this.page.fill(`[name=\"fieldKey\"]`, variableName);\n await this.page.locator('.variable-label input').fill(labelname);\n if (description) await this.page.locator('.variable-description input').fill(description);\n }\n\n async selectVariableTextType(valuename: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('StringVariable');\n await this.page.locator('.variable-value').type(valuename);\n }\n\n async selectVariableListboxType(\n possiblevalue: Array<string> | string,\n defaultValue: string,\n required?: boolean,\n ): Promise<void> {\n await this.page.getByRole('combobox').selectOption('DropDownListBox');\n if (possiblevalue instanceof Array) {\n for (const value of possiblevalue) {\n await this.addListValue.fill(value);\n await this.listAddButton.click();\n }\n } else {\n await this.addListValue.fill(possiblevalue);\n await this.listAddButton.click();\n }\n await this.page.locator('.variable-value select').type(defaultValue);\n if (required) {\n await this.page.getByRole('checkbox').check();\n } else {\n await this.page.getByRole('checkbox').uncheck();\n }\n }\n\n async selectVariablePasswordType(possiblevalue: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('PasswordStringVariable');\n await this.page.locator('input[type=\"password\"]').type(possiblevalue);\n }\n\n async selectVariableCheckboxType(): Promise<void> {\n await this.page.getByRole('combobox').selectOption('BooleanVariable');\n await this.page.getByRole('checkbox').check();\n }\n\n async selectVariableNumberType(possiblevalue: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('IntegerVariable');\n await this.page.locator('input[ng-model=\"var.value\"]').fill(possiblevalue);\n }\n\n async selectVariableMultiListType(possiblevalue1: string, possiblevalue2: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('MultiSelectListBox');\n await this.addListValue.fill(possiblevalue1);\n await this.listAddButton.click();\n await this.addListValue.fill(possiblevalue2);\n await this.listAddButton.click();\n await this.page.locator('.react-tagsinput').click();\n await this.page.getByText('Select all', { exact: true }).click();\n }\n\n async addVariableDate(): Promise<void> {\n await this.page.getByRole('combobox').selectOption('DateVariable');\n await this.page.getByText('Select date').click();\n }\n\n async setDate(date?: string, monthYear?: string): Promise<void> {\n await this.dateUtil.setDate(date, monthYear);\n }\n\n async addVariableKeyValueMap(keys1: string, values1: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('MapStringStringVariable');\n await this.page.getByPlaceholder('key').fill(keys1);\n await this.page.getByPlaceholder('Value').fill(values1);\n await this.listAddButton.click();\n await this.page.locator('.xl-map-string-string-div-buttons .search-icon').click();\n await this.page.getByRole('row', { name: 'Search' }).getByRole('textbox').fill(keys1);\n const detail = await this.page.locator('table.table-condensed span').allInnerTexts();\n expect(detail[0]).toEqual(keys1);\n expect(detail[1]).toEqual(values1);\n }\n\n async addVariableSet(possiblevalue1: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('SetStringVariable');\n await this.page.locator('.dip-input input').fill(possiblevalue1);\n await this.listAddButton.click();\n }\n\n async submitTheVariable(): Promise<void> {\n const createButton = this.page.locator('.modal-footer .save');\n await expect(createButton).toBeEnabled();\n await createButton.scrollIntoViewIfNeeded();\n await createButton.click();\n // Expect is needed here to avoid flackiness on clicking create button\n await expect(createButton).not.toBeVisible();\n }\n\n async expectVariableWithNameValueAndType(name: string, value: string, type: string): Promise<void> {\n const rowLocator = await this.page.locator('.variable .data-row').allTextContents();\n expect(rowLocator.toString()).toContain(name);\n expect(rowLocator.toString()).toContain(value);\n expect(rowLocator.toString()).toContain(type);\n }\n\n async clickEditVariable(variableName: string): Promise<ReleaseVariableModal> {\n await this.page.locator(\"[id='variables-filter']\").fill(variableName);\n await this.page.getByText('Edit').first().click();\n return new ReleaseVariableModal(this.page);\n }\n\n async clickDeleteVariable(variableName: string): Promise<DeleteVariableModel> {\n await this.page.locator(\"[id='variables-filter']\").fill(variableName);\n await this.page.locator('.action .delete-icon').first().click();\n return new DeleteVariableModel(this.page);\n }\n\n async expectVariablesCountToBe(count: number): Promise<void> {\n await expect(this.page.locator('.variable .data-row')).toHaveCount(count);\n }\n\n async expectVariableNotPresent(variableName: string): Promise<void> {\n await expect(this.page.locator('.variable').filter({ hasText: variableName })).not.toBeVisible();\n }\n\n async clearSearch(): Promise<void> {\n await this.page.locator(\"[id='variables-filter']\").clear();\n }\n\n async switchPossibleValuesToVariable(variableName: string): Promise<void> {\n await this.page.locator('.variable-toggle button').click();\n await this.page.locator('.ui-autocomplete-input').fill(variableName);\n await this.page\n .locator('.ui-menu-item-wrapper')\n .filter({ hasText: `${variableName}` })\n .click();\n }\n\n async selectVariableListboxTypeWithVariable(\n variableName: string,\n defaultValue: string,\n required?: boolean,\n ): Promise<void> {\n await this.page.getByRole('combobox').selectOption('DropDownListBox');\n await this.page.locator('.variable-toggle button').click();\n await this.page.locator('.ui-autocomplete-input').fill(variableName);\n await this.page\n .locator('.ui-menu-item-wrapper')\n .filter({ hasText: `${variableName}` })\n .click();\n await this.page.locator('.variable-value select').type(defaultValue);\n if (required) {\n await this.page.getByRole('checkbox').check();\n } else {\n await this.page.getByRole('checkbox').uncheck();\n }\n }\n}\n\nclass ReleaseVariableModal extends WithPage {\n dateUtil: DateUtil;\n constructor(page: Page) {\n super(page);\n this.dateUtil = new DateUtil(page);\n }\n private async expectValue(locators: Locator[], expectFn: ExpectWithLocator[]): Promise<void> {\n const [index, locator] = await waitForOneOf(locators);\n expectFn[index](locator);\n }\n\n async expectValueToBe(value: string): Promise<void> {\n await this.expectValue(\n [\n this.page.locator('#modal .variable-value input'),\n this.page.locator('#modal .variable-value .field-readonly'),\n this.page.locator('#modal .variable-value .xl-map-string-string'),\n this.page.locator('#modal .variable-value .xl-list-display-mode .text-container'),\n ],\n [\n (l) => expect(l).toHaveValue(value),\n (l) => expect(l).toHaveText(value),\n (l) => expect(l).toHaveText(value),\n (l) => expect(l).toHaveText(value),\n ],\n );\n }\n\n async expectValueToContain(value: string): Promise<void> {\n await this.expectValue(\n [\n this.page.locator('#modal .variable-value input'),\n this.page.locator('#modal .variable-value .field-readonly'),\n this.page.locator('#modal .variable-value .xl-map-string-string'),\n this.page.locator('#modal .variable-value .xl-list-display-mode'),\n ],\n [\n (l) => expect(l.inputValue()).toContain(value),\n (l) => expect(l).toContainText(value),\n (l) => expect(l).toContainText(value),\n (l) => expect(l).toContainText(value),\n ],\n );\n }\n\n async close(): Promise<void> {\n await this.page.locator('#modal .modal-header button.close').click();\n }\n\n async expectPossibleValues(possiblevalue: Array<string> | string): Promise<void> {\n const listLocator = await this.page.locator('.editor .xl-list-row').allInnerTexts();\n if (possiblevalue instanceof Array) {\n for (const value of possiblevalue) {\n expect(listLocator).toContain(value);\n }\n } else {\n expect(listLocator).toContain(possiblevalue);\n }\n }\n\n async expectPossibleVariableValues(possiblevariablevalue: string): Promise<void> {\n await expect(this.page.locator('.variable-dropdown input')).toHaveValue(possiblevariablevalue);\n }\n\n async addPossibleValue(value: Array<string> | string): Promise<void> {\n if (value instanceof Array) {\n for (const li of value) {\n await this.page.locator('.xl-components-input-full input').fill(li);\n await this.page.getByRole('button', { name: 'Add' }).click();\n }\n } else {\n await this.page.locator('.xl-components-input-full input').fill(value);\n await this.page.getByRole('button', { name: 'Add' }).click();\n }\n }\n\n async selectVariableValue(defaultValue: string): Promise<void> {\n await this.page.locator('.variable-value select').selectOption(defaultValue);\n }\n\n async save(): Promise<void> {\n const saveButton = this.page.locator('#modal .modal-footer .save');\n await saveButton.scrollIntoViewIfNeeded();\n await saveButton.click({ delay: 2000 });\n // Expect is needed here to avoid flackiness on clicking save button on modal window\n await expect(saveButton).not.toBeVisible();\n }\n\n async createPossibleValuesVariable(variableName: string): Promise<void> {\n await this.page.locator('.variable-toggle button').click();\n await this.page.locator('.ui-autocomplete-input').fill(variableName);\n await this.page\n .locator('.ui-menu-item-wrapper')\n .filter({ hasText: `${variableName}` })\n .click();\n }\n\n async expectVariableValueToBe(value: string): Promise<void> {\n expect(await this.page.locator('.variable-value select option[selected=\"selected\"]').textContent()).toBe(value);\n }\n\n async expectNoVariablesInList(): Promise<void> {\n await expect(this.page.getByText('No variables defined.')).toBeVisible();\n }\n\n async expectNameInput(value: string): Promise<void> {\n await expect(this.page.locator(`#modal .variable-name input`)).toHaveValue(value);\n }\n\n async expectLabel(value: string): Promise<void> {\n await expect(this.page.locator('#modal .variable-label input')).toHaveValue(value);\n }\n\n async expectRequired(value: boolean): Promise<void> {\n if (value == true) await expect(this.page.locator('.form-group input[ng-model=\"var.requiresValue\"]')).toBeChecked();\n else await expect(this.page.locator('.form-group input[ng-model=\"var.requiresValue\"]')).not.toBeChecked();\n }\n\n async setDescription(description: string): Promise<void> {\n await this.page.locator('.variable-description input').click();\n await this.page.locator('.variable-description input').clear();\n await this.page.locator('.variable-description input').fill(description);\n }\n\n async setLabel(labelValue: string): Promise<void> {\n await this.page.locator('.variable-label input').fill(labelValue);\n }\n\n async setDate(date: string, monthYear: string): Promise<void> {\n await this.page.locator('#modal .date').click();\n await this.dateUtil.setDate(date, monthYear);\n }\n\n async setValue(value: string): Promise<void> {\n await this.page.locator('.variable-value input').fill(value);\n }\n}\nclass DeleteVariableModel extends WithPage {\n model: ReleaseVariableModal;\n dateUtil: DateUtil;\n constructor(page: Page) {\n super(page);\n this.model = new ReleaseVariableModal(page);\n this.dateUtil = new DateUtil(page);\n }\n async deleteVariable(): Promise<void> {\n await expect(this.page.getByRole('heading', { name: 'Replace and delete' })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n }\n\n async replaceItWithVariable(variable: string): Promise<void> {\n await this.model.createPossibleValuesVariable(variable);\n }\n\n async replaceItwithValue(value: string): Promise<void> {\n await this.page.locator('.display').click();\n await this.page.getByLabel('*').fill(value);\n }\n\n async clickReplaceAndDelete(): Promise<void> {\n await this.page.getByRole('button', { name: 'Replace and delete' }).click();\n }\n\n async addValue(value: string): Promise<void> {\n await this.page.locator('.xl-components-input-full input').fill(value);\n await this.page.getByRole('button', { name: 'Add' }).click();\n }\n\n async remove(value: string): Promise<void> {\n await this.page.locator('li').filter({ hasText: value }).locator('i.close-icon').click();\n }\n\n async expectReplacementPromptDisplayed(): Promise<void> {\n await expect(this.page.getByRole('heading', { name: 'Replace and delete' })).toBeVisible();\n }\n\n async close(): Promise<void> {\n await this.page.locator('#modal .modal-header button.close').click();\n }\n\n async removeItemOnSet(value: string): Promise<void> {\n await this.page.locator('tr').filter({ hasText: value }).locator('i.close-icon').click();\n }\n\n async addValueForSet(key: string, value: string): Promise<void> {\n await this.page.locator('.input-key').fill(key);\n await this.page.locator('.input-value').fill(value);\n }\n\n async replaceWithIntegerValue(value: string): Promise<void> {\n await this.page.locator('.editable').fill(value);\n }\n\n async replaceForBooleanValue(): Promise<void> {\n await this.page.locator('.editor input').click();\n }\n\n async deleteBySettingDate(date: string, monthYear: string): Promise<void> {\n await this.page.locator('#modal .date').click();\n await this.dateUtil.setDate(date, monthYear);\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class ConfigRail extends WithPage {\n railLocator: Locator;\n\n constructor(page: Page) {\n super(page);\n this.railLocator = this.page.locator('task-drawer .dot-drawer .task-config');\n }\n\n async openInputProperties(): Promise<void> {\n await this.railLocator.locator('.task-config-header').getByText('Input properties').click();\n }\n\n async openOutputProperties(): Promise<void> {\n await this.railLocator.locator('.task-config-header').getByText('Output properties').click();\n }\n\n async getValueFromCi(propertyName: string): Promise<string> {\n return this.railLocator.locator(`input[id=\"${propertyName}\"]`).inputValue();\n }\n\n async getAllOptionsFromCi(propertyName: string): Promise<string[]> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).click();\n return this.railLocator.locator(`.dot-popper ul li`).allInnerTexts();\n }\n\n async setValueFromCi(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).clear();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).click();\n await this.railLocator.locator(`.dot-popper ul li`, { hasText: value }).click();\n }\n\n async getValueFromString(propertyName: string): Promise<string | null> {\n await this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`).focus();\n return this.railLocator.locator(`input[id=\"${propertyName}\"]`).inputValue();\n }\n\n async setValueFromString(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`).focus();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).fill(value);\n }\n\n async setValueFromLargeString(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`).focus();\n await this.railLocator.locator(`textarea[id=\"${propertyName}\"]`).fill(value);\n }\n\n async setValueFromPassword(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).fill(value);\n }\n\n async setAndCreateVariable(propertyName: string, variableName: string): Promise<void> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).clear();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).click();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).fill(variableName);\n await this.railLocator.locator(`.dot-popper button`, { hasText: variableName }).click();\n }\n\n async setVariable(propertyName: string, variableName: string): Promise<void> {\n return this.setValueFromCi(propertyName, variableName);\n }\n\n async expectValueFromString(propertyName: string, propertyValue: string): Promise<void> {\n return await expect(this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`)).toHaveText(\n propertyValue,\n );\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class ConditionRail extends WithPage {\n railLocator: Locator;\n preconditionToggle: Locator;\n textEditor: Locator;\n saveButton: Locator;\n\n constructor(page: Page) {\n super(page);\n this.railLocator = this.page.locator('task-drawer .dot-drawer .task-conditions');\n this.preconditionToggle = page.getByLabel('Enable precondition');\n this.textEditor = page.getByRole('textbox');\n this.saveButton = page.getByTestId('save-btn');\n }\n\n async enablePrecondition(): Promise<void> {\n expect(await this.preconditionToggle.isChecked()).toBe(false);\n await this.preconditionToggle.check();\n }\n\n async disablePrecondition(): Promise<void> {\n expect(await this.preconditionToggle.isChecked()).toBe(true);\n await this.preconditionToggle.uncheck();\n }\n\n async setPrecondition(script: string): Promise<void> {\n await this.enablePrecondition();\n await this.textEditor.fill(script);\n await this.saveButton.dblclick();\n await this.page.waitForTimeout(1000);\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class OverviewRail extends WithPage {\n railLocator: Locator;\n dependency: Dependency;\n constructor(page: Page) {\n super(page);\n this.railLocator = this.page.locator('task-drawer .dot-drawer .task-drawer-content');\n this.dependency = new Dependency(page);\n }\n\n async openInputProperties(): Promise<void> {\n await this.railLocator.locator('.task-config-header').getByText('Input properties').click();\n }\n\n async openOutputProperties(): Promise<void> {\n await this.railLocator.locator('.task-config-header').getByText('Output properties').click();\n }\n\n async getValueFromCi(propertyName: string): Promise<string> {\n return this.railLocator.locator(`input[id=\"${propertyName}\"]`).inputValue();\n }\n\n async getAllOptionsFromCi(propertyName: string): Promise<string[]> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).click();\n return this.railLocator.locator(`.dot-popper ul li`).allInnerTexts();\n }\n\n async setValueFromCi(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).clear();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).click();\n await this.railLocator.locator(`.dot-popper ul li`, { hasText: value }).click();\n }\n\n async getValueFromString(propertyName: string): Promise<string | null> {\n await this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`).focus();\n return this.railLocator.locator(`input[id=\"${propertyName}\"]`).inputValue();\n }\n\n async setValueFromString(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`).focus();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).fill(value);\n }\n\n async setValueFromLargeString(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`).focus();\n await this.railLocator.locator(`textarea[id=\"${propertyName}\"]`).fill(value);\n }\n\n async setValueFromPassword(propertyName: string, value: string): Promise<void> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).fill(value);\n }\n\n async setAndCreateVariable(propertyName: string, variableName: string): Promise<void> {\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).clear();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).click();\n await this.railLocator.locator(`input[id=\"${propertyName}\"]`).fill(variableName);\n await this.railLocator.locator(`.dot-popper button`, { hasText: variableName }).click();\n }\n\n async setVariable(propertyName: string, variableName: string): Promise<void> {\n return this.setValueFromCi(propertyName, variableName);\n }\n\n async expectValueFromString(propertyName: string, propertyValue: string): Promise<void> {\n return await expect(this.railLocator.locator(`.input-scalar-fake-input[id=\"${propertyName}\"]`)).toHaveText(\n propertyValue,\n );\n }\n\n async setValueFromMap(propertyName: string, key: string, value: string): Promise<void> {\n await this.railLocator.locator(`.input-with-map[data-test-id=\"${propertyName}\"] button.add-new-button`).click();\n await this.railLocator\n .locator(`.input-with-map[data-test-id=\"${propertyName}\"] input[id=\"new-row-key-input\"]`)\n .fill(key);\n await this.railLocator\n .locator(`.input-with-map[data-test-id=\"${propertyName}\"] input[id=\"new-row-value-input\"]`)\n .fill(value);\n await this.railLocator\n .locator(`.input-with-map[data-test-id=\"${propertyName}\"] button.map-row-save-button`)\n .click();\n }\n\n async setScript(script: string): Promise<void> {\n await this.page.locator('.code-editor textarea.ace_text-input').clear();\n await this.page.locator('.code-editor textarea.ace_text-input').fill(script);\n await this.page.locator('.code-editor .header button:has-text(\"Save\")').click();\n }\n\n async expectScriptToContain(script: string): Promise<void> {\n await expect(this.page.locator('.code-editor .ace_content')).toContainText(script);\n }\n\n async enterScriptForAutoComplete(script: string): Promise<void> {\n await this.page.locator('.code-editor textarea.ace_text-input').clear();\n await this.page.locator('.code-editor textarea.ace_text-input').fill(script);\n await this.page.locator('.code-editor textarea.ace_text-input').press('.');\n }\n\n async openScriptEditorInSeparateWindow(): Promise<void> {\n await this.page.getByTestId('fullscreen-enter-btn').click();\n expect(this.page.locator('#dialogTitle')).toBeVisible();\n }\n\n async closeFullscreenScriptWindowWithESC(): Promise<void> {\n await this.page.locator('#dialogTitle').press('Escape');\n expect(this.page.locator('#dialogTitle')).not.toBeVisible();\n }\n\n async closeFullscreenScriptWindow(): Promise<void> {\n await this.page.getByTestId('fullscreen-exit-btn').click();\n expect(this.page.locator('#dialogTitle')).not.toBeVisible();\n }\n\n async abort(comment: string): Promise<void> {\n await this.page.getByTestId('single-action-button').click();\n await this.page.getByTestId('task-action-comment').click();\n await this.page.getByTestId('task-action-comment').fill(comment);\n await this.page.getByTestId('dot-button').click();\n }\n\n async expectDependenciesDisplayed(dependencies: any[]): Promise<void> {\n await this.railLocator.locator('.gate-task-dependencies').waitFor();\n for (let i = 0; i < dependencies.length; i++) {\n await expect(this.page.locator('.dependency').filter({ hasText: dependencies[i] })).toBeVisible();\n }\n }\n\n async expectCanDeleteDependency(title: string, canDelete = true): Promise<void> {\n const depOptionsIcon = this.page\n .locator('.dependency')\n .filter({ has: this.page.getByRole('link', { name: title, exact: true }) })\n .locator('.icon-options');\n if (canDelete) {\n await depOptionsIcon.isVisible();\n await depOptionsIcon.click();\n await expect(this.railLocator.getByRole('menuitem', { name: 'Remove' })).toBeVisible();\n } else {\n await expect(depOptionsIcon).not.toBeVisible();\n }\n }\n\n async getDependencyCount(): Promise<number> {\n await expect(this.railLocator.locator('.gate-task-dependencies')).toBeVisible();\n const count = await this.railLocator.locator('.gate-task-dependencies .dependency').count();\n return count;\n }\n\n async addDependency(): Promise<void> {\n await expect(this.railLocator.locator('.add-dependency-btn')).toBeVisible();\n await this.railLocator.locator('.add-dependency-btn').click();\n }\n\n async expectDependencyText(dependencies: string): Promise<void> {\n await expect(this.railLocator.locator('.gate-task-dependencies')).toBeVisible();\n await expect(this.page.locator(`.gate-task-dependencies`).getByLabel(dependencies).first()).toBeVisible();\n }\n\n async clickEditDependency(dependencies: string): Promise<void> {\n const depOptionsIcon = this.page\n .locator('.dependency')\n .filter({ has: this.page.getByLabel(dependencies) })\n .first()\n .locator('.actions');\n await depOptionsIcon.isVisible();\n await depOptionsIcon.click();\n const frame = this.page.getByTestId('undefined-menu');\n if (await frame.isVisible()) {\n await this.railLocator.getByRole('menuitem', { name: 'Edit' }).click();\n } else {\n await depOptionsIcon.click();\n await this.railLocator.getByRole('menuitem', { name: 'Edit' }).click();\n }\n }\n async validateAutoCompleteOptions(\n descriptionName: string,\n expectedDescription: string,\n variableSelection: string,\n ): Promise<void> {\n await this.page.getByLabel('Double-click to edit').waitFor({ timeout: 10000 });\n await this.page.getByLabel('Double-click to edit').hover();\n await this.page.locator('.markdown-viewer-actions').getByTestId('edit-button').click();\n await this.page.locator('#task-description-input').fill(descriptionName);\n await expect(this.page.locator('.dot-popper-content-wrapper .option-name')).toHaveCount(6);\n await this.page.locator('.dot-popper-content-wrapper .option-name').filter({ hasText: variableSelection }).click();\n await this.page.getByRole('button', { name: 'Save' }).click();\n await expect(this.page.locator('.phase-link-container').locator('.variable').first()).toHaveText(\n expectedDescription,\n );\n }\n}\n\nexport class Dependency extends WithPage {\n private readonly dependencyLocator: Locator;\n private release: Locator;\n private phase: Locator;\n private task: Locator;\n\n constructor(page: Page) {\n super(page);\n this.dependencyLocator = page.locator('.gate-task-dependencies .dependency-selector-component');\n this.release = this.dependencyLocator.locator('#release-dependency');\n this.phase = this.dependencyLocator.locator('#phase-dependency');\n this.task = this.dependencyLocator.locator('#task-dependency');\n }\n\n async getRelease(): Promise<string | null> {\n await this.release.isVisible();\n const releaseValue = await this.release.getAttribute('value');\n return releaseValue;\n }\n\n async getPhase(): Promise<string | null> {\n await this.phase.isVisible();\n const phaseValue = await this.phase.getAttribute('value');\n return phaseValue;\n }\n\n async getTask(): Promise<string | null> {\n await this.task.isVisible();\n const taskValue = await this.task.getAttribute('value');\n return taskValue;\n }\n\n async setRelease(releaseTitle: string): Promise<void> {\n await this.release.click();\n await this.release.fill(releaseTitle);\n await this.page.getByRole('option', { name: releaseTitle }).waitFor();\n await this.page.getByRole('option', { name: releaseTitle }).click();\n }\n\n async save(): Promise<void> {\n await expect(this.dependencyLocator.getByTestId('save-button')).toBeVisible();\n await this.dependencyLocator.getByTestId('save-button').click();\n }\n\n async setPhase(phaseTitle: string): Promise<void> {\n await this.phase.click();\n await this.phase.fill('');\n const count = await this.page.getByRole('option', { name: phaseTitle }).count();\n if (count > 0) {\n await this.page.getByRole('option', { name: phaseTitle }).click();\n } else {\n await this.page.locator('.phase-dependency').getByLabel('Open').click();\n await this.page.getByRole('option', { name: phaseTitle }).click();\n }\n }\n\n async setTask(taskTitle: string): Promise<void> {\n await this.task.click();\n await this.task.fill('');\n await this.page.getByRole('option', { name: taskTitle }).click();\n }\n\n async clearPhase(): Promise<void> {\n await this.phase.clear();\n }\n\n async expectVariableModeEnabled(mode: boolean): Promise<void> {\n await expect(this.dependencyLocator.getByLabel('input-variable')).toBeVisible();\n const variablemode = await this.dependencyLocator.getByLabel('input-variable').getAttribute('aria-pressed');\n expect(variablemode).toBe('' + mode + '');\n }\n\n async clickVariable(): Promise<void> {\n await this.dependencyLocator.getByLabel('input-variable').waitFor();\n await this.dependencyLocator.getByLabel('input-variable').click();\n }\n\n //TODO: getAttribute('value') is not working as expected. Need to be fixed with better alternative.\n async expectMinimumOptions(options: any[]): Promise<void> {\n await this.dependencyLocator.getByPlaceholder('Please select a variable of').click();\n for (let i = 0; i < options.length; i++) {\n const option = await this.dependencyLocator.locator('#mui-30-option-' + i).getAttribute('value');\n expect(options[i]).toContain(option);\n }\n }\n\n async enterNewVariable(variablename: string): Promise<void> {\n await this.page.getByLabel('Please select a variable of').click();\n await this.page.getByLabel('Please select a variable of').fill(variablename);\n await this.page.getByTestId('dot-action-item-btn').click();\n }\n\n async selectVariable(variablename: string): Promise<void> {\n await this.page.getByLabel('Please select a variable of').click();\n await this.page.getByRole('option', { name: variablename }).click();\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class ActivityRail extends WithPage {\n async expectCommentToContain(text: string): Promise<void> {\n await expect(this.page.locator('.task-comment .markdown-wrapper p')).toContainText(text);\n }\n\n async expectTaskIsCommentable(isCommentable: boolean): Promise<void> {\n expect(await this.page.locator('#task-comment').count()).toBe(isCommentable ? 1 : 0);\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class AttachmentRail extends WithPage {\n async expectWithAttachment(filename: string): Promise<void> {\n const test = this.page.locator('.task-attachments-grid .file-item-text');\n await test.isVisible();\n await expect(test).toContainText(filename);\n }\n\n async getAttachmentsListCount(): Promise<number> {\n return await this.page.locator('.file-upload-list div').count();\n }\n\n async uploadFile(filePath: string): Promise<void> {\n const fileChooserPromise = this.page.waitForEvent('filechooser');\n await this.page.getByRole('button', { name: 'Select file(s)' }).click();\n const fileChooser = await fileChooserPromise;\n await fileChooser.setFiles(filePath);\n }\n\n async downloadFile(filename: string): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n this.page.on('download', () => {});\n const downloadPromise = this.page.waitForEvent('download');\n await this.page\n .locator('li')\n .filter({ hasText: '' + filename + '' })\n .click();\n await downloadPromise;\n }\n\n async deleteAttachment(fileName: string): Promise<void> {\n await this.page.locator('li').filter({ hasText: fileName }).click();\n await this.page.getByLabel('delete file').click();\n await this.page.getByRole('button', { name: 'Delete' }).waitFor({ state: 'visible' });\n await this.page.getByRole('button', { name: 'Delete' }).click();\n }\n\n async expectWithNoAttachment(tempFile: string): Promise<void> {\n const test = await this.page.locator('.task-attachments-grid .file-item-text').count();\n if (test > 0) {\n await expect(this.page.locator('.task-attachments-grid .file-item-text')).not.toContainText(tempFile);\n } else {\n await expect(this.page.locator('.task-attachments-grid .file-item-text')).not.toBeVisible();\n }\n }\n}\n","import { ConfigRail } from './taskConfig';\nimport { WithPage } from '../WithPage';\nimport { Locator, Page } from '@playwright/test';\nimport { ConditionRail } from './taskCondition';\nimport { OverviewRail } from './taskOverview';\nimport { ActivityRail } from './taskActivity';\nimport { AttachmentRail } from './taskAttachments';\nimport { expect } from '@playwright/test';\n\ntype Rail = 'Overview' | 'Activity' | 'Config' | 'Scheduling' | 'Conditions' | 'Attributes' | 'Attach' | 'Tags';\n\nexport class TaskDrawer extends WithPage {\n activity: ActivityRail;\n attachment: AttachmentRail;\n config: ConfigRail;\n condition: ConditionRail;\n taskDrawerLocator: Locator;\n retryButton: Locator;\n cancelButton: Locator;\n commentBox: Locator;\n confirm: Locator;\n overview: OverviewRail;\n skipMenu: Locator;\n failMenu: Locator;\n openMenu: Locator;\n completeButton: Locator;\n\n constructor(page: Page) {\n super(page);\n this.taskDrawerLocator = this.page.locator('task-drawer .dot-drawer');\n this.retryButton = this.page.getByRole('button', { name: 'Retry' });\n this.cancelButton = this.page.getByTestId('task-action-cancel');\n this.commentBox = this.page.getByTestId('task-action-comment');\n this.confirm = this.page.locator('.popper-action-buttons').getByTestId('dot-button');\n this.activity = new ActivityRail(page);\n this.attachment = new AttachmentRail(page);\n this.config = new ConfigRail(page);\n this.condition = new ConditionRail(page);\n this.overview = new OverviewRail(page);\n this.skipMenu = this.page.getByRole('menuitem', { name: 'Skip' });\n this.failMenu = this.page.getByRole('menuitem', { name: 'Fail' });\n this.openMenu = this.page.getByRole('button', { name: 'arrow-down icon', exact: true });\n this.completeButton = this.page.getByRole('button', { name: 'Complete' });\n }\n\n async openOverviewRail(): Promise<void> {\n await this.openRail('Overview');\n }\n\n async openActivityRail(): Promise<void> {\n await this.openRail('Activity');\n }\n\n async openSchedulingRail(): Promise<void> {\n await this.openRail('Scheduling');\n }\n\n async openConditionRail(): Promise<void> {\n await this.openRail('Conditions');\n }\n\n async openAttributesRail(): Promise<void> {\n await this.openRail('Attributes');\n }\n\n async openAttachRail(): Promise<void> {\n await this.openRail('Attach');\n }\n\n async openTagsRail(): Promise<void> {\n await this.openRail('Tags');\n }\n\n async openRail(rail: Rail): Promise<void> {\n await this.taskDrawerLocator.locator('.task-navigation-rail').getByText(rail).click();\n }\n\n async close(): Promise<void> {\n await this.taskDrawerLocator.locator('.task-drawer-header').getByTestId('close-btn').click();\n }\n\n async retryTask(comment: string): Promise<void> {\n await this.page.waitForTimeout(1000);\n await this.retryButton.click();\n await this.commentBox.fill(comment);\n await this.page.getByTestId('popper-test-id-content-wrapper').getByTestId('dot-button').click();\n }\n\n async skipTask(comment: string): Promise<void> {\n await this.openMenu.click();\n await this.skipMenu.click();\n await this.commentBox.fill(comment);\n await this.confirm.click();\n }\n\n async failTask(comment: string): Promise<void> {\n await this.openMenu.click();\n await this.failMenu.click();\n await this.commentBox.fill(comment);\n await this.confirm.click();\n }\n\n async completeTask(comment: string): Promise<void> {\n await this.completeButton.click();\n await this.commentBox.fill(comment);\n await this.confirm.click();\n }\n\n async expectTaskTitle(taskTitle: string): Promise<void> {\n expect(await this.page.locator('.task-drawer .task-title-input .dot-view-mode-typography').innerText()).toContain(\n taskTitle,\n );\n }\n\n async expectTypeToContain(taskType: string): Promise<void> {\n expect(await this.page.locator('.task-drawer .task-type').innerText()).toContain(taskType);\n }\n\n async clickExpand(): Promise<void> {\n await this.page.getByRole('tooltip', { name: 'Expand' }).getByTestId('expand-btn').click();\n await expect(this.page.getByRole('tooltip', { name: 'Shrink' }).getByTestId('expand-btn')).toBeVisible();\n }\n\n async clickShrink(): Promise<void> {\n await this.page.getByRole('tooltip', { name: 'Shrink' }).getByTestId('expand-btn').click();\n await expect(this.page.getByRole('tooltip', { name: 'Expand' }).getByTestId('expand-btn')).toBeVisible();\n }\n\n async expectAssignedTo(username: string): Promise<void> {\n await expect(this.page.getByRole('button', { name: username })).toBeVisible();\n }\n\n async expectStartNowButtonToBeVisible(): Promise<void> {\n await expect(this.page.getByTestId('single-action-button')).toBeVisible();\n }\n\n async startNow(comment: string): Promise<void> {\n await this.page.getByTestId('single-action-button').click();\n await this.page.getByTestId('task-action-comment').fill(comment);\n await this.page.getByTestId('dot-button').click();\n await expect(this.page.getByTestId('single-action-button')).not.toBeVisible();\n }\n\n async expectCommentsToContain(text: string): Promise<void> {\n await expect(this.page.locator('.task-comment-body .markdown-wrapper p')).toContainText(text);\n }\n\n async switchWaitForScheduledDate(): Promise<void> {\n await this.page.locator('.wait-for-start input').click();\n }\n\n async expectWaitForScheduledDateToBeChecked(): Promise<void> {\n await expect(this.page.locator('.wait-for-start input')).toBeChecked();\n }\n\n async expectWaitForScheduledDateToBeUnchecked(): Promise<void> {\n await expect(this.page.locator('.wait-for-start input')).not.toBeChecked();\n }\n\n // Other locators are flaky and it can be replaced if we get locator change in the frontend\n async clickOnStartDate(): Promise<void> {\n await this.page.getByTestId('month-and-year').first().click();\n }\n\n async removeStartDate(): Promise<void> {\n await this.page.getByRole('button', { name: 'Set by user' }).locator('.MuiChip-deleteIcon').click();\n }\n\n async setStartDate(date: string): Promise<void> {\n await this.clickOnStartDate();\n await this.page.locator('.MuiPickersDay-root', { hasText: date }).click();\n }\n\n async assignToMe(userName: string, existingUsername: string): Promise<void> {\n await this.page.getByRole('button', { name: existingUsername }).click();\n await this.page.getByTestId(`render-option-${userName}`).click();\n }\n\n async setFlag(flagName: string, flagComment: string): Promise<void> {\n await this.page.getByTestId('flag-btn').click();\n await this.page.getByLabel(flagName).click();\n await this.page.getByPlaceholder('Set message').click();\n await this.page.getByPlaceholder('Set message').fill(flagComment);\n await this.page.getByPlaceholder('Set message').press('Enter');\n await expect(this.page.getByRole('button', { name: `flag icon ${flagComment}` })).toBeVisible();\n }\n\n async expectFlaggedWith(flagName: string, flagComment: string): Promise<void> {\n await this.page.getByRole('button', { name: 'flag icon' }).click();\n const regexPattern = new RegExp(`${flagComment}.*${flagName}`, 'i');\n await expect(this.page.getByText(regexPattern)).toBeVisible();\n }\n\n async expectStartDateToBeDisplayed(): Promise<void> {\n await expect(this.page.getByTestId('start-date-title')).toHaveCount(1);\n }\n\n async expectEndDateToBeDisplayed(): Promise<void> {\n await expect(this.page.getByTestId('end-date-title')).toHaveCount(1);\n }\n\n async expectStartDateAndEndDateToBeDisplayed(): Promise<void> {\n await expect(this.page.getByTestId('month-and-year')).toHaveCount(2);\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { DateUtil } from '../common/dateUtil';\n\nexport class ReleaseGanttPage extends WithPage {\n releaseHeader: Locator;\n constructor(page: Page) {\n super(page);\n this.releaseHeader = this.page.locator('.release-header');\n }\n\n async enableShowDates(): Promise<void> {\n await this.page.locator('#toggleIsDatesColumnsShown').check();\n }\n\n async disableShowDates(): Promise<void> {\n await this.page.locator('#toggleIsDatesColumnsShown').uncheck();\n }\n\n async expectPlanningDataColumnsHidden(): Promise<void> {\n expect(\n await this.page.locator(`#gantt .gantt_grid_data .gantt_row`).first().locator(`.gantt_cell`).count(),\n ).toEqual(1);\n }\n\n async expectPlanningDateColumnsShown(): Promise<void> {\n expect(\n await this.page.locator(`#gantt .gantt_grid_data .gantt_row`).first().locator(`.gantt_cell`).count(),\n ).toEqual(4);\n }\n\n getRow(phaseName: string): GanttRow {\n return new GanttRow(this.page, phaseName);\n }\n}\nclass GanttRow extends WithPage {\n private readonly phaseName: Locator;\n dateUtil: DateUtil;\n constructor(page: Page, phaseName: string) {\n super(page);\n this.phaseName = page.locator('.gantt_row').filter({ hasText: phaseName });\n this.dateUtil = new DateUtil(page);\n }\n\n private async getFirstDate(): Promise<Locator> {\n return this.phaseName.locator('.date-editor .date input').first();\n }\n\n private async getLastDate(): Promise<Locator> {\n return this.phaseName.locator('.date-editor .date input').last();\n }\n\n private async getFirstDateEditor(): Promise<Locator> {\n return this.phaseName.locator('.date-editor').first();\n }\n\n private async getLastDateEditor(): Promise<Locator> {\n return this.phaseName.locator('.date-editor').last();\n }\n\n async setStartDate(date?: string, monthYear?: string): Promise<void> {\n await (await this.getFirstDate()).click();\n await this.dateUtil.setDate(date, monthYear);\n }\n\n async setEndDate(date?: string, monthYear?: string): Promise<void> {\n await (await this.getLastDate()).click();\n await this.dateUtil.setDate(date, monthYear);\n }\n\n async expectStartDateToBe(date: Date | string): Promise<void> {\n const dateTimePicker = await this.getFirstDate();\n this.dateUtil.expectDateToBe(dateTimePicker, date);\n }\n\n async expectEndDateToBe(date: Date | string): Promise<void> {\n const dateTimePicker = await this.getLastDate();\n this.dateUtil.expectDateToBe(dateTimePicker, date);\n }\n\n async removeStartDate(): Promise<void> {\n const dateTimePicker = await this.getFirstDateEditor();\n await this.dateUtil.removeDate(dateTimePicker);\n }\n\n async removeEndDate(): Promise<void> {\n const dateTimePicker = await this.getLastDateEditor();\n await this.dateUtil.removeDate(dateTimePicker);\n }\n\n async expectStartDateToBeInferred(): Promise<void> {\n const dateTimePicker = await this.getFirstDateEditor();\n await this.dateUtil.expectDateToBeInferred(dateTimePicker);\n }\n\n async expectEndDateToBeInferred(): Promise<void> {\n const dateTimePicker = await this.getLastDateEditor();\n await this.dateUtil.expectDateToBeInferred(dateTimePicker);\n }\n\n async expectStartDateNotDeletable(): Promise<void> {\n const dateTimePicker = await this.getFirstDate();\n await this.dateUtil.expectDateNotDeletable(dateTimePicker);\n }\n\n async expectEndDateNotDeletable(): Promise<void> {\n const dateTimePicker = await this.getLastDate();\n await this.dateUtil.expectDateNotDeletable(dateTimePicker);\n }\n\n async expectDurationToBe(duration: string): Promise<void> {\n expect(await this.phaseName.locator('.duration-editor').textContent()).toBe(duration);\n }\n\n async clickDuration(): Promise<void> {\n await this.phaseName.locator('.duration-editor').first().click();\n }\n\n async removeDuration(): Promise<void> {\n await this.phaseName.click();\n return await this.phaseName.locator(`.remove-duration`).click();\n }\n\n async expectNoDuration(): Promise<void> {\n expect(await this.phaseName.locator('.duration-editor').textContent()).toContain('');\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport moment from 'moment';\n\nexport class ReleasePropertiesPage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async editReleaseName(name: string): Promise<void> {\n await this.page.locator('#release-form-title').clear();\n await this.page.locator('#release-form-title').fill(name);\n }\n\n async setDescription(description: string): Promise<void> {\n await this.page.locator('.display > .xl-icon').first().click();\n await this.page.locator('textarea').click();\n await this.page.locator('textarea').clear();\n await this.page.locator('textarea').fill(description);\n await this.page.getByText('Save').first().click();\n }\n\n async setScriptUsername(username: string): Promise<void> {\n await this.page.getByPlaceholder('Set user...').waitFor();\n await this.page.getByPlaceholder('Set user...').click();\n await this.page.locator('input[name=\"\"]').fill(username, { timeout: 2000 });\n }\n\n async setScriptUserPassword(password: string): Promise<void> {\n await this.page.locator('span[name=\"scriptUserPassword\"]').waitFor();\n await this.page.locator('span[name=\"scriptUserPassword\"]').click();\n await this.page.locator('input[name=\"scriptUserPassword\"]').fill(password, { timeout: 2000 });\n }\n\n async save(): Promise<void> {\n await this.page.getByRole('button', { name: 'Save' }).waitFor();\n await this.page.getByRole('button', { name: 'Save' }).click();\n await expect(this.page.locator('.form-footer .last-saved')).toBeVisible();\n }\n\n async reset(): Promise<void> {\n await this.page.getByRole('button', { name: 'Reset' }).waitFor();\n await this.page.getByRole('button', { name: 'Reset' }).click();\n }\n\n async expectWithAttachment(filename: string): Promise<void> {\n await expect(this.page.locator('.attachments tr td a').filter({ hasText: filename })).toBeVisible();\n }\n\n async getAttachmentsListCount(): Promise<number> {\n return await this.page.locator('.attachments tr').count();\n }\n\n async uploadFile(filePath: string): Promise<void> {\n const fileChooserPromise = this.page.waitForEvent('filechooser');\n await this.page.locator('input[type=\"file\"]').click();\n const fileChooser = await fileChooserPromise;\n await fileChooser.setFiles(filePath);\n }\n\n async expectWithNoAttachment(filename: string): Promise<void> {\n const test = await this.page.locator('.attachments').isVisible();\n if (test) {\n await expect(this.page.locator('.attachments tr td a').filter({ hasText: filename })).not.toBeVisible();\n }\n }\n\n async downloadFile(filename: string): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n const downloadPromise1 = this.page.waitForEvent('download');\n await this.page.getByText(filename).click();\n const download = await downloadPromise1;\n // Wait for the download process to complete and save the downloaded file in given path.\n await download.saveAs('./core/xlr-ui/build/playwright/' + download.suggestedFilename());\n expect(download.suggestedFilename()).toBe(filename);\n }\n\n async deleteAttachment(fileName: string): Promise<void> {\n await this.page.getByRole('row', { name: fileName }).locator('span').click();\n await this.page.getByText('Remove').click();\n }\n\n async expectVariableDisplayed(variable: string, present: boolean): Promise<void> {\n if (present)\n await expect(this.page.locator(`#release-properties .form-group`, { hasText: variable })).toHaveCount(1);\n else await expect(this.page.locator(`#release-properties .form-group`, { hasText: variable })).toHaveCount(0);\n }\n\n async setScheduledStartDate(date?: string, monthYear?: string): Promise<void> {\n await this.page.locator(`.scheduled-start-date .date`).click();\n const prev = this.page.locator('.datepicker-days .prev');\n const next = this.page.locator('.datepicker-days .next');\n const monYear = this.page.locator('.datepicker-days .datepicker-switch');\n\n const thisMonth = moment(monthYear, 'MMMM YYYY').isBefore();\n\n while ((await monYear.textContent()) != monthYear) {\n if (thisMonth) {\n await prev.click();\n } else {\n await next.click();\n }\n }\n await this.page\n .getByRole('cell', { name: '' + date + '', exact: true })\n .first()\n .click();\n }\n\n async setScheduledStartTime(hrs?: string, mins?: string, meridian?: string): Promise<void> {\n await this.page.locator('.scheduled-start-date .time-picker-holder').click();\n if (typeof hrs !== 'undefined') {\n await this.page.locator('.bootstrap-timepicker-hour').click();\n await this.page.locator('.bootstrap-timepicker-hour').clear();\n await this.page.locator('.bootstrap-timepicker-hour').fill(hrs);\n }\n if (typeof mins !== 'undefined') {\n await this.page.locator('.bootstrap-timepicker-minute').click();\n await this.page.locator('.bootstrap-timepicker-minute').clear();\n await this.page.locator('.bootstrap-timepicker-minute').fill(mins);\n }\n if (typeof meridian !== 'undefined') {\n await this.page.locator('.bootstrap-timepicker-meridian').click();\n await this.page.locator('.bootstrap-timepicker-meridian').clear();\n await this.page.locator('.bootstrap-timepicker-meridian').fill(meridian);\n }\n await this.page.keyboard.press('Escape');\n }\n\n async setDuration(days?: string, hours?: string, mins?: string): Promise<void> {\n await this.page.locator('.duration-editor').click();\n if (typeof days !== 'undefined') {\n await this.page.locator('.days').click();\n await this.page.locator('.days').clear();\n await this.page.locator('.days').fill(days);\n }\n if (typeof hours !== 'undefined') {\n await this.page.locator('.hours').click();\n await this.page.locator('.hours').clear();\n await this.page.locator('.hours').fill(hours);\n }\n if (typeof mins !== 'undefined') {\n await this.page.locator('.minutes').click();\n await this.page.locator('.minutes').clear();\n await this.page.locator('.minutes').fill(mins);\n }\n await this.page.keyboard.press('Escape');\n }\n\n async expectScheduledStartDateToBe(date: string): Promise<void> {\n expect(await this.page.locator(`.scheduled-start-date .date input`).getAttribute('value')).toContain(date);\n }\n\n async expectScheduledStartTimeToBe(date: string): Promise<void> {\n expect(await this.page.locator(`.scheduled-start-date .time input`).getAttribute('value')).toContain(date);\n }\n\n async expectDueDateToBe(date: string): Promise<void> {\n expect(await this.page.locator('.due-date .date input').getAttribute('value')).toContain(date);\n }\n\n async expectedDueDateTime(time: string): Promise<void> {\n expect(await this.page.locator('.due-date .time input').getAttribute('value')).toContain(time);\n }\n\n async expectDurationToBe(duration: string): Promise<void> {\n expect(await this.page.locator('.duration-editor').textContent()).toBe(duration);\n }\n\n async setDueDate(hrs?: string, min?: string, meridian?: string): Promise<void> {\n await this.page.locator('.due-date .time-picker-holder').click();\n if (typeof hrs !== 'undefined') {\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-hour').click();\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-hour').clear();\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-hour').fill(hrs);\n }\n if (typeof min !== 'undefined') {\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-minute').click();\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-minute').clear();\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-minute').fill(min);\n }\n if (typeof meridian !== 'undefined') {\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-meridian').click();\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-meridian').clear();\n await this.page.locator('.bootstrap-timepicker-widget .bootstrap-timepicker-meridian').fill(meridian);\n }\n await this.page.keyboard.press('Escape');\n }\n\n async checkAbortOnFailure(): Promise<void> {\n await this.page.locator('#release-form-abort-on-failure').check();\n await expect(this.page.locator('#release-form-abort-on-failure')).toBeChecked();\n }\n\n async expectDescriptionToBe(description: string): Promise<void> {\n expect(await this.page.locator('.release-description p').textContent()).toContain(description);\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class ReleaseTeamsAndPermissionsPage extends WithPage {\n saveButton: Locator;\n resetButton: Locator;\n constructor(page: Page) {\n super(page);\n this.resetButton = this.page.getByRole('button', { name: 'Reset' });\n this.saveButton = this.page.getByRole('button', { name: 'Save' });\n }\n\n async expectSaveButtonDisabled(): Promise<void> {\n expect(this.saveButton).toBeDisabled();\n }\n}\n","import * as fs from 'fs';\nimport path from 'path';\nimport { WithPage } from '../WithPage';\nimport { Locator, Page, expect } from '@playwright/test';\n\nexport class Util extends WithPage {\n tempDir: string;\n content: string;\n closeIcon: Locator;\n\n constructor(page: Page) {\n super(page);\n this.tempDir = '';\n this.content = '';\n this.closeIcon = this.page.locator('.xl-icon.close-icon');\n }\n\n async createTempFile(fileName: path.ParsedPath | string, testInfo: any): Promise<void> {\n const content = fileName.toString();\n const tempDir = testInfo.outputPath(fileName.toString());\n fs.promises.writeFile(tempDir, content, 'utf8');\n }\n\n async expandAllFolders(): Promise<void> {\n const icExpandTreeview1 = this.page.locator('.rstm-toggle-icon.xl-icon.arrow-right-icon');\n for (const element of await icExpandTreeview1.all()) {\n const blnVal = await element.isVisible();\n if (blnVal) {\n await element.click();\n await this.expandAllFolders();\n }\n }\n await expect(icExpandTreeview1).not.toBeVisible();\n }\n\n async openSideNavMenu(menuItem: string): Promise<void> {\n await this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, { exact: true }).scrollIntoViewIfNeeded();\n await this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, { exact: true }).click();\n }\n\n async openNestedMenuItem(nestedMenuItem: string): Promise<void> {\n await this.page.locator('.MuiList-root li').getByText(nestedMenuItem, { exact: true }).scrollIntoViewIfNeeded();\n await this.page.locator('.MuiList-root li').getByText(nestedMenuItem, { exact: true }).click();\n }\n\n async clickCloseIcon(): Promise<void> {\n await this.closeIcon.click();\n }\n\n async clickOnStatusField(): Promise<void> {\n await this.page.locator('.ci-filter-status.ng-isolate-scope').click();\n }\n\n async clickOnStatus(statusNames: string[]): Promise<void> {\n await this.clickOnStatusClearAll();\n await this.clickOnStatusField();\n for (let i = 0; i < statusNames.length; i++) {\n await this.page.locator(`i.xl-icon.icon-s.checkbox[data='${statusNames[i]}']`).click();\n }\n // Clicking outside to close the grid dropdown\n await this.page.getByText('Status').click();\n }\n\n async clickOnStatusClearAll(): Promise<void> {\n await this.clickOnStatusField();\n await this.page.locator('a.xl-react-link', { hasText: 'Clear all' }).click();\n await this.page.getByText('Status').click();\n }\n\n async clickOnStatusSelectAll(): Promise<void> {\n await this.clickOnStatusField();\n await this.page.locator('a.xl-react-link', { hasText: 'Select all' }).click();\n await this.page.getByText('Status').click();\n }\n\n async setOrderBy(orderBy: string): Promise<void> {\n await this.page.locator('.order-by-filter .btn:first-child').click();\n await this.page.locator(`.order-by-filter .bootstrap-link:has-text('${orderBy}')`).click();\n }\n\n async setSearchFilter(filterText: string): Promise<void> {\n await this.page.locator('.searchFilter').fill(filterText);\n }\n\n async clearSearchFilter(): Promise<void> {\n await this.page.locator('.searchFilter').clear();\n }\n}\n","import { Page, Locator, expect } from '@playwright/test';\nimport { TriggersPage } from '../TriggersPage';\nimport { WithPage } from '../WithPage';\nimport { ReleaseVariablesPage } from './ReleaseVariablesPage';\nimport { TaskDrawer } from '../task-drawer/taskDrawer';\nimport { ReleaseCreatePage } from './releaseCreatePage';\nimport { ReleaseGanttPage } from './releaseGanttPage';\nimport { ReleasePropertiesPage } from './releasePropertiesPage';\nimport { ReleaseTeamsAndPermissionsPage } from './releaseTeamsAndPermissionsPage';\nimport { DateUtil } from '../common/dateUtil';\nimport { Util } from '../common/util';\n\nexport class ReleasePage extends WithPage {\n createPage: ReleaseCreatePage;\n ganttPage: ReleaseGanttPage;\n taskDrawer: TaskDrawer;\n teamsPermissions: ReleaseTeamsAndPermissionsPage;\n phaseTitle: Locator;\n properties: ReleasePropertiesPage;\n variables: ReleaseVariablesPage;\n util: Util;\n\n constructor(page: Page) {\n super(page);\n this.createPage = new ReleaseCreatePage(page);\n this.ganttPage = new ReleaseGanttPage(page);\n this.taskDrawer = new TaskDrawer(page);\n this.teamsPermissions = new ReleaseTeamsAndPermissionsPage(page);\n this.phaseTitle = this.page.locator('.phase .phase-title');\n this.properties = new ReleasePropertiesPage(page);\n this.variables = new ReleaseVariablesPage(page);\n this.util = new Util(page);\n }\n\n async openTriggers(): Promise<TriggersPage> {\n await this.openSubPage('Triggers');\n return new TriggersPage(this.page);\n }\n\n async abort(comment = 'Abort for testing'): Promise<void> {\n await this.page.getByTestId('abort-btn').waitFor();\n await this.page.getByTestId('abort-btn').click();\n await this.page.getByPlaceholder('Give feedback or place a').click();\n await this.page.getByPlaceholder('Give feedback or place a').fill(comment);\n await this.page.getByRole('button', { name: 'Abort' }).click();\n await expect(this.page.locator('.progress-status-and-percentage')).toContainText('Aborted');\n }\n\n getPhase(phaseName: string): Phase {\n return new Phase(this.page, phaseName);\n }\n\n async expectNotFlagged(): Promise<void> {\n await expect(this.page.locator('.flag-none-icon')).toBeHidden();\n }\n\n async expectRiskFlagOnTaskCard(): Promise<void> {\n await expect(this.page.locator('.risk-flag-icon')).toBeVisible();\n }\n\n async expectFlagOnCompletedTaskCard(): Promise<void> {\n await expect(this.page.locator('.flag-count')).toBeVisible();\n }\n\n async refresh(): Promise<void> {\n await this.page.reload();\n await this.page.waitForSelector('#release');\n }\n\n async start(): Promise<void> {\n await this.page.getByTestId('start-btn').click();\n await this.page.getByRole('button', { name: 'Start' }).click();\n }\n\n async waitForCompletion(timeout: number): Promise<void> {\n await this.page.locator('#release.completed').waitFor({ timeout });\n }\n\n async waitForTaskCompleted(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.completed').getByText(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n\n async waitForTaskCompletedInAdvance(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.completed_in_advance').getByText(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n\n async waitForTaskInProgress(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.in_progress').getByText(taskTitle, { exact: true })).toBeVisible();\n }\n\n async waitForTaskFailed(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.failed').getByText(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n async waitForTaskSkipped(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.skipped').getByText(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n\n async waitForTaskSkippedInAdvance(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.skipped_in_advance').getByText(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n\n async waitForTaskAborted(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.aborted').getByText(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n async waitForStatusLine(statusLine: string): Promise<void> {\n await expect(this.page.locator('.task .status-line').getByText(statusLine, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n\n async waitForTaskStarted(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.in_progress').getByTitle(taskTitle, { exact: true })).toBeVisible({\n timeout: 10000,\n });\n }\n\n async waitForTaskPlanned(title: string): Promise<void> {\n await expect(this.page.locator(`.task:has-text('${title}').planned`)).toBeVisible();\n }\n\n async expectTaskCompletedInAdvance(taskTitle: string): Promise<void> {\n await expect(\n this.page.locator('#release-content .completed_in_advance .task-title').filter({ hasText: taskTitle }),\n ).toBeVisible();\n }\n\n async expectTaskPending(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.pending').getByText(taskTitle, { exact: true })).toBeVisible();\n }\n\n async expectCurrentTaskToContain(taskTitle: string): Promise<void> {\n await expect(this.page.locator('.task.active .task-title').getByText(taskTitle, { exact: true })).toBeVisible();\n }\n\n async openManualTaskDetails(title: string): Promise<void> {\n await this.page.locator(`text=${title}`).click({ force: true });\n await expect(this.page.locator('div').filter({ hasText: title }).first()).toBeVisible();\n }\n\n async reopenTask(comment: string): Promise<void> {\n await this.page\n .locator('div')\n .filter({ hasText: /^Reopen$/ })\n .click();\n await this.page.getByTestId('task-action-comment').click();\n await this.page.getByTestId('task-action-comment').fill(comment);\n await this.page.getByTestId('dot-button').click();\n }\n\n async openTaskDrawer(taskName: string): Promise<TaskDrawer> {\n await this.page.locator('.task-header').getByText(taskName, { exact: true }).click();\n return this.taskDrawer;\n }\n\n async openTaskDrawerFromTableView(taskName: string): Promise<TaskDrawer> {\n await this.page.locator('.name-cell-title').getByText(taskName, { exact: true }).click();\n return this.taskDrawer;\n }\n\n async openTaskDrawerFromGrantt(taskName: string): Promise<TaskDrawer> {\n await this.page.locator('.gantt_tree_content').getByText(taskName, { exact: true }).dblclick();\n return this.taskDrawer;\n }\n\n async openVariables(): Promise<void> {\n await this.util.openSideNavMenu('Variables');\n await expect(this.page.getByLabel('breadcrumb').getByText('Variables')).toBeVisible();\n }\n\n async openProperties(): Promise<void> {\n await this.util.openSideNavMenu('Properties');\n await expect(this.page.getByLabel('breadcrumb').getByText('Properties')).toBeVisible();\n }\n\n async openReleaseFlow(): Promise<void> {\n await this.util.openSideNavMenu('Flow');\n await expect(this.page.getByLabel('breadcrumb').getByText('Flow')).toBeVisible();\n }\n\n async openRelationships(): Promise<void> {\n await this.util.openSideNavMenu('Relationships');\n await expect(this.page.getByLabel('breadcrumb').getByText('Relationships')).toBeVisible();\n }\n\n async openTeamsPermissions(): Promise<void> {\n await this.util.openSideNavMenu('Teams & Permissions');\n await expect(this.page.getByLabel('breadcrumb').getByText('Teams & Permissions')).toBeVisible();\n }\n\n async openDashboard(): Promise<void> {\n await this.util.openSideNavMenu('Dashboard');\n await expect(this.page.getByLabel('breadcrumb').getByText('Dashboard')).toBeVisible();\n }\n\n async openActivityLogs(): Promise<void> {\n await this.util.openSideNavMenu('Activity logs');\n await expect(this.page.getByLabel('breadcrumb').getByText('Activity logs')).toBeVisible();\n }\n\n private async openReleaseMenu(menuItem: string): Promise<void> {\n await this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, { exact: true }).click();\n }\n\n private async openSubPage(subpage: string): Promise<void> {\n await this.page.locator('ul.side-nav li', { hasText: subpage }).click();\n }\n\n async openTask(taskName: string): Promise<void> {\n await this.page.getByTitle(taskName, { exact: true }).click();\n }\n\n async collapseAllTaskView(): Promise<void> {\n const icCollapseTreeview1 = this.page.locator('div.pull-left.expander.ng-scope i.xl-icon.arrow-down-icon');\n for (const element of await icCollapseTreeview1.all()) {\n const blnVal = await element.isVisible();\n if (blnVal) {\n await element.click();\n await this.collapseAllTaskView();\n }\n }\n }\n\n async expandAllTaskView(): Promise<void> {\n const icExpandTreeview1 = this.page.locator('div.pull-left.expander.ng-scope i.xl-icon.arrow-right-icon');\n for (const element of await icExpandTreeview1.all()) {\n const blnVal = await element.isVisible();\n if (blnVal) {\n await element.click();\n await this.expandAllTaskView();\n }\n }\n }\n\n async expectTemplateLabelNotToBePresent(): Promise<void> {\n await expect(this.page.locator('.dot-chip').filter({ hasText: 'TEMPLATE' })).not.toBeVisible();\n }\n\n async expectAbortedStatusToBePresent(): Promise<void> {\n await this.page.locator('.progress-status-and-percentage').waitFor({ timeout: 10000 });\n expect(await this.page.locator('.progress-status-and-percentage').textContent()).toContain('Aborted');\n }\n\n async openTableView(): Promise<void> {\n await this.util.openSideNavMenu('Table');\n await expect(this.page.locator('.release-grid-container')).toBeVisible();\n }\n\n async openPlannerView(): Promise<void> {\n await this.util.openSideNavMenu('Planner');\n await expect(this.page.locator('.gantt-container')).toBeVisible();\n }\n\n async expandGanttFolder(): Promise<void> {\n const icExpandTreeview1 = this.page.locator('.gantt_tree_icon.gantt_open');\n for (const element of await icExpandTreeview1.all()) {\n const blnVal = await element.isVisible();\n if (blnVal) {\n await element.click();\n await this.expandGanttFolder();\n }\n }\n }\n\n async backToRelease(): Promise<void> {\n await this.page.locator('.icon-back').click();\n }\n\n async expectTitleToBeInBreadcrumbLink(title: string): Promise<void> {\n await expect(this.page.locator('.dot-breadcrumbs a', { hasText: title })).toBeVisible();\n }\n\n async expectHasPhase(title: string): Promise<void> {\n await expect(this.page.locator(`#release-content .phase-title`, { hasText: title })).toBeVisible();\n }\n\n async addNewPhase(phaseName?: string): Promise<void> {\n await this.page.getByTestId('add-phase-btn').click();\n if (phaseName) {\n await this.phaseTitle.getByText('New Phase').click();\n await this.phaseTitle.getByRole('textbox').clear();\n await this.phaseTitle.getByRole('textbox').fill(phaseName);\n await this.page.keyboard.press('Enter');\n await expect(this.phaseTitle.filter({ hasText: phaseName })).toBeVisible();\n }\n }\n\n async renamePhase(oldPhaseName: string, newPhaseName: string): Promise<void> {\n await this.phaseTitle.getByText(oldPhaseName).click();\n await this.phaseTitle.filter({ hasText: oldPhaseName }).locator('.editable').clear();\n await this.phaseTitle.filter({ hasText: oldPhaseName }).locator('.editable').fill(newPhaseName);\n await this.page.keyboard.press('Enter');\n await expect(this.phaseTitle.filter({ hasText: newPhaseName })).toBeVisible();\n }\n\n async exportRelease(): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n this.page.on('download', () => {});\n await this.page.getByTestId('template-export-btn').click();\n const downloadPromise = this.page.waitForEvent('download');\n await this.page.getByRole('link', { name: 'Audit report (Excel)' }).click();\n await downloadPromise;\n }\n\n async expectTaskToBePresent(taskName: string): Promise<void> {\n await expect(this.page.locator('.task').filter({ hasText: taskName })).toBeVisible();\n }\n\n async expectTaskNotToBePresent(taskName: string): Promise<void> {\n await expect(this.page.locator('.task').filter({ hasText: taskName })).not.toBeVisible();\n }\n\n async toggleTaskFilter(filterOption: string): Promise<void> {\n this.clickFilterOptions();\n await this.page.locator(`#filter-container #${filterOption}`).click();\n this.clickFilterOptions();\n }\n\n async clickFilterOptions(): Promise<void> {\n await this.page.locator('#release-header .dropdown-button').click();\n }\n\n async expectTaskToHaveFailed(title: string, failCount: number): Promise<void> {\n await expect(\n this.page.locator(`.task`).filter({ hasText: title }).locator(`.task-infos .failure-count.count-warning`),\n ).toBeVisible();\n const count = await this.page\n .locator(`.task`)\n .filter({ hasText: title })\n .locator(`.task-infos .failure-count.count-warning`)\n .innerText();\n expect(count).toContain(failCount.toString());\n }\n\n async expectTaskToHaveBeenDelayed(title: string): Promise<void> {\n await expect(\n this.page.locator(`.task`).filter({ hasText: title }).locator(`.task-infos .delay-count`),\n ).toBeVisible();\n }\n\n async expectOnePhaseDisplayed(): Promise<void> {\n expect(await this.page.locator('.phase-content').count()).toBe(1);\n }\n}\n\nclass Phase extends WithPage {\n private readonly phaseLocator: Locator;\n commentBox: Locator;\n confirm: Locator;\n contextMenuButton: Locator;\n dateUtil: DateUtil;\n\n constructor(page: Page, phaseName: string) {\n super(page);\n this.phaseLocator = page.locator('.phase', { hasText: phaseName });\n this.commentBox = this.page.locator(`.input-block-level`);\n this.confirm = this.page.getByTestId('dot-button');\n this.contextMenuButton = this.page.locator('#context-menu-container li');\n this.dateUtil = new DateUtil(page);\n }\n\n async setTitle(title: string): Promise<void> {\n await this.phaseLocator.locator('.phase-header .display').click();\n await this.phaseLocator.locator('.phase-header input').clear();\n await this.phaseLocator.locator('.phase-header input').fill(title);\n await this.phaseLocator.locator('.phase-header input').blur();\n }\n\n async isMenuItemEnabled(menuName: string, taskTitle: string): Promise<void> {\n await this.openContextMenuForTask(taskTitle);\n await expect(this.contextMenuButton.filter({ hasText: menuName })).not.toHaveClass(/disabled/);\n await expect(this.contextMenuButton.filter({ hasText: menuName }).locator('a')).not.toBeDisabled();\n await this.closeContextMenu();\n }\n\n async isMenuItemDisabled(menuName: string, taskTitle: string): Promise<void> {\n await this.openContextMenuForTask(taskTitle);\n await expect(this.contextMenuButton.filter({ hasText: menuName })).toHaveClass(/disabled/);\n await expect(this.contextMenuButton.filter({ hasText: menuName }).locator('a')).toBeDisabled();\n await this.closeContextMenu();\n }\n\n async expectMenuItemIsNotVisible(menuName: string, taskTitle: string): Promise<void> {\n await this.openContextMenuForTask(taskTitle);\n await expect(this.page.locator('#context-menu-container li').filter({ hasText: menuName })).not.toBeVisible();\n await this.closeContextMenu();\n }\n\n async expectMenuItemIsVisible(menuName: string, taskTitle: string): Promise<void> {\n await this.openContextMenuForTask(taskTitle);\n await expect(this.page.locator('#context-menu-container li').filter({ hasText: menuName })).toBeVisible();\n await this.closeContextMenu();\n }\n\n async closeContextMenu(): Promise<void> {\n await this.page.locator('#release-header').click();\n }\n\n async expectTaskBorderWithColor(taskName: string, color: string): Promise<void> {\n await expect(this.page.locator(`.task-box:has-text('${taskName}')`)).toHaveCSS('border-top-color', color);\n }\n\n async addTaskInPhase(taskTitle: string, taskGroup: string, taskType: string): Promise<void> {\n await this.phaseLocator.getByText('Add task').click();\n await this.page.locator('#task-selector').hover();\n await this.page.locator('button[aria-label=\"Clear\"]').click();\n await this.page.locator('#task-selector').fill(taskGroup);\n await this.page.getByTestId(taskType).click();\n await this.page.locator('.icon-close').click();\n await this.page.locator('#task-title').fill(taskTitle);\n await this.page.getByTestId('save-select-task-btn').click();\n await expect(this.phaseLocator.getByText(taskTitle)).toBeVisible();\n }\n\n async getNumberOfTasks(): Promise<number> {\n return await this.phaseLocator.locator('.task').count();\n }\n\n async expectToHaveNoneditableTitle(phaseTitle: string): Promise<void> {\n await expect(this.phaseLocator.locator('.phase-title > span')).toContainText(phaseTitle);\n }\n\n async expectToHaveTitle(phaseTitle: string): Promise<void> {\n await expect(this.phaseLocator.locator('.phase-title')).toContainText(phaseTitle);\n }\n\n async openContextMenuForTask(taskTitle: string): Promise<void> {\n await this.phaseLocator.locator('.task').filter({ hasText: taskTitle }).locator('.context-menu-button').click();\n }\n\n async skipFromContextMenu(comment: string, taskTitle: string): Promise<void> {\n await this.openContextMenuForTask(taskTitle);\n await this.page.locator('.dropdown-menu li').getByText('Skip').click();\n await this.commentBox.fill(comment);\n await this.page.getByRole('button', { name: 'Skip', exact: true }).click();\n }\n\n async expectTemplateLabelNotToBePresent(): Promise<void> {\n await expect(this.page.locator('.dot-chip').filter({ hasText: 'TEMPLATE' })).not.toBeVisible();\n }\n\n async openPhaseDetails(): Promise<void> {\n await this.phaseLocator.locator('.phase-details').click();\n }\n\n async close(): Promise<void> {\n await this.page.locator(\"button[type='button'] i[class='xl-icon close-icon']\").click();\n }\n\n async expectStartDateToBeDisplayed(): Promise<void> {\n await expect(this.page.locator('.modal .start-date')).toBeVisible();\n }\n\n async expectDueDateToBeDisplayed(): Promise<void> {\n await expect(this.page.locator('.modal .due-date')).toBeVisible();\n }\n\n async expectEndDateToBeDisplayed(): Promise<void> {\n await expect(this.page.locator('.modal .end-date')).toBeVisible();\n }\n\n async setTitleFromPhaseDetails(title: string): Promise<void> {\n await this.page.locator('h4.phase-title').click();\n await this.page.locator('h4.phase-title input').fill(title);\n await this.page.locator('h4.phase-title input').press('Enter');\n await expect(this.page.locator('h4.phase-title')).toContainText(title);\n }\n\n async setDueDateFromPhaseDetails(date?: string, monthYear?: string): Promise<void> {\n await this.dateUtil.openDatePicker('.modal .due-date .date-editor');\n await this.dateUtil.setDate(date, monthYear);\n }\n\n async setScheduledStartDateFromPhaseDetails(date?: string, monthYear?: string): Promise<void> {\n await this.dateUtil.openDatePicker('.modal .scheduled-start-date .date-editor');\n await this.dateUtil.setDate(date, monthYear);\n }\n\n async expectDurationToBe(duration: string): Promise<void> {\n await this.dateUtil.expectDurationToBe(duration);\n }\n\n async setDurationFromPhaseDetails(days?: string, hours?: string, mins?: string): Promise<void> {\n await this.page.locator('.duration-editor').click();\n await this.dateUtil.setDuration(days, hours, mins);\n }\n\n async expectDueTimeToBe(format: string, date: Date | string): Promise<void> {\n const selector = this.page.locator('.modal .due-date .time-picker-holder input');\n await this.dateUtil.expectTimeToBe(selector, format, date);\n }\n\n async deleteTaskInPhase(taskName: string): Promise<void> {\n await this.page.locator('.task').filter({ hasText: taskName }).locator('.xl-icon.options-icon').click();\n await this.page.locator('.remove-task-button').click();\n await expect(this.page.getByRole('heading', { name: 'Delete Task' })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.phaseLocator.locator('li').filter({ hasText: taskName })).not.toBeVisible();\n }\n\n async deletePhase(phaseName: string): Promise<void> {\n await this.phaseLocator.locator('.phase-header').filter({ hasText: phaseName }).locator('.actions').hover();\n await this.phaseLocator.locator('.phase-header').filter({ hasText: phaseName }).locator('.delete-icon').click();\n await expect(this.page.getByRole('heading', { name: 'Delete Phase' })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.phaseLocator.locator('.phase-header').filter({ hasText: phaseName })).not.toBeVisible();\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class ApplicationsPage extends WithPage {\n async goToApplicationsPage(): Promise<this> {\n await this.page.goto('./#/applications');\n await expect(this.page).toHaveTitle('Applications - Digital.ai Release');\n return this;\n }\n\n async addNewApplication(applicationName: string): Promise<this> {\n await this.page.locator(`//button[normalize-space()='New application']`).click();\n await this.page.locator(`input[placeholder='Add name...']`).type(applicationName);\n await this.page.locator(`//button[normalize-space()='Save']`).click();\n return this;\n }\n\n async verifyApplicationisCreated(applicationName: string): Promise<this> {\n await this.page.waitForSelector(`div[title='${applicationName}'] strong`);\n return this;\n }\n\n async createApplicationAndLinkEnvironment(environmentName: string, applicationName: string): Promise<this> {\n await this.page.locator(`//button[normalize-space()='New application']`).click();\n await this.page.locator(`input[placeholder='Add name...']`).type(applicationName);\n await this.page.locator(\"input[placeholder='Filter environment name...']\").type(environmentName);\n await this.page.locator(`div[title='${environmentName}']`).click();\n await this.page.locator(`//button[normalize-space()='Save']`).click();\n await this.page.locator('i.xl-icon.close-icon').click();\n return this;\n }\n}\n","export class DataRandomGenerator {\n static codePointA = 65;\n static codePointZ = 90;\n\n static getString(): string {\n return Math.random().toString(36).substring(2);\n }\n\n static getNumber(min: number, max: number): number {\n return Math.floor(Math.random() * (max - min + 1) + min);\n }\n\n static getAlphabetsString(length: number): string {\n let alphabets = '';\n for (let i = 0; i < length; i++) {\n alphabets += String.fromCharCode(\n DataRandomGenerator.getNumber(DataRandomGenerator.codePointA, DataRandomGenerator.codePointZ),\n );\n }\n return alphabets;\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { Util } from '../common/util';\n\nexport class FolderDeliveryPage extends WithPage {\n util: Util;\n addName: Locator;\n addDescription: Locator;\n searchForDelivery: Locator;\n constructor(page: Page) {\n super(page);\n this.util = new Util(page);\n this.addName = page.locator('.xl-react-components input[placeholder=\"Add...\"]');\n this.addDescription = page.getByPlaceholder('Set description...');\n this.searchForDelivery = page.getByPlaceholder('Search for deliveries...', { exact: true });\n }\n\n async filterDeliveryByName(deliveryName: string): Promise<void> {\n await this.searchForDelivery.click();\n await this.searchForDelivery.clear();\n await this.searchForDelivery.fill(deliveryName);\n await this.searchForDelivery.press('Enter');\n await expect(\n this.page.locator('xlr-delivery-row').filter({ hasText: deliveryName }).getByRole('link').first(),\n ).toBeVisible();\n }\n\n async editDelivery(deliveryName: string, newDeliveryName: string): Promise<void> {\n await this.page\n .locator('xlr-delivery-row')\n .filter({ hasText: deliveryName })\n .locator('.fc-list-item-actions .edit-icon')\n .click();\n await this.util.openSideNavMenu('Properties');\n await this.addName.click();\n await this.addName.clear();\n await this.addName.fill(newDeliveryName);\n await this.page.getByRole('button', { name: 'Save' }).click();\n expect(await this.page.locator('.saved-text').textContent()).toContain('Last saved on ');\n }\n\n async deleteDelivery(deliveryName: string): Promise<void> {\n await this.page\n .locator('xlr-delivery-row')\n .filter({ hasText: deliveryName })\n .locator('.fc-list-item-actions .delete-icon')\n .click();\n await expect(this.page.getByText('Delete release delivery', { exact: true })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(\n this.page.locator('.success').filter({ hasText: 'Deleted release delivery successfully' }),\n ).toBeVisible();\n }\n}\n","import { Page, expect, Locator } from '@playwright/test';\nimport { Util } from '../common/util';\nimport { WithPage } from '../WithPage';\nimport { DateUtil } from '../common/dateUtil';\n\nexport class FolderGroupsPage extends WithPage {\n util: Util;\n newReleaseGroupButton: Locator;\n dateUtil: DateUtil;\n dateMonth: Date;\n\n constructor(page: Page) {\n super(page);\n this.dateUtil = new DateUtil(page);\n this.util = new Util(page);\n this.newReleaseGroupButton = page.getByTestId('dot-button');\n this.dateMonth = new Date();\n }\n\n async createGroup(groupName: string, startDate?: string, endDate?: string): Promise<void> {\n await this.newReleaseGroupButton.click();\n await expect(this.page.getByText('Create new release group')).toBeVisible();\n await this.enterGroupName(groupName);\n const monthYear = await this.dateUtil.getCurrentMonthYear();\n if (startDate) await this.enterStartDate(startDate, monthYear);\n if (endDate) await this.enterEndDate(endDate, monthYear);\n await this.clickCreate();\n await this.expectSuccessMessageOnReleaseGroupCreation();\n }\n\n async addReleaseToGroup(releaseName: string): Promise<void> {\n await expect(this.page.locator('.action-toolbar-actions button').filter({ hasText: 'Add release' })).toBeEnabled();\n await this.page.locator('.action-toolbar-actions button').filter({ hasText: 'Add release' }).click({ force: true });\n await this.page.getByPlaceholder('Search for a release...').click();\n await this.page.getByPlaceholder('Search for a release...').fill(releaseName);\n await this.page.keyboard.press('Enter');\n await this.page\n .locator('release-list-modal-release-row')\n .filter({ hasText: releaseName })\n .getByRole('checkbox')\n .check();\n await this.page.getByRole('button', { name: 'Add' }).click();\n await this.expectSuccessMessageOnAddingReleaseToGroup();\n await expect(this.page.getByRole('link', { name: releaseName })).toBeVisible();\n }\n\n async editReleaseGroupName(newGroupName: string): Promise<void> {\n await this.page.locator('#title').click();\n await this.page.locator('#title').clear();\n await this.page.locator('#title').fill(newGroupName);\n }\n\n async enterGroupName(groupName: string): Promise<void> {\n await this.page.locator('#title').click();\n await this.page.locator('#title').fill(groupName);\n }\n\n async enterStartDate(date: string, monthYear: string): Promise<void> {\n await this.page.locator('.form-group').filter({ hasText: 'start date' }).locator('.date input').click();\n await this.dateUtil.setDate(date, monthYear);\n }\n\n async enterEndDate(date: string, monthYear: string): Promise<void> {\n await this.page.locator('.form-group').filter({ hasText: 'end date' }).locator('.date input').click();\n await this.dateUtil.setDate(date, monthYear);\n }\n\n async clickCreate(): Promise<void> {\n await this.page.getByRole('button', { name: 'Create' }).click();\n }\n\n async expectSuccessMessageOnReleaseGroupCreation(): Promise<void> {\n await expect(this.page.getByLabel('success')).toBeVisible();\n await expect(this.page.locator('.success').filter({ hasText: 'Created release group successfully' })).toBeVisible();\n }\n\n async expectSuccessMessageOnAddingReleaseToGroup(): Promise<void> {\n await expect(this.page.getByLabel('success')).toBeVisible();\n await expect(\n this.page.locator('.success').filter({ hasText: 'Added release to release group successfully' }),\n ).toBeVisible();\n }\n\n async expectSuccessMessageOnUpdatingGroup(): Promise<void> {\n await expect(this.page.getByLabel('success')).toBeVisible();\n await expect(this.page.locator('.success').filter({ hasText: 'Updated release group successfully' })).toBeVisible();\n }\n\n async searchReleaseGroupByTitle(title: string): Promise<void> {\n await this.page.getByPlaceholder('Search for groups...', { exact: true }).click();\n await this.page.getByPlaceholder('Search for groups...', { exact: true }).fill(title);\n await this.page.getByPlaceholder('Search for groups...', { exact: true }).press('Enter');\n await expect(this.page.locator('.fc-list-item-title')).toContainText(title);\n }\n\n async deleteReleaseGroup(title: string): Promise<void> {\n await this.page.locator('.fc-list-item-line').filter({ hasText: title }).locator('.fc-item-delete').click();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n }\n\n async clickReleaseGroupEdit(title: string): Promise<void> {\n await this.page.locator('.fc-list-item-line').filter({ hasText: title }).locator('.fc-item-update').click();\n }\n\n async clickSave(): Promise<void> {\n await this.page.getByRole('button', { name: 'Save' }).click();\n }\n\n async clickCancel(): Promise<void> {\n await this.page.getByRole('button', { name: 'Cancel' }).click();\n }\n\n async clickOnStatusField(): Promise<void> {\n await this.page.locator('.ci-filter-status.ng-isolate-scope').click();\n }\n\n async statusFilter(statusNames: string[]): Promise<void> {\n await this.clickOnStatusClearAll();\n await this.clickOnStatusField();\n for (let i = 0; i < statusNames.length; i++) {\n await this.page.locator(`i.xl-icon.icon-s.checkbox[data='${statusNames[i]}']`).click();\n }\n }\n\n async clickOnStatusClearAll(): Promise<void> {\n await this.clickOnStatusField();\n await this.page.locator('a.xl-react-link', { hasText: 'Clear all' }).click();\n }\n\n async clickOnStatusSelectAll(): Promise<void> {\n await this.clickOnStatusField();\n await this.page.locator('a.xl-react-link', { hasText: 'Select all' }).click();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { Util } from '../common/util';\n\nexport class FolderPatternPage extends WithPage {\n util: Util;\n addName: Locator;\n addDescription: Locator;\n constructor(page: Page) {\n super(page);\n this.util = new Util(page);\n this.addName = page.locator('.xl-react-components input[placeholder=\"Add...\"]');\n this.addDescription = page.getByPlaceholder('Set description...');\n }\n\n async clickNewDeliveryPattern(): Promise<void> {\n await this.page.getByTestId('dot-button').click();\n await expect(this.page.getByRole('heading', { name: 'Create delivery pattern' })).toBeVisible();\n }\n\n async setPatternName(patternName: string): Promise<void> {\n await this.addName.click();\n await this.addName.clear();\n await this.addName.fill(patternName);\n }\n\n async setPatternDescription(patternDescription: string): Promise<void> {\n await this.page.getByPlaceholder('Set description...').click();\n await this.page.getByPlaceholder('Set description...').clear();\n await this.page.getByPlaceholder('Set description...').fill(patternDescription);\n }\n\n async enableAutoComplete(): Promise<void> {\n await this.page.getByRole('checkbox').check();\n }\n\n async disableAutoComplete(): Promise<void> {\n await this.page.getByRole('checkbox').uncheck();\n }\n\n async setDuration(month: number, days: number, hours: number): Promise<void> {\n await this.page.getByRole('group', { name: 'Pattern details' }).getByRole('textbox').click();\n await this.page.locator('input[name=\"months\"]').click();\n await this.page.locator('input[name=\"months\"]').fill(month.toString());\n await this.page.locator('input[name=\"days\"]').click();\n await this.page.locator('input[name=\"days\"]').fill(days.toString());\n await this.page.locator('input[name=\"hours\"]').click();\n await this.page.locator('input[name=\"hours\"]').fill(hours.toString());\n }\n\n async createNewPattern(patternName: string, patternDescription: string): Promise<void> {\n await this.clickNewDeliveryPattern();\n await this.setPatternName(patternName);\n await this.setPatternDescription(patternDescription);\n await expect(this.page.locator('.action-toolbar-actions button').filter({ hasText: 'Create' })).toBeEnabled();\n await this.page.locator('.action-toolbar-actions button').filter({ hasText: 'Create' }).click({ force: true });\n await expect(this.page.getByLabel('breadcrumb').getByText('Delivery flow')).toBeVisible();\n }\n\n async clickEditPatternIcon(patternName: string): Promise<void> {\n await this.page.locator('.delivery-pattern-row').filter({ hasText: patternName }).locator('.edit').click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Delivery flow')).toBeVisible();\n }\n\n async clickCopyPatternIcon(patternName: string): Promise<void> {\n await this.page.locator('.delivery-pattern-row').filter({ hasText: patternName }).locator('.copy').click();\n await expect(this.page.getByText('Copy delivery pattern')).toBeVisible();\n }\n\n async filterPatternByName(patternName: string): Promise<void> {\n await this.page.getByPlaceholder('Filter by name...').click();\n await this.page.getByPlaceholder('Filter by name...').clear();\n await this.page.getByPlaceholder('Filter by name...').fill(patternName);\n await this.page.getByPlaceholder('Filter by name...').press('Enter');\n await expect(this.page.locator('.delivery-pattern-row').filter({ hasText: patternName })).toBeVisible();\n }\n\n async openProperties(): Promise<Properties> {\n await this.util.openSideNavMenu('Properties');\n return new Properties(this.page);\n }\n\n async back(): Promise<void> {\n await this.page.getByTestId('back-button').click();\n }\n\n async copyPattern(existingPatternName: string, NewPatternName: string): Promise<void> {\n await this.clickCopyPatternIcon(existingPatternName);\n await this.page.locator('.xl-icon.close-icon').first().click();\n await this.addName.fill(NewPatternName);\n await this.page.getByRole('button', { name: 'Continue' }).click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Delivery flow')).toBeVisible();\n }\n\n async clickDeletePattern(patternName: string): Promise<void> {\n await this.page.locator('.delivery-pattern-row').filter({ hasText: patternName }).locator('.delete').click();\n await expect(this.page.getByText('Delete delivery pattern', { exact: true })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.page.locator('.delivery-pattern-row').filter({ hasText: patternName })).not.toBeVisible();\n }\n\n async createNewDelivery(deliveryName: string, deliveryDes?: string, setAutoComplete?: true): Promise<void> {\n await this.page.getByTestId('dot-button').click();\n await this.addName.fill(deliveryName);\n await this.addDescription.click();\n if (deliveryDes) await this.addDescription.fill(deliveryDes);\n else await this.addDescription.fill('Description');\n if (setAutoComplete) await this.page.getByRole('checkbox').check();\n await expect(this.page.locator('.action-toolbar-actions button').filter({ hasText: 'Create' })).toBeEnabled();\n await this.page.locator('.action-toolbar-actions button').filter({ hasText: 'Create' }).click({ force: true });\n await expect(this.page.locator('.MuiBreadcrumbs-li').getByRole('link', { name: `${deliveryName}` })).toBeVisible();\n }\n}\nclass Properties extends WithPage {\n addName: Locator;\n addDescription: Locator;\n constructor(page: Page) {\n super(page);\n this.addName = page.locator('.xl-react-components input[placeholder=\"Add...\"]');\n this.addDescription = page.getByPlaceholder('Set description...');\n }\n\n async editName(name: string): Promise<void> {\n await this.addName.click();\n await this.addName.clear();\n await this.addName.fill(name);\n }\n\n async editDescription(description: string): Promise<void> {\n await this.page.getByPlaceholder('Set description...').click();\n await this.page.getByPlaceholder('Set description...').clear();\n await this.page.getByPlaceholder('Set description...').fill(description);\n }\n\n async editDuration(month: number, days: number, hours: number): Promise<void> {\n await this.page.getByRole('group', { name: 'Pattern details' }).getByRole('textbox').click();\n await this.page.locator('input[name=\"months\"]').click();\n await this.page.locator('input[name=\"months\"]').fill(month.toString());\n await this.page.locator('input[name=\"days\"]').click();\n await this.page.locator('input[name=\"days\"]').fill(days.toString());\n await this.page.locator('input[name=\"hours\"]').click();\n await this.page.locator('input[name=\"hours\"]').fill(hours.toString());\n }\n\n async save(): Promise<void> {\n await this.page.getByRole('button', { name: 'Save' }).click();\n expect(await this.page.locator('.saved-text').textContent()).toContain('Last saved on ');\n }\n}\n","import { Page, expect, Locator } from '@playwright/test';\nimport { Util } from '../common/util';\nimport { WithPage } from '../WithPage';\n\nexport class FolderNotificationPage extends WithPage {\n inheritCheckbox: Locator;\n util: Util;\n constructor(page: Page) {\n super(page);\n this.inheritCheckbox = page.getByRole('checkbox');\n this.util = new Util(page);\n }\n\n async checkInheritNotifications(): Promise<void> {\n await this.inheritCheckbox.click();\n if (await this.page.getByText('Override notification settings').isVisible()) {\n await this.page.getByRole('button', { name: 'Ok' }).click();\n }\n await expect(this.page.getByRole('checkbox')).toBeChecked();\n await expect(this.page.locator('.xl-icon.edit-icon')).not.toBeVisible();\n }\n\n async uncheckInheritNotifications(): Promise<void> {\n await this.inheritCheckbox.dblclick();\n await expect(this.page.getByRole('checkbox')).not.toBeChecked();\n await expect(this.page.locator('.xl-icon.edit-icon').first()).toBeVisible();\n }\n\n async expectRecipientsNotToBeEditable(eventName: string): Promise<void> {\n eventName = eventName.replace(/\\s+/g, '_').toUpperCase();\n await expect(this.page.locator(`[data-test=\"${eventName}\"]`).getByText('Edit Message')).not.toBeVisible();\n }\n\n async deleteTeam(eventName: string, teamName: string): Promise<void> {\n eventName = eventName.replace(/\\s+/g, '_').toUpperCase();\n await this.page\n .locator(`[data-test=\"${eventName}\"] div.role`)\n .filter({ hasText: teamName })\n .locator('a.tag-close')\n .click();\n }\n\n async expectEditMessageIsVisible(eventName: string): Promise<void> {\n eventName = eventName.replace(/\\s+/g, '_').toUpperCase();\n await expect(this.page.locator(`[data-test=\"${eventName}\"]`).getByText('Edit Message')).toBeVisible();\n }\n\n async addTeam(eventName: string, teamName: string): Promise<void> {\n eventName = eventName.replace(/\\s+/g, '_').toUpperCase();\n await this.page.locator(`[data-test=\"${eventName}\"]`).getByPlaceholder('Add...').click();\n await this.page.locator(`[data-test=\"${eventName}\"]`).getByPlaceholder('Add...').fill(teamName);\n await this.page.locator(`[data-test=\"${eventName}\"]`).getByText(teamName).click();\n }\n\n async clickEditMessage(eventName: string): Promise<void> {\n eventName = eventName.replace(/\\s+/g, '_').toUpperCase();\n await this.page.locator(`[data-test=\"${eventName}\"]`).getByText('Edit Message').click();\n await expect(this.page.getByText('Edit message: Active task')).toBeVisible();\n }\n\n async editPriority(eventName: string, priority: string): Promise<void> {\n eventName = eventName.replace(/\\s+/g, '_').toUpperCase();\n await this.page.getByRole('combobox').locator('i').click();\n await this.page.getByRole('option', { name: priority }).click();\n await this.page.getByRole('button', { name: 'Save' }).click();\n }\n}\n","import { expect, Locator, Page } from '@playwright/test';\nimport { FolderDeliveryPage } from './folder/folderDeliveryPage';\nimport { FolderGroupsPage } from './folder/folderGroupPage';\nimport { FolderPatternPage } from './folder/folderPatternPage';\nimport { FolderNotificationPage } from './folder/folderNotificationPage';\nimport { Util } from './common/util';\nimport { WithPage } from './WithPage';\n\nexport class FolderPage extends WithPage {\n deliveryPage: FolderDeliveryPage;\n expandButton: Locator;\n notificationPage: FolderNotificationPage;\n patternPage: FolderPatternPage;\n folderGroupsPage: FolderGroupsPage;\n util: Util;\n\n constructor(page: Page) {\n super(page);\n this.deliveryPage = new FolderDeliveryPage(page);\n this.expandButton = this.page.getByRole('button', { name: ' Expand' });\n this.folderGroupsPage = new FolderGroupsPage(page);\n this.notificationPage = new FolderNotificationPage(page);\n this.patternPage = new FolderPatternPage(page);\n this.util = new Util(page);\n }\n\n async openFoldersPage(): Promise<this> {\n await this.page.goto('./#/folders');\n await expect(this.page).toHaveTitle('Folders - Digital.ai Release');\n return this;\n }\n\n async backToAllFolders(): Promise<this> {\n await this.page.locator('.icon-back.dot-i').click();\n await expect(this.page).toHaveTitle('Folders - Digital.ai Release');\n await this.page.locator('button.btn-add-folder').isVisible();\n return this;\n }\n\n async createFolder(folderName: string): Promise<this> {\n await this.page.getByRole('button', { name: ' Add folder' }).click();\n await expect(this.page.getByText('Create a new folder in root')).toBeVisible();\n await this.page.getByRole('textbox').fill(folderName);\n await this.page.getByRole('button', { name: 'Create' }).click();\n await expect(this.page.getByRole('link', { name: folderName })).toBeVisible();\n return this;\n }\n\n async openFolder(folderName: string): Promise<this> {\n await this.page.getByTitle(folderName).waitFor({ timeout: 1000 });\n await this.page.getByTitle(folderName).click();\n await expect(this.page.locator('.MuiBreadcrumbs-li').getByRole('link', { name: `${folderName}` })).toBeVisible();\n return this;\n }\n\n async openGroups(): Promise<FolderGroupsPage> {\n await this.util.openSideNavMenu('Groups');\n await expect(this.page.getByLabel('breadcrumb').getByText('Groups')).toBeVisible();\n return this.folderGroupsPage;\n }\n\n async createGroup(groupName: string): Promise<this> {\n await this.page.locator(\"//button[normalize-space()='New release group']\").click();\n await this.page.locator('#title').type(groupName);\n await this.page.locator(\"button[type='submit']\").click();\n return this;\n }\n\n async selectPlannedStatus(): Promise<this> {\n await this.page.locator('.remaining-tags').click();\n await this.page.locator('.xl-react-link:text-is(\"Clear all\")').click();\n await this.page.locator('.react-tagsinput').click();\n await this.page.locator(`.yt-option[title=Planned]`).click();\n await this.page.locator(\"//span[normalize-space()='Status']\").click();\n return this;\n }\n\n async expectReleaseGroupisDisplayed(title: string): Promise<this> {\n //await this.page.locator(`.fc-list-item-title-wrapper .fc-list-item-title strong:text-is('${title}`).isVisible()\n await this.page.waitForSelector(`.fc-list-item-title-wrapper .fc-list-item-title strong:text-is('${title}')`);\n return this;\n }\n\n async createSubFolder(parentFolder: string, subFolderName: string): Promise<void> {\n await this.clickExpandButton();\n await this.page.getByRole('link', { name: parentFolder }).hover();\n await this.clickFolderOptions(parentFolder, 'add');\n await this.page.getByRole('textbox').fill(subFolderName);\n await this.page.getByRole('button', { name: 'Create' }).click();\n await expect(this.page.getByRole('link', { name: subFolderName })).toBeVisible();\n }\n\n async renameFolder(existingFolderName: string, newFolderName: string): Promise<void> {\n await this.clickExpandButton();\n await this.page.getByRole('link', { name: existingFolderName }).hover();\n await this.clickFolderOptions(existingFolderName, 'edit');\n await this.page.locator('.folder-row-wrapper input').click();\n await this.page.locator('.folder-row-wrapper input').fill(newFolderName);\n await this.page.keyboard.press('Enter');\n await expect(this.page.getByRole('link', { name: newFolderName })).toBeVisible();\n }\n\n async deleteFolder(folderName: string): Promise<void> {\n await this.clickExpandButton();\n await this.page.getByRole('link', { name: folderName }).hover();\n await this.clickFolderOptions(folderName, 'delete');\n await expect(this.page.getByRole('heading', { name: 'Delete folder' }).locator('span')).toBeVisible();\n await expect(\n this.page\n .locator('.xl-react-modal .confirmation-content')\n .getByText(\n 'You are about to delete the folder ' +\n folderName +\n '. Folders nested in ' +\n folderName +\n ' will also be deleted.',\n ),\n ).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.page.getByRole('link', { name: folderName })).not.toBeVisible();\n }\n\n async searchFolderByName(folderName: string): Promise<void> {\n await this.page.getByPlaceholder('Search folder...').click();\n await this.page.getByPlaceholder('Search folder...').clear();\n await this.page.getByPlaceholder('Search folder...').fill(folderName);\n await this.page.getByPlaceholder('Search folder...').press('Enter');\n await expect(this.page.getByRole('link', { name: folderName })).toBeVisible();\n }\n\n async openPatterns(): Promise<FolderPatternPage> {\n await this.util.openSideNavMenu('Deliveries');\n await this.util.openNestedMenuItem('Patterns');\n await expect(this.page.getByLabel('breadcrumb').getByText('Patterns')).toBeVisible();\n return this.patternPage;\n }\n\n async clickFolderOptions(folderName: string, option: string): Promise<void> {\n await this.page.locator('.folder-row-wrapper', { hasText: folderName }).locator(`.xl-icon.${option}-icon`).click();\n }\n\n async clickExpandButton(): Promise<void> {\n if (await this.expandButton.isEnabled()) {\n await this.expandButton.click();\n }\n }\n\n async openDeliveriesOverview(): Promise<FolderDeliveryPage> {\n await this.util.openSideNavMenu('Deliveries');\n await this.util.openNestedMenuItem('Deliveries overview');\n await expect(this.page.getByLabel('breadcrumb').getByText('Deliveries')).toBeVisible();\n return this.deliveryPage;\n }\n async openNotifications(): Promise<void> {\n await this.util.openSideNavMenu('Notifications');\n await expect(this.page.getByLabel('breadcrumb').getByText('Notifications')).toBeVisible();\n }\n async openTemplates(): Promise<void> {\n await this.util.openSideNavMenu('Templates');\n await expect(this.page.getByLabel('breadcrumb').getByText('Templates')).toBeVisible();\n }\n}\n","import { Page, expect, Locator } from '@playwright/test';\nimport { WithPage } from './WithPage';\nimport { DateUtil } from './common/dateUtil';\n\nexport class GlobalVariable extends WithPage {\n addListValue: Locator;\n listAddButton: Locator;\n addVariableValue: Locator;\n addVariablelabel: Locator;\n constructor(page: Page) {\n super(page);\n this.addListValue = this.page.locator('.variable-selector .xl-components-input-full input');\n this.addVariableValue = this.page.locator('.variable-value .xl-components-input-full input');\n this.addVariablelabel = this.page.locator('.variable-label input');\n this.listAddButton = this.page.getByRole('button', { name: 'Add' });\n }\n\n async addVariableText(valuename: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('StringVariable');\n await this.page.locator('.variable-value').type(valuename);\n await this.submitTheVariable();\n }\n async addVariableListbox(possiblevalue: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('DropDownListBox');\n await this.addListValue.fill(possiblevalue);\n await this.listAddButton.click();\n await this.page.getByRole('combobox').nth(1).selectOption(possiblevalue);\n await this.submitTheVariable();\n }\n async addVariablePassword(possiblevalue: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('PasswordStringVariable');\n await this.page.locator('input[type=\"password\"]').type(possiblevalue);\n await this.submitTheVariable();\n }\n async addVariableCheckbox(): Promise<void> {\n await this.page.getByRole('combobox').selectOption('BooleanVariable');\n await this.page.getByRole('checkbox').check();\n await this.submitTheVariable();\n }\n async addVariableNumber(possiblevalue: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('IntegerVariable');\n await this.page.locator('input[ng-model=\"var.value\"]').fill(possiblevalue);\n await this.submitTheVariable();\n }\n async addVariableList(possiblevalue1: string, possiblevalue2: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('ListStringVariable');\n await this.addVariableValue.fill(possiblevalue1);\n await this.listAddButton.click();\n await this.addVariableValue.fill(possiblevalue2);\n await this.listAddButton.click();\n await this.submitTheVariable();\n }\n async addVariableMultiList(possiblevalue1: string, possiblevalue2: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('MultiSelectListBox');\n await this.addListValue.fill(possiblevalue1);\n await this.listAddButton.click();\n await this.addListValue.fill(possiblevalue2);\n await this.listAddButton.click();\n await this.page.locator('.react-tagsinput').click();\n await this.page.getByText('Select all', { exact: true }).click();\n await this.submitTheVariable();\n }\n async addVariableDate(): Promise<void> {\n await this.page.getByRole('combobox').selectOption('DateVariable');\n await this.page.getByText('Select date').click();\n }\n\n async setDate(date?: string, monthYear?: string): Promise<void> {\n const dateUtil = new DateUtil(this.page);\n await dateUtil.setDate(date, monthYear);\n }\n\n async addVariableKeyValueMap(keys1: string, values1: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('MapStringStringVariable');\n await this.page.getByPlaceholder('key').fill(keys1);\n await this.page.getByPlaceholder('Value').fill(values1);\n await this.listAddButton.click();\n await this.page.locator('.xl-map-string-string-div-buttons .search-icon').click();\n await this.page.getByRole('row', { name: 'Search' }).getByRole('textbox').fill(keys1);\n const detail = await this.page.locator('table.table-condensed span').allInnerTexts();\n await expect(detail[0]).toEqual(keys1);\n await expect(detail[1]).toEqual(values1);\n await this.submitTheVariable();\n }\n async addVariableSet(possiblevalue1: string): Promise<void> {\n await this.page.getByRole('combobox').selectOption('SetStringVariable');\n await this.page.locator('.dip-input input').fill(possiblevalue1);\n await this.listAddButton.click();\n await this.submitTheVariable();\n }\n async addNewVariable(variableName: string, labelname: string, description: string): Promise<void> {\n await this.page.getByRole('button', { name: 'New global variable' }).click();\n await this.page.locator(`div.input-group > input`).type(variableName);\n await this.addVariablelabel.fill(labelname);\n await this.page.locator('.variable-description input').fill(description);\n }\n\n async verifyGlobalVariableCreation(variableName: string): Promise<void> {\n await this.page.locator(\"[id='variables-filter']\").fill(variableName);\n await expect(this.page.locator('.variable.ui-sortable-handle').filter({ hasText: variableName })).toBeVisible();\n }\n async submitTheVariable(): Promise<void> {\n const pagesubmit = await this.page.locator('.button.save');\n await pagesubmit.hover();\n await pagesubmit.click();\n }\n async deleteGlobalVariable(variableName: string): Promise<void> {\n await this.page.locator(\"[id='variables-filter']\").fill(variableName);\n await this.page.getByText('Delete').click();\n await expect(this.page.locator('h4.ng-binding')).toContainText(variableName);\n await this.page.getByRole('button', { name: 'Cancel' }).click();\n await this.verifyGlobalVariableCreation(variableName);\n await this.page.getByText('Delete').click();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await this.page.locator('alert.notice.ng-scope').isVisible();\n }\n async editVariable(variableName: string, editedvariabletext: string): Promise<void> {\n await this.page.locator(\"[id='variables-filter']\").fill(variableName);\n await this.page.getByText('Edit').click();\n await this.addVariablelabel.clear();\n await this.addVariablelabel.fill(editedvariabletext);\n await this.page.getByRole('button', { name: 'Save' }).click();\n await expect(\n this.page.locator('.variable.ui-sortable-handle').getByText(editedvariabletext, { exact: true }),\n ).toBeVisible();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class HomePage extends WithPage {\n configureButton: Locator;\n viewModeButton: Locator;\n constructor(page: Page) {\n super(page);\n this.configureButton = this.page.getByRole('button', { name: 'Configure' });\n this.viewModeButton = this.page.getByRole('button', { name: 'back icon Back to view mode' });\n }\n\n async verifyHomePage(): Promise<void> {\n await expect(this.page.getByRole('heading', { name: 'Digital.ai Release Home' })).toBeVisible();\n }\n\n async verifyConfigureButton(): Promise<void> {\n await this.configureButton.click();\n await expect(this.viewModeButton).toBeVisible();\n await this.viewModeButton.click();\n }\n\n async addReleaseTiles(): Promise<void> {\n await this.configureButton.click();\n await this.page.getByRole('button', { name: 'Add tiles' }).click();\n await this.page.getByPlaceholder('Search...').fill('releases');\n await this.page.getByPlaceholder('Search...').click();\n await this.page.getByText('Release tile (Global)').hover();\n await this.page\n .locator('xlr-tile-card')\n .filter({ hasText: 'Release tile (Global) Add See' })\n .getByRole('button')\n .click();\n await this.page.getByRole('button', { name: 'back icon Back to view mode' }).click();\n await expect(this.page.getByRole('heading', { name: 'Releases' }).first()).toBeVisible();\n }\n\n async addWorkflowTiles(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add tiles' }).click();\n await this.page.getByText('Workflow tile (Global)').hover();\n await this.page\n .locator('xlr-tile-card')\n .filter({ hasText: 'Workflow tile (Global) Add' })\n .getByRole('button')\n .click();\n await this.page.getByRole('button', { name: 'back icon Back to view mode' }).click();\n await expect(this.page.getByRole('heading', { name: 'Introducing Workflows' }).first()).toBeVisible();\n }\n\n async addApplicationTiles(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add tiles' }).click();\n await this.page.getByText('Application tile (Global)').hover();\n await this.page\n .locator('xlr-tile-card')\n .filter({ hasText: 'Application tile (Global) Add' })\n .getByRole('button')\n .click();\n await this.page.getByRole('button', { name: 'back icon Back to view mode' }).click();\n await expect(this.page.getByRole('heading', { name: 'Applications' }).first()).toBeVisible();\n }\n\n async addTemplateTiles(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add tiles' }).click();\n await this.page.getByText('Template tile (Global)').hover();\n await this.page\n .locator('xlr-tile-card')\n .filter({ hasText: 'Template tile (Global) Add' })\n .getByRole('button')\n .click();\n await this.page.getByRole('button', { name: 'back icon Back to view mode' }).click();\n await expect(this.page.getByRole('heading', { name: 'Templates' }).first()).toBeVisible();\n }\n\n async addAnnouncementTiles(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add tiles' }).click();\n await this.page.getByText('Announcement tile (Global)').hover();\n await this.page\n .locator('xlr-tile-card')\n .filter({ hasText: 'Announcement tile (Global) Add' })\n .getByRole('button')\n .click();\n await this.page.getByRole('button', { name: 'back icon Back to view mode' }).click();\n await expect(this.page.getByRole('heading', { name: 'Getting started' }).first()).toBeVisible();\n }\n\n async addAnaslyticsTiles(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add tiles' }).click();\n await this.page.getByText('Analytics tile (Global)').hover();\n await this.page\n .locator('xlr-tile-card')\n .filter({ hasText: 'Analytics tile (Global) Add' })\n .getByRole('button')\n .click();\n await this.page.getByRole('button', { name: 'back icon Back to view mode' }).click();\n await expect(this.page.getByRole('button', { name: 'View Analytics' }).nth(1)).toBeVisible();\n }\n /**\n * Remove the tiles from the home page\n * @param tileName name of the tile to be removed\n * tileName TileName should be \"Releases\", \"Workflows\", \"Applications\", \"Templates\", \"Announcements\", \"Analytics\"\n */\n async removeTiles(tileName: string): Promise<void> {\n await this.configureButton.click();\n await this.page\n .locator('.xlr-tile-container[data-title=\"' + tileName + '\"]')\n .last()\n .hover();\n await this.page\n .locator('[data-title=\"' + tileName + '\"] .delete-icon')\n .last()\n .click();\n await expect(this.page.getByRole('heading', { name: 'Delete tile' })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await this.viewModeButton.click();\n }\n\n async verifyWhatsNewButton(): Promise<void> {\n await this.page.getByText(`What's new`).waitFor({ state: 'visible' });\n await this.page.getByText(`What's new`).click();\n await expect(this.page.getByText('Introducing Analytics')).toBeVisible();\n await this.page.getByLabel('Close').click();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\nimport { Util } from './common/util';\n\nexport class HeaderPage extends WithPage {\n announcementIcon: Locator;\n settingsIcon: Locator;\n aboutMenu: Locator;\n util: Util;\n\n constructor(page: Page) {\n super(page);\n this.announcementIcon = this.page.getByLabel('Open Resource Center');\n this.settingsIcon = this.page.locator('i[aria-label=\"settings-admin-opaque icon\"]');\n this.aboutMenu = this.page.getByText('About Digital.ai Release');\n this.util = new Util(page);\n }\n\n async verifyVersionNumber(versionNumber: string): Promise<void> {\n const year = new Date().getFullYear();\n await this.settingsIcon.click();\n await this.aboutMenu.click();\n await expect(this.page.getByText('Version ' + versionNumber)).toBeVisible();\n await expect(this.page.getByRole('img', { name: 'Release' })).toBeVisible();\n await expect(this.page.getByText(`ⓒ ${year} Digital.ai Software,`)).toBeVisible();\n await this.util.clickCloseIcon();\n }\n\n async verifyProductAnnouncements(): Promise<void> {\n await expect(this.announcementIcon).toBeVisible();\n await this.announcementIcon.click();\n expect(await this.page.locator('#pendo-guide-container').innerText()).toContain('Product updates');\n }\n\n async clickHelpIcon(): Promise<void> {\n await this.page.getByTestId('right-side-nav').getByRole('button', { name: 'Help' }).click();\n }\n\n async verifyOnlineDocumentation(): Promise<void> {\n const versionNumber = await this.getVersionNumber();\n await this.clickHelpIcon();\n const page2Promise = this.page.waitForEvent('popup');\n await expect(this.page.getByText('Online documentation')).toBeVisible();\n await this.page.getByText('Online documentation').click();\n const page2 = await page2Promise;\n expect(page2.url()).toContain(\n 'https://docs.digital.ai/bundle/devops-release-version-v.' +\n versionNumber.substring(8, 12) +\n '/page/release/how-to/get-started-with-xl-release.html',\n );\n await this.page.bringToFront();\n }\n\n async verifySupportRequest(): Promise<void> {\n await expect(this.page.getByRole('menuitem', { name: 'Submit a support request' })).toBeVisible();\n const page2Promise = this.page.waitForEvent('popup');\n await this.page.getByRole('menuitem', { name: 'Submit a support request' }).click();\n const page2 = await page2Promise;\n expect(page2.url()).toContain('https://support.digital.ai/hc/en-us/');\n await this.page.bringToFront();\n }\n\n async verifySuggestAFeature(): Promise<void> {\n await expect(this.page.getByText('Suggest a feature')).toBeVisible();\n const page2Promise = this.page.waitForEvent('popup');\n await this.page.getByText('Suggest a feature').click();\n const page2 = await page2Promise;\n expect(page2.url()).toContain('https://ideas.digital.ai/devops');\n await this.page.bringToFront();\n }\n\n async verifyDigitalAiWebsite(): Promise<void> {\n await expect(this.page.getByText('Digital.ai website')).toBeVisible();\n const page2Promise = this.page.waitForEvent('popup');\n await this.page.getByText('Digital.ai website').click();\n const page2 = await page2Promise;\n expect(page2.url()).toContain('https://digital.ai/');\n await this.page.bringToFront();\n }\n\n async clickAvatarIcon(username: string): Promise<void> {\n await this.page.getByLabel(username, { exact: true }).click();\n }\n\n async verifyUser(userFullName: string): Promise<void> {\n await this.page.locator('li').getByLabel(userFullName).click();\n await expect(this.page.getByRole('heading', { name: 'Personal settings for admin' })).toBeVisible();\n }\n\n async clickAccessTokens(): Promise<void> {\n await this.page.getByText('Access tokens').click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Access tokens')).toBeVisible();\n }\n\n async getVersionNumber(): Promise<string> {\n await this.settingsIcon.click();\n await this.aboutMenu.click();\n const versionNumber = await this.page.locator('.version-text').innerText();\n await this.util.clickCloseIcon();\n return versionNumber;\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\nimport { Util } from './common/util';\n\nexport class ManagePluginsPage extends WithPage {\n util: Util;\n constructor(page: Page) {\n super(page);\n this.util = new Util(page);\n }\n\n async openPluginGallery(): Promise<void> {\n await this.util.openSideNavMenu('Plugin gallery');\n await expect(this.page.getByLabel('breadcrumb').getByText('Plugin gallery')).toBeVisible();\n }\n\n async openInstalledPlugins(): Promise<void> {\n await this.util.openSideNavMenu('Installed plugins');\n await expect(this.page.getByLabel('breadcrumb').getByText('Installed plugins')).toBeVisible();\n }\n\n async searchForPlugins(searchText: string): Promise<void> {\n await this.page.getByPlaceholder('Search for plugin').fill(searchText);\n expect(await this.page.locator('.PluginTile__title-and-version___1HsNr span').count()).toBeGreaterThan(0);\n }\n\n async refreshPluginList(): Promise<void> {\n await expect(this.page.getByTestId('plugin-refresh-btn')).toBeVisible();\n await this.page.getByTestId('plugin-refresh-btn').click();\n }\n\n async clickInstallNow(pluginName: string): Promise<void> {\n await this.page\n .locator('div')\n .filter({ hasText: 'Install now' + pluginName })\n .getByRole('button')\n .click();\n }\n\n async expectRestartInfo(): Promise<void> {\n await expect(this.page.getByLabel('info')).toContainText(\n 'Restart Digital.ai Release to finish installing the plugin.',\n );\n }\n\n async expectNewPluginInstallationInfo(pluginName: string): Promise<void> {\n await expect(this.page.getByText('New plugin installedPlugin')).toBeVisible();\n await expect(this.page.getByLabel('info').locator('div')).toContainText(\n 'New plugin installedPlugin release-' +\n pluginName.toLowerCase() +\n '-integration has been installed, click here to reload the changes or refresh your browser',\n );\n }\n\n async clickUpload(): Promise<void> {\n await this.page.getByTestId('dot-button').click();\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class PersonalAccessTokenPage extends WithPage {\n async openPersonalAccessTokenPage(): Promise<this> {\n // await this.page.locator(\"button.dot-avatar\").click()\n // await this.page.locator(\"//div[normalize-space()='Access tokens']\").click()\n await this.page.goto('./#/personal-access-token');\n await expect(this.page).toHaveTitle('Access tokens / Personal settings - Digital.ai Release');\n return this;\n }\n\n async addNewToken(tokenName: string): Promise<this> {\n //await expect(this.page).toHaveTitle('Access tokens / Personal settings - Digital.ai Release')\n\n await this.page.locator('#tokenText').fill(tokenName);\n await this.page.locator(\"button[type='submit']\").click();\n return this;\n }\n}\n","import { Util } from './common/util';\nimport { WithPage } from './WithPage';\nimport { Page, expect } from '@playwright/test';\n\nexport class PersonalSettingsPage extends WithPage {\n util: Util;\n constructor(page: Page) {\n super(page);\n this.util = new Util(page);\n }\n\n async openProfile(): Promise<void> {\n await this.util.openSideNavMenu('Profile');\n }\n\n async openAccessToken(): Promise<void> {\n await this.util.openSideNavMenu('Access tokens');\n }\n\n async editUserProfile(email: string): Promise<void> {\n await this.page.getByLabel('Email address').click();\n await this.page.getByLabel('Email address').fill(email);\n await this.page.getByTestId('dot-button').click();\n expect(await this.page.locator('.saved-text').textContent()).toContain('Last saved on ');\n }\n\n async generateNewAccessToken(tokenName: string, expiryOptions: string): Promise<void> {\n await this.page.getByRole('button', { name: 'Generate token' }).click();\n await this.page.getByLabel('Token name').click();\n await this.page.getByLabel('Token name').fill(tokenName);\n await this.page\n .getByRole('textbox', { name: 'Token expiration' })\n .getByLabel('Token expiration')\n .selectOption(expiryOptions);\n await this.page\n .locator('label')\n .filter({ hasText: 'Use all permissions' })\n .getByTestId('RadioButtonCheckedIcon')\n .click();\n await this.page.getByRole('button', { name: 'Generate', exact: true }).click();\n await expect(this.page.getByTestId('alert-button-tooltip').getByTestId('dot-button')).toBeVisible();\n await expect(this.page.getByText(tokenName)).toBeVisible();\n }\n\n async deleteAccessToken(tokenName: string): Promise<void> {\n await this.page.locator('.MuiTableRow-root').filter({ hasText: tokenName }).getByTestId('button-icon-i').click();\n await expect(this.page.getByRole('heading', { name: 'Delete token' })).toBeVisible();\n await expect(this.page.getByLabel('Delete token')).toContainText('Delete token');\n await this.page.getByRole('button', { name: 'delete icon Delete' }).click();\n await expect(this.page.getByText(tokenName)).not.toBeVisible();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class UserModal extends WithPage {\n userName: Locator;\n name: Locator;\n email: Locator;\n password: Locator;\n cnfPassword: Locator;\n saveButton: Locator;\n cancelButton: Locator;\n deleteButton: Locator;\n constructor(page: Page) {\n super(page);\n this.userName = page.locator('#username');\n this.name = page.locator('#fullName');\n this.email = page.locator('#email');\n this.password = page.locator('#password');\n this.cnfPassword = page.locator('#confirmPassword');\n this.saveButton = page.getByTestId('save-btn');\n this.cancelButton = page.getByRole('button', { name: 'Cancel' });\n this.deleteButton = page.getByRole('button', { name: 'Delete' });\n }\n\n async setUserName(username: string): Promise<void> {\n return await this.userName.fill(username);\n }\n\n async setFullName(fullName: string): Promise<void> {\n return await this.name.fill(fullName);\n }\n\n async setEmail(email: string): Promise<void> {\n return await this.email.fill(email);\n }\n\n async setPassword(password: string): Promise<void> {\n return await this.password.fill(password);\n }\n\n async setConfirmPassword(cnfPassword: string): Promise<void> {\n return await this.cnfPassword.fill(cnfPassword);\n }\n\n async save(): Promise<void> {\n await this.saveButton.isEnabled();\n await expect(this.saveButton).not.toBeDisabled();\n await this.saveButton.focus();\n await this.saveButton.click();\n }\n\n async cancel(): Promise<void> {\n await this.cancelButton.click();\n }\n\n async delete(): Promise<void> {\n await this.deleteButton.click();\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { UserModal } from './userModal';\nimport { Util } from '../common/util';\n\nexport class UsersPage extends WithPage {\n page: Page;\n modal: UserModal;\n util: Util;\n constructor(page: Page) {\n super(page);\n this.page = page;\n this.modal = new UserModal(page);\n this.util = new Util(page);\n }\n\n async openUsersPage(): Promise<void> {\n this.page.goto('./#/users', { timeout: 1000 });\n }\n\n async toggleLoginPermission(username: string): Promise<void> {\n await this.page\n .getByRole('row', { name: '' + username + '' })\n .getByRole('checkbox')\n .click();\n await expect(this.page.getByRole('row', { name: '' + username + '' }).locator('.Mui-checked')).toBeChecked();\n }\n\n async addUser(): Promise<void> {\n await this.page.locator('.new-user-btn').click();\n }\n\n async createUser(username: string, password: string): Promise<void> {\n await this.modal.setUserName(username);\n await this.modal.setFullName(username);\n await this.modal.setEmail('testuser@company.com');\n await this.modal.setPassword(password);\n await this.modal.setConfirmPassword(password);\n await this.modal.save();\n }\n\n async expectToHaveLoginPermission(username: string): Promise<void> {\n return await expect(this.page.getByRole('row', { name: '' + username + '' }).getByRole('checkbox')).toBeChecked();\n }\n\n async deleteUser(username: string): Promise<void> {\n await this.page\n .getByRole('row', { name: '' + username + '' })\n .locator('i')\n .nth(1)\n .click();\n await this.modal.delete();\n }\n async openRoles(): Promise<void> {\n await this.util.openSideNavMenu('Roles');\n await expect(this.page.getByLabel('breadcrumb').getByText('Roles')).toBeVisible();\n }\n\n async openPermissions(): Promise<void> {\n await this.util.openSideNavMenu('Permissions');\n await expect(this.page.locator('.permissions-table-v2')).toBeVisible();\n }\n\n async openTaskAccess(): Promise<void> {\n await this.util.openSideNavMenu('Task access');\n await expect(this.page.getByLabel('breadcrumb').getByText('Task access')).toBeVisible();\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class WorkflowCatalogPage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async installReleaseRunner(headingName: string): Promise<void> {\n await this.page.locator('.workflow-card').filter({ hasText: headingName }).getByTestId('dot-button').click();\n await expect(this.page.getByRole('heading', { name: 'Choose folder' })).toBeVisible();\n await this.page.locator('.xl__dropdown-indicator-container').click();\n await this.page.getByText('Samples & Tutorials').click();\n await this.page.getByRole('button', { name: 'Run workflow' }).click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Install additional Digital.ai')).toBeVisible();\n await this.page.getByRole('heading', { name: 'Prepare Digital.ai Release URL' }).waitFor();\n await expect(this.page.getByRole('heading', { name: 'Prepare Digital.ai Release URL' })).toBeVisible();\n await this.page.getByRole('heading', { name: 'Digital.ai Release URL' }).nth(2).waitFor();\n await expect(this.page.getByRole('heading', { name: 'Digital.ai Release URL' }).nth(2)).toBeVisible();\n }\n\n async abortInstallation(): Promise<void> {\n await this.page.getByRole('button', { name: 'Abort' }).click();\n await this.page.getByRole('button', { name: 'cancel icon Abort' }).click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Install additional Digital.ai')).not.toBeVisible();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\nimport { WorkflowCatalogPage } from './workflowCatalogPage';\n\nexport class SettingsMenu extends WithPage {\n settingsIcon: Locator;\n configureSystemMessageMenu: Locator;\n usersAndPermissionMenu: Locator;\n managePluginMenu: Locator;\n systemSettingsMenu: Locator;\n taskManagerMenu: Locator;\n runnerMenu: Locator;\n viewSystemInfoMenu: Locator;\n getDataSupportMenu: Locator;\n renewLicenseMenu: Locator;\n aboutMenu: Locator;\n closeIcon: Locator;\n installRunnerButton: Locator;\n workflowCatalogPage: WorkflowCatalogPage;\n constructor(page: Page) {\n super(page);\n this.settingsIcon = this.page.getByRole('button', { name: 'Settings' });\n this.usersAndPermissionMenu = this.page.getByRole('menuitem', { name: 'users icon Users and permissions' });\n this.managePluginMenu = this.page.getByRole('menuitem', { name: 'plugins icon Manage plugins' });\n this.systemSettingsMenu = this.page.getByRole('menuitem', { name: 'System settings' });\n this.runnerMenu = this.page.getByText('Runners');\n this.configureSystemMessageMenu = this.page.getByText('Configure system message');\n this.taskManagerMenu = this.page.getByText('Task manager');\n this.viewSystemInfoMenu = this.page.getByText('View system information');\n this.getDataSupportMenu = this.page.getByText('Get data for support');\n this.renewLicenseMenu = this.page.getByText('Renew license');\n this.aboutMenu = this.page.getByText('About Digital.ai Release');\n this.closeIcon = this.page.locator('.xl-icon.close-icon');\n this.installRunnerButton = this.page.getByTestId('create-btn');\n this.workflowCatalogPage = new WorkflowCatalogPage(page);\n }\n\n async openUsersAndPermissions(): Promise<void> {\n await this.settingsIcon.click();\n await this.usersAndPermissionMenu.click();\n }\n\n async openManagePlugin(): Promise<void> {\n await this.settingsIcon.click();\n await this.managePluginMenu.click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Plugin gallery')).toBeVisible();\n }\n\n async openSystemSettings(): Promise<void> {\n await this.settingsIcon.click();\n await this.systemSettingsMenu.click();\n await expect(this.page.getByLabel('breadcrumb').getByText('System settings')).toBeVisible();\n }\n\n async openRunner(): Promise<void> {\n await this.settingsIcon.click();\n await this.runnerMenu.click();\n await expect(this.page.getByRole('link', { name: 'Runners' })).toBeVisible();\n }\n\n async openConfigureSystemMessage(): Promise<void> {\n await this.settingsIcon.click();\n await this.configureSystemMessageMenu.click();\n await expect(this.page.getByRole('heading', { name: 'System message' })).toBeVisible();\n await this.closeIcon.click();\n }\n\n async configureSystemMessage(message: string): Promise<void> {\n await this.settingsIcon.click();\n await this.configureSystemMessageMenu.click();\n await this.page.getByLabel('Enable system message').check();\n await this.page.getByLabel('Type here...').locator('div').nth(2).click();\n await this.page.getByLabel('Type here...').fill(message);\n await this.page.getByRole('button', { name: 'Save' }).click();\n await expect(this.page.locator('system-message')).toContainText(message);\n }\n\n async disableSystemMessage(): Promise<void> {\n await this.settingsIcon.click();\n await this.configureSystemMessageMenu.click();\n await this.page.getByLabel('Enable system message').uncheck();\n await this.page.getByRole('button', { name: 'Save' }).click();\n await expect(this.page.getByRole('alert')).not.toBeVisible();\n }\n\n async openTaskManager(): Promise<void> {\n await this.settingsIcon.click();\n await this.taskManagerMenu.click();\n await expect(this.page.getByRole('link', { name: 'Task manager' })).toBeVisible();\n }\n\n async openViewSystemInformation(): Promise<void> {\n const versionNumber = await this.getVersionNumber();\n await this.settingsIcon.click();\n await this.viewSystemInfoMenu.click();\n await expect(this.page.getByRole('heading', { name: 'Release system information' })).toBeVisible();\n await expect(this.page.getByRole('rowgroup')).toContainText(versionNumber);\n }\n\n async openGetDataForSupport(): Promise<void> {\n await this.settingsIcon.click();\n await this.getDataSupportMenu.click();\n await expect(this.page.getByRole('heading', { name: 'Get data for support' })).toBeVisible();\n await expect(this.page.locator('support-accelerator-modal')).toContainText(\n 'See https://support.digital.ai for more information or to open a support request.',\n );\n }\n\n async downloadSupportData(): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n this.page.on('download', () => {});\n const downloadPromise = this.page.waitForEvent('download');\n await this.page.getByRole('button', { name: 'Download' }).click();\n await downloadPromise;\n }\n\n async openRenewLicense(): Promise<void> {\n await this.settingsIcon.click();\n const page1Promise = this.page.waitForEvent('popup');\n await this.page.getByText('Renew license').click();\n const page1 = await page1Promise;\n expect(page1.url()).toContain('/productregistration');\n await expect(page1.getByRole('button', { name: 'Install license' })).toBeVisible();\n await this.page.bringToFront();\n }\n\n async getVersionNumber(): Promise<string> {\n await this.settingsIcon.click();\n await this.aboutMenu.click();\n const versionNumber = await this.page.locator('.version-text').innerText();\n await this.closeIcon.click();\n return versionNumber;\n }\n\n async openAbout(): Promise<void> {\n await this.settingsIcon.click();\n await this.aboutMenu.click();\n await expect(this.page.getByRole('heading', { name: 'About' })).toBeVisible();\n await this.closeIcon.click();\n }\n}\n","import { Page } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class TaskDetails extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class ReleaseCalendarPage extends WithPage {\n private dayFormat!: string;\n private yearFormat!: number;\n private monthFormat!: string;\n private yearFormatString!: string;\n\n async openReleaseCalendarPage(): Promise<this> {\n await this.page.goto('./#/releases/calendar');\n //Define date format to verify different calendar views\n const today = new Date();\n let options: Intl.DateTimeFormatOptions = {\n weekday: 'long',\n year: 'numeric',\n month: 'short',\n day: 'numeric',\n };\n this.dayFormat = today.toLocaleDateString('en-US', options); // Saturday, September 17, 2016\n this.yearFormat = today.getFullYear();\n this.yearFormatString = this.yearFormat.toString();\n options = { month: 'long', year: 'numeric' };\n this.monthFormat = today.toLocaleDateString('en-US', options);\n this.monthFormat = this.monthFormat.replace(/(\\w+) (\\d+)/, '$1, $2');\n await expect(this.page.locator('.tl-viewport')).toBeVisible();\n return this;\n }\n\n async exportCalendar(): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n this.page.on('download', () => {});\n await this.page.getByRole('button', { name: 'download icon Export calendar' }).click();\n const downloadPromise = this.page.waitForEvent('download');\n await this.page.getByRole('button', { name: 'Export' }).click();\n await downloadPromise;\n }\n\n async cancelCalendarExport(): Promise<number> {\n let downloadCount = 0;\n // Listen to download events\n this.page.on('download', (_download) => {\n downloadCount++;\n });\n await this.page.getByRole('button', { name: 'download icon Export calendar' }).click();\n await this.page.getByRole('button', { name: 'Cancel' }).click();\n return downloadCount;\n }\n\n async verifyDayView(): Promise<void> {\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: 'Day' }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n //Verify Page has correct day format displayed at the page bottom\n await expect(this.page.getByText(this.dayFormat)).toBeVisible();\n }\n\n async verifyYearView(): Promise<void> {\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: 'Year' }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n //Verify Page has correct Year format displayed at the page bottom\n await expect(this.page.locator('.tl-footer-label').filter({ hasText: this.yearFormatString })).toHaveText(\n this.yearFormatString,\n );\n }\n\n async verifyMonthView(): Promise<void> {\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: 'Month' }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n //Verify Page has correct Year format displayed at the page bottom\n await expect(this.page.locator('.tl-footer-label').filter({ hasText: this.monthFormat })).toHaveText(\n this.monthFormat,\n );\n }\n\n async verifyPageContent(title: string): Promise<void> {\n const view_type = ['Day', 'Week', 'Month', 'Year'];\n for (const view of view_type) {\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: view }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n //Verify Page has correct Year format displayed at the page bottom\n await expect(this.page.getByText(title)).toBeVisible();\n }\n }\n\n async filterReleaseByTitle(title: string): Promise<void> {\n await this.page.getByPlaceholder('Filter by release title').click();\n await this.page.getByPlaceholder('Filter by release title').fill(title);\n await this.page.getByPlaceholder('Filter by release title').press('Enter');\n //Verify Page has correct Year format displayed at the page bottom\n await this.verifyPageContent(title);\n }\n\n async filterReleaseByTags(tags: string[], release_title: string): Promise<void> {\n await this.page.locator('.tl-filter-release-tags').locator('.react-tagsinput').click();\n for (let tag of tags) {\n tag = tag.toString();\n await this.page.locator('.tl-filter-release-tags').locator('.react-tagsinput-input').fill(tag);\n await this.page.getByTitle(tag).locator('i').click();\n }\n await this.verifyPageContent(release_title);\n }\n\n async filterTaskByTags(tags: string[], task_title: string, release_title: string): Promise<void> {\n await this.page.locator('.tl-filter-task-tags').locator('.react-tagsinput').click();\n for (let tag of tags) {\n tag = tag.toString();\n await this.page.locator('.tl-filter-task-tags').locator('.react-tagsinput-input').fill(tag);\n await this.page.getByTitle(tag).locator('i').click();\n }\n //Make sure task is visible on calnedar page\n await this.verifyPageContent(task_title);\n //Make sure parent release of the selected task is visible on calnedar page\n await this.verifyPageContent(release_title);\n }\n\n async filterReleaseByStatus(release_status: string, release_title: string): Promise<void> {\n if (!(await this.page.locator('.tl-filter-advanced').isVisible())) {\n await this.page.getByRole('button', { name: 'Advanced filters' }).click();\n }\n await this.page.locator('.tl-filter-release-status').locator('.react-tagsinput').click();\n await this.page.getByTitle(release_status).locator('i').first().click();\n await this.verifyPageContent(release_title);\n }\n\n async filterReleaseByRisk(release_risk: string, release_title: string): Promise<void> {\n if (!(await this.page.locator('.tl-filter-advanced').isVisible())) {\n await this.page.getByRole('button', { name: 'Advanced filters' }).click();\n }\n await this.page.locator('.tl-filter-risk-filter').getByRole('combobox').click();\n await this.page.getByRole('option', { name: release_risk }).click();\n await this.verifyPageContent(release_title);\n }\n\n async filterFlaggedRelease(release_title: string): Promise<void> {\n if (!(await this.page.locator('.tl-filter-advanced').isVisible())) {\n await this.page.getByRole('button', { name: 'Advanced filters' }).click();\n }\n if (\n await this.page.locator('.tl-filter-flag-only.btn.btn-flat.btn-fixed.button-toggle-filter.active').isVisible()\n ) {\n await this.page.getByRole('button', { name: ' Flagged' }).click();\n }\n await this.verifyPageContent(release_title);\n }\n\n async viewRelease(release_title: string, release_id: string): Promise<void> {\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: 'Day' }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n await this.page.locator('.tl-event-title').getByText(release_title).click();\n await this.page.locator('.release-modal-container').locator('.xl-icon.release-icon').click();\n const releaseurl = `/#/releases/${release_id}`;\n const currentURL = await this.page.url();\n // Check if the release name present in redirected URL\n expect(currentURL).toContain(releaseurl);\n }\n\n async viewDependency(source_release: string, dest_release: string): Promise<void> {\n const source_text = source_release + 'dependencies';\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: 'Day' }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n await this.page.getByText(source_release).click();\n await this.page.locator('.release-modal-container').locator('.xl-icon.cluster-dependencies-icon').click();\n await expect(this.page.locator('.tl-drawer-navigation-header')).toHaveText(source_text);\n await expect(this.page.locator('.tl-drawer-dependency-body-title-text')).toHaveText(dest_release);\n }\n\n async downloadIcsCalendar(release_title: string): Promise<number> {\n let downloadCount = 0;\n // Listen to download events\n this.page.on('download', (_download) => {\n downloadCount++;\n });\n await this.page.locator('.tl-header-navigation').getByRole('combobox').click();\n await this.page.getByRole('option', { name: 'Day' }).click();\n await this.page.getByRole('button', { name: 'Today' }).click();\n await this.page.getByText(release_title).click();\n await this.page.locator('.release-modal-container').locator('.xl-icon.calendar-icon').click();\n return downloadCount;\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class ReleaseGroupPage extends WithPage {\n private dayFormat!: string;\n private yearFormat!: number;\n private monthFormat!: string;\n private yearFormatString!: string;\n\n async setStatus(status: string): Promise<void> {\n await this.page.locator('.react-tagsinput').click({ force: true });\n await this.page.getByText('Clear all').click();\n await this.page.locator('.react-tagsinput').click({ force: true });\n if (status === 'Select all') {\n await this.page.getByText(status).click();\n } else {\n await this.page.getByTitle(status).locator('i').first().click();\n }\n }\n\n async openReleaseGroup(title: string): Promise<void> {\n await this.page.locator('xlr-release-group-row').filter({ hasText: title }).getByRole('link').click();\n await this.page.getByTitle(title).click();\n await expect(this.page).toHaveURL(/.*ReleaseGroup/);\n }\n\n async expectReleaseGroupStatus(status: string): Promise<void> {\n await expect(this.page.locator('.release-status')).toContainText(status);\n }\n\n async expectReleaseGroupDisplayed(title: string): Promise<void> {\n await expect(this.page.getByText(title, { exact: true })).toBeVisible();\n }\n\n async expectReleaseGroupNotDisplayed(title: string): Promise<void> {\n await expect(this.page.getByText(title, { exact: true })).not.toBeVisible();\n }\n\n async searchReleaseGroupByTitle(title: string): Promise<void> {\n await this.page.getByPlaceholder('Search for groups...', { exact: true }).click();\n await this.page.getByPlaceholder('Search for groups...', { exact: true }).fill(title);\n await this.page.getByPlaceholder('Search for groups...', { exact: true }).press('Enter');\n }\n\n async deleteReleaseGroup(title: string): Promise<void> {\n await this.page.locator('.fc-list-item-line').filter({ hasText: title }).locator('.fc-item-delete').click();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n }\n\n async clickReleaseGroupEdit(title: string): Promise<void> {\n await this.page.locator('.fc-list-item-line').filter({ hasText: title }).locator('.fc-item-update').click();\n }\n\n async enterReleaseGroupDetails(new_title: string): Promise<void> {\n await this.page.locator('.modal-body').locator('#title').fill(new_title);\n }\n\n async clickSaveButton(): Promise<void> {\n await this.page.locator('.modal-footer').getByRole('button', { name: 'Save' }).click();\n }\n\n async clickCancelButton(): Promise<void> {\n await this.page.locator('.modal-footer').getByRole('button', { name: 'Cancel' }).click();\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class ReleaseGroupTimelinePage extends WithPage {\n async expectReleaseDisplayed(title: string): Promise<void> {\n await expect(this.page.getByText(title, { exact: true })).toBeVisible();\n }\n\n async expectReleaseNotDisplayed(title: string): Promise<void> {\n await expect(this.page.getByText(title, { exact: true })).not.toBeVisible({ timeout: 10000 });\n }\n\n async expectPhaseDisplayed(title: string): Promise<void> {\n await expect(this.page.getByText(title, { exact: true })).toBeVisible();\n }\n\n async openContextMenu(title: string): Promise<void> {\n await this.page.locator('.timeline-row-name').filter({ hasText: title }).locator('.options-icon').click();\n }\n\n async removeFromReleaseGroup(): Promise<void> {\n await this.page.getByRole('menuitem', { name: 'Remove from group' }).locator('a').click();\n await this.page.getByRole('button', { name: 'Remove' }).click();\n }\n\n async expectNumberOfReleases(num_of_release: number): Promise<void> {\n const elementCount = await this.page.locator('.timeline-row-name-release').count();\n expect(elementCount).toBe(num_of_release);\n }\n\n async openAddReleaseList(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add release' }).click();\n }\n\n async filterReleases(title: string): Promise<void> {\n await this.page.getByPlaceholder('Search for a release...').click();\n await this.page.getByPlaceholder('Search for a release...').fill(title);\n await this.page.waitForTimeout(5000);\n await this.page.getByPlaceholder('Search for a release...').press('Enter');\n }\n\n async expectNumberOfReleasesOnModal(num_of_release: number): Promise<void> {\n const elementCount = await this.page.locator('.release-modal-line').count();\n expect(elementCount).toBe(num_of_release);\n }\n\n async selectAllReleaseCheckbox(): Promise<void> {\n await this.page.getByLabel('Select all').check();\n }\n\n async addReleasesToGroup(): Promise<void> {\n await this.page.getByRole('button', { name: 'Add' }).click();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { TaskDrawer } from '../task-drawer/taskDrawer';\n\nexport class TaskListPage extends WithPage {\n taskDrawer: TaskDrawer;\n commentBox: Locator;\n\n constructor(page: Page) {\n super(page);\n this.taskDrawer = new TaskDrawer(page);\n this.commentBox = this.page.locator(`.input-block-level`);\n }\n\n async openTask(taskName: string): Promise<void> {\n await this.filterTaskByTitle(taskName);\n await this.page.getByText(taskName).first().click();\n }\n\n async skip(taskName: string, comment: string): Promise<void> {\n await this.page.locator(`.row.task-inner`, { hasText: taskName }).locator('span.skip').click();\n await this.commentBox.click();\n await this.commentBox.fill(comment);\n await this.page.getByRole('button', { name: 'Skip', exact: true }).click();\n }\n\n async fail(taskName: string, comment: string): Promise<void> {\n await this.page.locator(`.row.task-inner`, { hasText: taskName }).locator('span.fail').click();\n await this.commentBox.click();\n await this.commentBox.fill(comment);\n await this.page.getByRole('button', { name: 'Fail', exact: true }).click();\n }\n\n async waitForTaskFailed(taskName: string): Promise<void> {\n await expect(this.page.locator(`.row.task-inner`, { hasText: taskName }).getByText('Failed')).toBeVisible();\n }\n\n async waitForTaskInProgress(taskName: string): Promise<void> {\n await expect(this.page.locator(`.row.task-inner`, { hasText: taskName }).getByText('In progress')).toBeVisible();\n }\n\n async openTaskInReleaseView(taskName: string): Promise<void> {\n await this.page.locator(`.row.task-inner`, { hasText: taskName }).locator('a.view-in-release').click();\n }\n\n async openCalendarViaTaskDueDate(taskName: string): Promise<void> {\n await this.page.locator(`.row.task-inner`, { hasText: taskName }).locator(`.calendar-link a`).click();\n }\n\n async openTaskDrawer(taskName: string): Promise<void> {\n await this.page.locator(`.row.task-inner`, { hasText: taskName }).getByText(taskName).click();\n }\n\n async filterTaskByTitle(taskname: string): Promise<void> {\n await this.page.locator('.searchFilter').click();\n await this.page.locator('.searchFilter').fill(taskname);\n await this.page.locator('.searchFilter').press('Enter');\n await expect(this.page.locator('//div[@data-task-title]').filter({ hasText: taskname }).first()).toBeVisible();\n }\n\n async filterTasksByTag(tag: string, taskTitleForValidation: string): Promise<void> {\n await this.page.locator('.toggle-search-filter').click();\n await this.page.locator('.tag-input').fill(tag);\n await this.page.locator('.tag-input').press('Enter');\n //TODO: Validation can be changed based on actual test case implementation\n await expect(\n this.page.locator('//div[@data-task-title]').filter({ hasText: taskTitleForValidation }),\n ).toBeVisible();\n }\n\n async filterTasksByReleaseTitle(releaseTitle: string): Promise<void> {\n await this.page.locator('.toggle-search-filter').click();\n await this.page.locator('.release-input').fill(releaseTitle);\n await this.page.locator('.release-input').press('Enter');\n await expect(this.page.locator('.group-title').filter({ hasText: releaseTitle })).toBeVisible();\n }\n\n async openSingleTask(taskId: string, showDetails = false): Promise<void> {\n await this.page.goto(`./#/tasks/${taskId}?showDetails=${showDetails}`);\n }\n\n async expectReleaseLinksDisplayed(releaseTitle: string, displayed = true): Promise<void> {\n if (displayed) {\n await expect(this.page.getByRole('link', { name: '' + releaseTitle + '' })).toBeVisible();\n await expect(this.page.locator('.view-in-release')).toBeVisible();\n } else {\n await expect(this.page.getByRole('link', { name: '' + releaseTitle + '' })).not.toBeVisible();\n await expect(this.page.locator('.view-in-release')).not.toBeVisible();\n }\n }\n\n async openTaskList(): Promise<void> {\n await this.page.goto('./#/tasks');\n }\n\n async clickOnAssigneeButton(title: string): Promise<void> {\n await this.page.locator(`.btn-group-filter.btn-group button.btn.btn-flat[title=\"${title}\"]`).click();\n }\n\n async clickOnAssignedToMe(): Promise<void> {\n await this.page.locator(`button[title=\"Assigned to me\"]`).click();\n }\n\n async clickOnAssignedToMyTeams(): Promise<void> {\n await this.page.locator(`button[title=\"Assigned to my teams\"]`).click();\n }\n\n async clickOnAssignedToAllAvailable(): Promise<void> {\n await this.page.locator(`button[title=\"All available\"]`).click();\n }\n\n async expectTaskToNotBeDisplayed(taskTitle: string): Promise<void> {\n await expect(this.page.locator(`.row.task-inner`).filter({ hasText: taskTitle }).getByText(taskTitle)).toHaveCount(\n 0,\n );\n }\n\n async expectTaskToBeDisplayed(taskTitle: string): Promise<void> {\n await expect(this.page.locator(`.row.task-inner`).filter({ hasText: taskTitle }).getByText(taskTitle)).toHaveCount(\n 1,\n );\n }\n\n async expectTasksToBeDisplayed(tasks: { [key: string]: boolean }): Promise<void> {\n for (const [taskTitle, shouldBeDisplayed] of Object.entries(tasks)) {\n if (shouldBeDisplayed) {\n await this.expectTaskToBeDisplayed(taskTitle);\n } else {\n await this.expectTaskToNotBeDisplayed(taskTitle);\n }\n }\n }\n\n async expectTasksDisplayedInOrder(\n expectedTasks: { releaseTitle: string; taskPosition: number; taskTitle: string }[],\n ): Promise<void> {\n for (const task of expectedTasks) {\n const taskElement = await this.page\n .locator(`[data-release-title='${task.releaseTitle}'] .row .task`)\n .nth(task.taskPosition);\n await expect(taskElement).toHaveAttribute('data-task-title', task.taskTitle);\n }\n }\n\n async setOrderBy(orderBy: string): Promise<void> {\n await this.page.locator('.order-selector .btn:first-child').click();\n await this.page.locator(`.order-selector .bootstrap-link:has-text('${orderBy}')`).click();\n }\n\n async expectTaskCountForRelease(releaseTitle: string, expectedCount: number): Promise<void> {\n await expect(\n this.page.locator(`#tasks-content #task-list-grouped-view div:has-text('${releaseTitle}') .task`),\n ).toHaveCount(expectedCount);\n }\n\n async setSearchFilter(filterText: string): Promise<void> {\n await this.page.locator('.searchFilter').fill(filterText);\n }\n\n async clearSearchFilter(): Promise<void> {\n await this.page.locator('.searchFilter').clear();\n }\n\n async setTagsFilter(filterText: string): Promise<void> {\n await this.page.locator('.tag-input').fill(filterText);\n await this.page.locator('.tag-input').press('Enter');\n }\n\n async clickOnStatusField(): Promise<void> {\n await this.page.locator('.ci-filter-status.ng-isolate-scope').click();\n }\n\n async clickOnStatus(statusNames: string[]): Promise<void> {\n await this.clickOnStatusClearAll();\n await this.clickOnStatusField();\n for (let i = 0; i < statusNames.length; i++) {\n await this.page.locator(`i.xl-icon.icon-s.checkbox[data='${statusNames[i]}']`).click();\n }\n // Clicking outside to close the grid dropdown\n await this.clickOnTasksLabel();\n }\n\n async clickOnStatusClearAll(): Promise<void> {\n await this.clickOnStatusField();\n await this.page.locator('a.xl-react-link', { hasText: 'Clear all' }).click();\n await this.clickOnTasksLabel();\n }\n\n async clickOnStatusSelectAll(): Promise<void> {\n await this.clickOnStatusField();\n await this.page.locator('a.xl-react-link', { hasText: 'Select all' }).click();\n await this.clickOnTasksLabel();\n }\n\n async assignTaskToMe(title: string): Promise<void> {\n await this.page.locator(`.task-line`).filter({ hasText: title }).locator(`.assign-to-me`).click();\n await this.page.locator('.modal:visible >> text=\"Assign to me\"').click();\n }\n\n async expectTaskAssignedToMe(title: string): Promise<void> {\n await this.expectTaskAssignedTo(title, 'me');\n }\n\n async expectTaskAssignedTo(title: string, user: string): Promise<void> {\n await expect(this.page.locator(`.task-line:has-text(\"${title}\") >> text=\"${user}\"`).first()).toHaveCount(1);\n }\n\n async expectTaskTitle(taskTitle: string): Promise<void> {\n expect(await this.page.locator('#tasks0').innerText()).toContain(taskTitle);\n }\n\n async clickOnTasksLabel(): Promise<void> {\n await this.page.getByLabel('breadcrumb').getByText('Tasks').click();\n }\n\n async expectGroupView(expected = true): Promise<void> {\n if (expected) {\n await expect(this.page.locator('#group-tasks-by-release')).toBeChecked();\n await expect(this.page.locator('#task-list-grouped-view')).toBeVisible();\n await expect(this.page.locator('#task-ungrouped-view')).not.toBeVisible();\n } else {\n await expect(this.page.locator('#group-tasks-by-release')).not.toBeChecked();\n await expect(this.page.locator('#task-list-grouped-view')).not.toBeVisible();\n await expect(this.page.locator('#task-ungrouped-view')).toBeVisible();\n }\n }\n\n async changeGroupView(): Promise<void> {\n await this.page.locator('#group-tasks-by-release').click();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { DateUtil } from '../common/dateUtil';\n\nexport class TemplatePropertiesPage extends WithPage {\n dateUtil: DateUtil;\n scheduledStartDate: Locator;\n constructor(page: Page) {\n super(page);\n this.dateUtil = new DateUtil(page);\n this.scheduledStartDate = this.page.locator(`.scheduled-start-date .date`);\n }\n\n async getAttachmentsListCount(): Promise<number> {\n return await this.page.locator('.attachments tr').count();\n }\n\n async uploadFile(filePath: string): Promise<void> {\n const fileChooserPromise = this.page.waitForEvent('filechooser');\n await this.page.locator('input[type=\"file\"]').click();\n const fileChooser = await fileChooserPromise;\n await fileChooser.setFiles(filePath);\n }\n\n async expectWithAttachment(filename: string): Promise<void> {\n await expect(this.page.locator('.attachments tr td a').filter({ hasText: filename })).toBeVisible();\n }\n\n async expectWithNoAttachment(filename: string): Promise<void> {\n const test = await this.page.locator('.attachments').isVisible();\n if (test) {\n await expect(this.page.locator('.attachments tr td a').filter({ hasText: filename })).not.toBeVisible();\n }\n }\n\n async downloadFile(filename: string): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n const downloadPromise1 = this.page.waitForEvent('download');\n await this.page.getByText(filename).click();\n const download = await downloadPromise1;\n // Wait for the download process to complete and save the downloaded file in given path.\n await download.saveAs('./core/xlr-ui/build/playwright/' + download.suggestedFilename());\n expect(download.suggestedFilename()).toBe(filename);\n }\n\n async deleteAttachment(fileName: string): Promise<void> {\n await this.page.getByRole('row', { name: fileName }).locator('span').click();\n await this.page.getByText('Remove').click();\n }\n\n async save(): Promise<void> {\n await this.page.getByRole('button', { name: 'Save' }).click({ timeout: 8000 });\n await expect(this.page.locator('.form-footer .last-saved')).toBeVisible();\n }\n\n async reset(): Promise<void> {\n await this.page.getByRole('button', { name: 'Reset' }).waitFor();\n await this.page.getByRole('button', { name: 'Reset' }).click();\n }\n\n async removeDueDate(): Promise<void> {\n await this.page.locator('.due-date .close-icon').click();\n }\n\n async setScheduledStartDate(date: string, monthYear: string): Promise<void> {\n await this.scheduledStartDate.click();\n await this.dateUtil.setDate(date, monthYear);\n }\n\n async setDuration(days?: string, hours?: string, mins?: string): Promise<void> {\n await this.page.locator('.duration-editor').click();\n if (typeof days !== 'undefined') {\n await this.page.locator('.days').fill(days);\n }\n if (typeof hours !== 'undefined') {\n await this.page.locator('.hours').fill(hours);\n }\n if (typeof mins !== 'undefined') {\n await this.page.locator('.minutes').fill(mins);\n }\n }\n\n async expectScheduledStartDateToBe(date: string): Promise<void> {\n expect(await this.page.locator(`.scheduled-start-date .date input`).getAttribute('value')).toBe(date);\n }\n\n async expectDueDateToBe(date: string): Promise<void> {\n expect(await this.page.locator('.due-date .date-editor .date > .light-text').getAttribute('value')).toContain(date);\n }\n\n async expectedDueDateTime(time: string): Promise<void> {\n expect(await this.page.locator('.due-date .date-editor .time-picker-holder input').getAttribute('value')).toContain(\n time,\n );\n }\n\n async expectDurationToBe(duration: string): Promise<void> {\n expect(await this.page.locator('.duration-editor').textContent()).toBe(duration);\n }\n\n async setUsername(username: string): Promise<void> {\n await this.page.locator('.script-username').click();\n await this.page.locator('user-input-with-variable').getByLabel('*').fill(username);\n await this.page.locator('user-input-with-variable').press('Enter');\n }\n\n async setPassword(password: string): Promise<void> {\n await this.page.locator('.field > .display').click();\n await this.page.locator('input[name=\"scriptUserPassword\"]').fill(password);\n await this.page.locator('input[name=\"scriptUserPassword\"]').press('Enter');\n }\n\n async expectScriptUsernameToBe(username: string): Promise<void> {\n expect(await this.page.locator('.script-username').textContent()).toContain(username);\n }\n\n async expectScriptUserPasswordToBe(password: string): Promise<void> {\n expect(await this.page.locator('span[name=\"scriptUserPassword\"]').textContent()).toContain(password);\n }\n}\n","import { Page } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class TemplateCreatePage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async setName(name: string): Promise<void> {\n await this.page.locator('#release-form-title').fill(name);\n }\n\n async setDescription(description: string): Promise<void> {\n await this.page.getByText('Set description...').hover();\n await this.page.locator('.display').filter({ hasText: 'Set description' }).locator('.edit-icon').click();\n await this.page.locator('textarea').click();\n await this.page.locator('textarea').clear();\n await this.page.locator('textarea').fill(description);\n await this.page.getByText('Save', { exact: true }).click();\n }\n\n async create(): Promise<void> {\n await this.page.getByRole('button', { name: 'Create' }).click();\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class TemplateTriggerPage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async expectAllowConcurrentReleasesFromTrigger(expectedValue: boolean): Promise<void> {\n if (expectedValue) {\n await this.page.locator('.col-xs-2 .trigger-item-state').textContent({ timeout: 3000 });\n expect(await this.page.locator('.col-xs-2 .trigger-item-state').textContent()).toContain('Enabled');\n } else {\n await this.page.locator('.col-xs-2 .trigger-item-state').textContent({ timeout: 3000 });\n expect(await this.page.locator('.col-xs-2 .trigger-item-state').textContent()).toContain('Disabled');\n }\n }\n\n async setAllowConcurrentReleasesFromTriggerAndSubmit(checked: boolean): Promise<void> {\n const result = await this.page.locator('.col-xs-2 .trigger-item-state').textContent({ timeout: 3000 });\n if ((result === 'Enabled' && checked === false) || (result == 'Disabled' && checked === true)) {\n await this.page.locator('form[name=\"releaseTriggerOptions\"] label[for=\"cb\"]').click();\n }\n }\n\n async expectTriggersVisible(amount: number): Promise<void> {\n await expect(this.page.locator('.xlr-trigger-row .trigger-row-content')).toHaveCount(amount);\n }\n\n async expectNoNewTriggerButtonShown(): Promise<void> {\n await expect(this.page.locator('.trigger-header a.button.primary')).not.toBeVisible();\n }\n}\n","import { Page } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class TemplateVariablesPage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async clickEditVariable(variableName: string): Promise<TemplateVariableModal> {\n await this.page.locator(\"[id='variables-filter']\").fill(variableName);\n await this.page.getByText('Edit').click();\n return new TemplateVariableModal(this.page);\n }\n}\n\nclass TemplateVariableModal extends WithPage {\n async setLabel(label: string): Promise<void> {\n await this.page.locator('.variable-label input').fill(label);\n }\n\n async setDefalutValue(value: string): Promise<void> {\n await this.page.locator('.variable-value input').fill(value);\n }\n\n async save(): Promise<void> {\n await this.page.locator('#modal .button.save').click();\n }\n}\n","import { Page, expect, Locator } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { TaskDrawer } from '../task-drawer/taskDrawer';\nimport { TemplatePropertiesPage } from './templatePropertiesPage';\nimport { TemplateCreatePage } from './templateCreatePage';\nimport { TemplateTriggerPage } from './templateTriggerPage';\nimport { TemplateVariablesPage } from './templateVaraiablePage';\nimport { Util } from '../common/util';\n\nexport class TemplatePage extends WithPage {\n taskDrawer: TaskDrawer;\n phaseTitle: Locator;\n properties: TemplatePropertiesPage;\n createTemplatePage: TemplateCreatePage;\n triggers: TemplateTriggerPage;\n util: Util;\n variables: TemplateVariablesPage;\n\n constructor(page: Page) {\n super(page);\n this.taskDrawer = new TaskDrawer(page);\n this.phaseTitle = page.locator('.phase .phase-title');\n this.properties = new TemplatePropertiesPage(page);\n this.createTemplatePage = new TemplateCreatePage(page);\n this.triggers = new TemplateTriggerPage(page);\n this.util = new Util(page);\n this.variables = new TemplateVariablesPage(page);\n }\n\n private async openTemplateMenu(menuItem: string): Promise<void> {\n await this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, { exact: true }).click();\n }\n\n async openTaskDrawer(taskName: string): Promise<TaskDrawer> {\n await this.page.getByText(taskName, { exact: true }).click();\n return this.taskDrawer;\n }\n\n async openTaskDrawerFromTableView(taskName: string): Promise<TaskDrawer> {\n await this.page.locator('.name-cell-title').getByText(taskName, { exact: true }).click();\n return this.taskDrawer;\n }\n\n async openTaskDrawerFromGrantt(taskName: string): Promise<TaskDrawer> {\n await this.page.locator('.gantt_tree_content').getByText(taskName, { exact: true }).dblclick();\n return this.taskDrawer;\n }\n\n async openProperties(): Promise<void> {\n await this.util.openSideNavMenu('Properties');\n await expect(this.page.getByLabel('breadcrumb').getByText('Properties')).toBeVisible();\n }\n\n async openVariables(): Promise<void> {\n await this.util.openSideNavMenu('Variables');\n await expect(this.page.getByLabel('breadcrumb').getByText('Variables')).toBeVisible();\n }\n\n async openRelationships(): Promise<void> {\n await this.util.openSideNavMenu('Relationships');\n await expect(this.page.getByLabel('breadcrumb').getByText('Relationships')).toBeVisible();\n }\n\n async openTeamsPermissions(): Promise<void> {\n await this.util.openSideNavMenu('Teams & Permissions');\n await expect(this.page.getByLabel('breadcrumb').getByText('Teams & Permissions')).toBeVisible();\n }\n\n async openDashboard(): Promise<void> {\n await this.util.openSideNavMenu('Dashboard');\n await expect(this.page.getByLabel('breadcrumb').getByText('Dashboard')).toBeVisible();\n }\n\n async openActivityLogs(): Promise<void> {\n await this.util.openSideNavMenu('Activity logs');\n await expect(this.page.getByLabel('breadcrumb').getByText('Activity logs')).toBeVisible();\n }\n\n async openTriggers(): Promise<void> {\n await this.openTemplateMenu('Triggers');\n await expect(this.page.getByLabel('breadcrumb').getByText('Triggers')).toBeVisible();\n }\n\n async backToTemplate(): Promise<void> {\n await this.page.locator('.icon-back').click();\n await expect(this.page.getByLabel('breadcrumb').getByText('Templates')).toBeVisible();\n }\n\n async expectTemplateLabelToBePresent(): Promise<void> {\n await expect(this.page.getByTestId('template-workflow-pill').getByText('Template')).toBeVisible();\n }\n\n async expectSubPage(menuItem: string, toBePresent: boolean): Promise<void> {\n if (toBePresent)\n await expect(this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, { exact: true })).toBeVisible();\n else\n await expect(\n this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, { exact: true }),\n ).not.toBeVisible();\n }\n\n async openFlowView(): Promise<void> {\n await this.util.openSideNavMenu('Flow');\n await expect(this.page.locator('#release-content')).toBeVisible();\n }\n\n async openTableView(): Promise<void> {\n await this.util.openSideNavMenu('Table');\n await expect(this.page.locator('.release-grid-container')).toBeVisible();\n }\n\n async openPlannerView(): Promise<void> {\n await this.util.openSideNavMenu('Planner');\n await expect(this.page.locator('.gantt-container')).toBeVisible();\n }\n\n async openCodeView(): Promise<void> {\n await this.util.openSideNavMenu('Code');\n await expect(this.page.getByLabel('breadcrumb').getByText('Code')).toBeVisible();\n }\n\n async expandGanttFolder(): Promise<void> {\n const icExpandTreeview1 = this.page.locator('.gantt_tree_icon.gantt_open');\n for (const element of await icExpandTreeview1.all()) {\n const blnVal = await element.isVisible();\n if (blnVal) {\n await element.click();\n await this.expandGanttFolder();\n }\n }\n }\n\n async addNewPhase(phaseName?: string): Promise<void> {\n await this.page.getByTestId('add-phase-btn').click();\n if (phaseName) {\n await this.phaseTitle.getByText('New Phase').click();\n await this.phaseTitle.getByRole('textbox').clear();\n await this.phaseTitle.getByRole('textbox').fill(phaseName);\n await this.page.keyboard.press('Enter');\n await expect(this.phaseTitle.filter({ hasText: phaseName })).toBeVisible();\n }\n }\n\n async renamePhase(oldPhaseName: string, newPhaseName: string): Promise<void> {\n await this.phaseTitle.getByText(oldPhaseName).click();\n await this.phaseTitle.filter({ hasText: oldPhaseName }).locator('.editable').clear();\n await this.phaseTitle.filter({ hasText: oldPhaseName }).locator('.editable').fill(newPhaseName);\n await this.page.keyboard.press('Enter');\n await expect(this.phaseTitle.filter({ hasText: newPhaseName })).toBeVisible();\n }\n\n async clickNewRelease(): Promise<void> {\n await this.page.getByTestId('new-release-btn').click();\n await expect(this.page.locator('.release-properties-form')).toBeVisible();\n }\n\n getPhase(phaseName: string): Phase {\n return new Phase(this.page, phaseName);\n }\n}\nclass Phase extends WithPage {\n private readonly phaseLocator: Locator;\n\n constructor(page: Page, phaseName: string) {\n super(page);\n this.phaseLocator = page.locator('.phase', { hasText: phaseName });\n }\n\n async setTitle(title: string): Promise<void> {\n await this.phaseLocator.locator('.phase-header .display').click();\n await this.phaseLocator.locator('.phase-header input').clear();\n await this.phaseLocator.locator('.phase-header input').fill(title);\n await this.phaseLocator.locator('.phase-header input').blur();\n }\n\n async expectTaskBorderWithColor(taskName: string, color: string): Promise<void> {\n await expect(this.page.locator(`.task-box:has-text('${taskName}')`)).toHaveCSS('border-top-color', color);\n }\n\n /**\n *\n * @param taskTitle Title of the task\n * @param taskType : Type of the task\n * @param taskTypeSelector : Selector of the task\n */\n\n async addTaskInPhase(taskTitle: string, taskGroup: string, taskType: string): Promise<void> {\n await this.phaseLocator.getByText('Add task').click();\n await this.page.locator('#task-selector').hover();\n await this.page.locator('button[aria-label=\"Clear\"]').click();\n await this.page.locator('#task-selector').fill(taskGroup);\n await this.page.getByTestId(taskType).click();\n await this.page.locator('.icon-close').click();\n await this.page.locator('#task-title').fill(taskTitle);\n await this.page.getByTestId('save-select-task-btn').click();\n await expect(this.phaseLocator.getByText(taskTitle)).toBeVisible();\n }\n\n async getNumberOfTasks(): Promise<number> {\n return await this.phaseLocator.locator('.task').count();\n }\n\n async expectToHaveNoneditableTitle(phaseTitle: string): Promise<void> {\n await expect(this.phaseLocator.locator('.phase-title > span')).toContainText(phaseTitle);\n }\n\n async expectToHaveTitle(phaseTitle: string): Promise<void> {\n await expect(this.phaseLocator.locator('.phase-title')).toContainText(phaseTitle);\n }\n\n async deleteTaskInPhase(taskName: string): Promise<void> {\n await this.page.locator('.task').filter({ hasText: taskName }).locator('.xl-icon.options-icon').click();\n await this.page.locator('.remove-task-button').click();\n await expect(this.page.getByRole('heading', { name: 'Delete Task' })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.phaseLocator.locator('li').filter({ hasText: taskName })).not.toBeVisible();\n }\n\n async deletePhase(phaseName: string): Promise<void> {\n await this.page.locator('.phase-header').filter({ hasText: phaseName }).locator('.actions').hover();\n await this.page.locator('.phase-header').filter({ hasText: phaseName }).locator('.delete-icon').click();\n await expect(this.page.getByRole('heading', { name: 'Delete Phase' })).toBeVisible();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.page.locator('.phase-header').filter({ hasText: phaseName })).not.toBeVisible();\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class TemplateListPage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async openTemplatesList(filter: string): Promise<void> {\n let url = '/templates';\n if (filter) {\n url += `?has_filter&filter=${filter}`;\n }\n await this.page.goto(url);\n }\n\n async searchBy(criteria: string): Promise<void> {\n await this.page.locator('.searchFilter').clear();\n await this.page.locator('.searchFilter').fill(criteria);\n }\n\n async copy(originTitle: string, targetTitle: string): Promise<void> {\n await this.page.locator('.title').filter({ hasText: originTitle }).locator('.copy').click();\n await this.page.getByLabel('Template name').clear();\n await this.page.getByLabel('Template name').fill(targetTitle);\n await this.page.getByLabel('Description').clear();\n await this.page.getByLabel('Description').fill('description');\n await this.page.getByRole('button', { name: 'Continue' }).click();\n await expect(this.page.getByTestId('template-workflow-pill').getByText('Template')).toBeVisible();\n }\n\n async move(templateName: string, targetFolder: string): Promise<void> {\n await this.page.locator('.template').filter({ hasText: templateName }).locator('.template-actions .move').click();\n await expect(this.page.getByText('Move template to')).toBeVisible();\n if (await this.page.getByRole('button', { name: 'Expand' }).isEnabled())\n await this.page.getByRole('button', { name: 'Expand' }).click();\n await this.page.getByPlaceholder('Search folder...').click();\n await this.page.getByPlaceholder('Search folder...').fill(targetFolder);\n await this.page.getByRole('button', { name: targetFolder }).click();\n await this.page.getByRole('button', { name: 'Move' }).click();\n await expect(this.page.getByText('Add', { exact: true })).toBeVisible();\n await expect(this.page.getByText('Remove')).toBeVisible();\n await this.page.getByRole('button', { name: 'Move' }).click();\n }\n\n async metaInformation(templateName: string, validationMsg?: string): Promise<void> {\n await this.page.locator('.title').filter({ hasText: templateName }).locator('.template-context-menu').click();\n await this.page.getByRole('menuitem', { name: 'Meta information' }).locator('a').click();\n await expect(this.page.getByRole('heading', { name: 'Meta information - ' + templateName })).toBeVisible();\n if (validationMsg) {\n await expect(this.page.getByText(validationMsg)).toBeVisible();\n }\n await expect(this.page.getByRole('button', { name: 'Close' })).toBeVisible();\n }\n\n async expectTemplateVisible(title: string, expected = true): Promise<void> {\n if (expected) {\n await this.page.locator('.template').filter({ hasText: title }).waitFor();\n expect(this.page.locator('.template').filter({ hasText: title })).toBeVisible();\n } else {\n await this.page.locator('.template').filter({ hasText: title }).waitFor();\n expect(this.page.locator('.template').filter({ hasText: title })).not.toBeVisible();\n }\n }\n\n async delete(title: string): Promise<void> {\n await this.searchBy(title);\n await this.page.locator('.title').filter({ hasText: title }).locator('.delete').waitFor();\n await this.page.locator('.title').filter({ hasText: title }).locator('.delete').click();\n await this.page.getByRole('button', { name: 'Delete' }).click();\n await expect(this.page.locator('.title').filter({ hasText: title })).not.toBeVisible();\n }\n\n async clickCreateNewTemplate(): Promise<void> {\n await this.page.getByTestId('dot-button').click();\n await this.page.getByRole('menuitem', { name: 'Create new template' }).click();\n }\n\n async openTemplateByName(templateName: string): Promise<void> {\n await this.filterByTitle(templateName);\n await this.page.locator(`.template`).filter({ hasText: templateName }).locator(`.raised-link`).waitFor();\n await this.page.locator(`.template`).filter({ hasText: templateName }).locator(`.raised-link`).click();\n }\n\n async clickNewReleaseIcon(templateName: string): Promise<void> {\n await this.page\n .locator('xlr-template-row-component')\n .filter({ hasText: templateName })\n .locator('.link .add-icon')\n .click();\n await expect(this.page.getByRole('heading', { name: 'Create new release' })).toBeVisible();\n }\n\n async filterByTitle(templateName: string): Promise<void> {\n await this.page.getByPlaceholder('Filter by title...', { exact: true }).click();\n await this.page.getByPlaceholder('Filter by title...', { exact: true }).fill(templateName);\n await this.page.getByPlaceholder('Filter by title...', { exact: true }).press('Enter');\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class RolesModal extends WithPage {\n roleName: Locator;\n newRoleName: Locator;\n addPrincipal: Locator;\n saveButton: Locator;\n editIcon: Locator;\n deleteButton: Locator;\n searchRoles: Locator;\n constructor(page: Page) {\n super(page);\n this.roleName = page.locator('Role name *');\n this.newRoleName = page.locator('Role name *');\n this.addPrincipal = page.locator('Add a principal...');\n this.saveButton = page.getByRole('button', { name: 'Save' });\n this.editIcon = page.getByRole('row', { name: '' }).getByLabel('Edit', { exact: true });\n this.deleteButton = page.getByRole('button', { name: 'Delete' });\n this.searchRoles = page.getByPlaceholder('Search roles...');\n }\n\n async setRoleName(roleName: string): Promise<void> {\n return await this.page.getByLabel('Role name *').fill(roleName, { timeout: 1000 });\n }\n\n async editRoleName(newRoleName: string): Promise<void> {\n return await this.page.getByLabel('Role name *').fill(newRoleName, { timeout: 1000 });\n }\n\n async setPrincipal(addPrincipal: string): Promise<void> {\n await this.page.getByPlaceholder('Add a principal...').fill(addPrincipal, { timeout: 1000 });\n }\n\n async searchRoleByRoleName(searchRoles: string): Promise<void> {\n await this.page.getByPlaceholder('Search roles...').fill(searchRoles, { timeout: 1000 });\n }\n async save(): Promise<void> {\n await this.saveButton.isEnabled();\n await expect(this.saveButton).not.toBeDisabled();\n await this.saveButton.focus();\n await this.saveButton.click();\n }\n\n async delete(): Promise<void> {\n await this.deleteButton.click();\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\nimport { RolesModal } from './rolesModal';\n\nexport class RolesPage extends WithPage {\n page: Page;\n newRoleButton: Locator;\n modal: RolesModal;\n\n constructor(page: Page) {\n super(page);\n this.page = page;\n this.newRoleButton = this.page.getByTestId('new-role-btn');\n this.modal = new RolesModal(page);\n }\n\n async createRole(roleName: string, addPrincipal: string): Promise<void> {\n await this.newRoleButton.click();\n await this.modal.setRoleName(roleName);\n await this.modal.setPrincipal(addPrincipal);\n await this.modal.save();\n await this.expectToViewCreatedRole(roleName);\n }\n\n async editRole(roleName: string, newRoleName: string): Promise<void> {\n await this.page.getByRole('row', { name: roleName }).getByLabel('Edit', { exact: true }).click();\n await this.modal.editRoleName(newRoleName);\n await this.modal.save();\n }\n\n async searchRoleByRoleName(searchRoles: string): Promise<void> {\n await this.page.getByPlaceholder('Search roles...').fill(searchRoles, { timeout: 1000 });\n }\n\n async searchRoleByAssignedUsername(searchRolesByUsername: string): Promise<void> {\n await this.page\n .getByPlaceholder('Search assigned usernames or external groups...')\n .fill(searchRolesByUsername, { timeout: 1000 });\n }\n\n async deleteRole(roleName: string): Promise<void> {\n await this.page.getByRole('row', { name: roleName }).getByLabel('Delete', { exact: true }).click();\n await this.modal.delete();\n }\n\n async expectToViewRolesPage(): Promise<void> {\n await expect(this.page.locator('text=Principals')).toBeVisible();\n }\n\n async expectToViewCreatedRole(roleName: string): Promise<void> {\n await expect(this.page.getByRole('cell', { name: roleName })).toBeVisible();\n }\n\n async expectToViewEditedRole(roleName: string): Promise<void> {\n await expect(this.page.getByRole('cell', { name: roleName })).toBeVisible();\n }\n\n async expectRoleToBeDeleted(roleName: string): Promise<void> {\n await expect(this.page.getByRole('cell', { name: roleName })).toBeHidden();\n }\n\n async expectToViewSearchedRole(roleName: string): Promise<void> {\n await expect(this.page.locator('roles-page')).toContainText(roleName);\n }\n\n async expectToViewSearchedRoleByUsername(userName: string): Promise<void> {\n await expect(this.page.locator('roles-page')).toContainText(userName);\n }\n}\n","import { Locator, Page, expect } from '@playwright/test';\nimport { WithPage } from '../WithPage';\n\nexport class RisksPage extends WithPage {\n constructor(page: Page) {\n super(page);\n }\n\n async getValue(classIdentifier: string): Promise<string> {\n return await this.page.locator(`.rz-bubble.${classIdentifier}-label`).innerText();\n }\n\n async setPointerValue(elem: Locator, value: number, isIncrease: boolean): Promise<void> {\n await elem.waitFor({ state: 'visible' });\n await elem.click();\n for (let i = 0; i < value; i++) {\n if (isIncrease) {\n await this.page.keyboard.press('ArrowRight');\n } else {\n await this.page.keyboard.press('ArrowLeft');\n }\n await elem.click();\n }\n }\n\n async setValue(identifier: string, newValue: number): Promise<void> {\n const value = await this.getValue(identifier);\n const initialDiff = newValue - parseInt(value);\n const elem = this.page.locator(`.rz-pointer-${identifier}`);\n const diffValue = Math.abs(initialDiff);\n await this.setPointerValue(elem, diffValue, initialDiff > 0);\n await this.checkValue(identifier, newValue);\n }\n\n async checkValue(identifier: string, value: number): Promise<void> {\n expect(await this.getValue(identifier)).toEqual(value.toString());\n }\n\n async shouldHaveEditButton(present = true): Promise<void> {\n expect(await this.page.locator('#editRisk').isVisible()).toBe(present);\n }\n\n async shouldHaveSaveButton(present = true): Promise<void> {\n expect(await this.page.getByTestId('save-btn').isVisible()).toBe(present);\n }\n\n async startEditGlobalRiskThreshold(): Promise<void> {\n await this.page.locator('#editRisk').click();\n }\n\n async setInitialValues(): Promise<void> {\n await this.setValue('min', 10);\n await this.setValue('max', 50);\n }\n\n async changeValuesAndSave(minValue: number, maxValue: number): Promise<void> {\n await this.setValue('min', minValue);\n await this.setValue('max', maxValue);\n await this.page.locator('#submit').click();\n }\n\n async checkValuesChanged(minValue: number, maxValue: number): Promise<void> {\n await this.checkValue('min', minValue);\n await this.checkValue('max', maxValue);\n }\n\n async expectRiskProfileToBePresent(title: string, present = true): Promise<void> {\n await this.page.locator('#risk-profile-table').waitFor({ state: 'visible' });\n expect(await this.page.locator('.risk-profile .data-row').filter({ hasText: title }).isVisible()).toBe(present);\n }\n\n async expectDefaultRiskProfileToBeFirst(): Promise<void> {\n await this.page.locator('#risk-profile-table').waitFor({ state: 'visible' });\n await expect(this.page.locator('.risk-profile .data-row .ng-binding').first()).toHaveText('Default risk profile');\n }\n\n async openRiskProfile(title: string): Promise<RisksProfilePage> {\n await this.page.locator('#risk-profile-table').waitFor({ state: 'visible' });\n await this.page.locator('.risk-profile .data-row').filter({ hasText: title }).click();\n return new RisksProfilePage(this.page);\n }\n\n async shouldHaveCopyButtonEnabledForRiskProfile(title: string, enabled = true): Promise<void> {\n await this.page.locator('.risk-profile .data-row').filter({ hasText: title }).waitFor({ state: 'visible' });\n expect(\n await this.page.locator('.risk-profile .data-row').filter({ hasText: title }).locator('.copy-action').isVisible(),\n ).toBe(enabled);\n }\n\n async shouldHaveDeleteButtonEnabledForRiskProfile(title: string, enabled = true): Promise<void> {\n await this.page.locator('.risk-profile .data-row').filter({ hasText: title }).waitFor({ state: 'visible' });\n expect(\n await this.page\n .locator(`.risk-profile .data-row`)\n .filter({ hasText: title })\n .locator(`.remove-action`)\n .isVisible(),\n ).toBe(enabled);\n }\n\n async clickNewRiskProfile(): Promise<RisksProfilePage> {\n await this.page.getByTestId('new-risk-btn').waitFor({ state: 'visible' });\n await this.page.getByTestId('new-risk-btn').click();\n return new RisksProfilePage(this.page);\n }\n\n async deleteRiskProfile(title: string): Promise<void> {\n await this.page\n .locator('.risk-profile .data-row')\n .filter({ hasText: title })\n .locator('.remove-action')\n .waitFor({ state: 'visible' });\n await this.page.locator('.risk-profile .data-row').filter({ hasText: title }).locator('.remove-action').click();\n await this.page.locator('.modal-footer .button.save').click();\n }\n\n async expectSuccessMessageOnRisksPage(): Promise<void> {\n await expect(this.page.getByLabel('success')).toBeVisible();\n await expect(this.page.locator('.success').filter({ hasText: 'Risk Profile Created Successfully' })).toBeVisible();\n }\n\n async copyRiskProfile(title: string): Promise<void> {\n await this.page.locator('.risk-profile .data-row').filter({ hasText: title }).waitFor({ state: 'visible' });\n await this.page.locator('.risk-profile .data-row').filter({ hasText: title }).locator('.copy-action').click();\n }\n\n async expectSuccessMessageOnUpdateRiskProfile(): Promise<void> {\n await expect(this.page.getByLabel('success')).toBeVisible();\n await expect(this.page.locator('.success').filter({ hasText: 'Risk Profile Updated Successfully' })).toBeVisible();\n }\n\n async filter(filterText: string): Promise<void> {\n await this.page.locator('#risk-profile-filter').waitFor({ state: 'visible' });\n await this.page.locator('#risk-profile-filter').clear();\n await this.page.locator('#risk-profile-filter').fill(filterText);\n }\n\n async shouldHaveNVisibleRiskProfiles(numberOfVisibleRiskProfiles: number): Promise<void> {\n await this.page.locator('#risk-profile-table').waitFor({ state: 'visible' });\n expect(await this.page.locator('#risk-profile-table .data-row').count()).toEqual(numberOfVisibleRiskProfiles);\n }\n\n async shouldHaveNewRiskProfileButton(present = true): Promise<void> {\n expect(await this.page.getByTestId('new-risk-btn').isVisible()).toBe(present);\n }\n}\n\nclass RisksProfilePage extends WithPage {\n async shouldBeEditable(editable: boolean): Promise<void> {\n const elem = this.page.locator('#riskProfileTitle');\n if (editable) {\n await expect(elem).toBeEnabled();\n } else {\n await expect(elem).toBeDisabled();\n }\n }\n\n async setName(name: string): Promise<void> {\n await this.page.locator('#riskProfileTitle').waitFor({ state: 'visible' });\n await this.page.locator('#riskProfileTitle').click();\n await this.page.locator('#riskProfileTitle').clear();\n await this.page.locator('#riskProfileTitle').fill(name);\n }\n\n async save(): Promise<void> {\n await this.page.getByTestId('save-btn').click();\n await expect(this.page.locator('#risk-profile-table')).toBeVisible();\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { RisksPage } from './systemSettings/risksProfilePage';\nimport { WithPage } from './WithPage';\nimport { Util } from './common/util';\n\nexport class SystemSettingsPage extends WithPage {\n util: Util;\n risksPage: RisksPage;\n constructor(page: Page) {\n super(page);\n this.risksPage = new RisksPage(page);\n this.util = new Util(page);\n }\n\n async openGeneralSettings(): Promise<void> {\n await this.util.openSideNavMenu('General');\n await expect(this.page.getByLabel('breadcrumb').getByText('General')).toBeVisible();\n }\n\n async openReleasesAndTriggers(): Promise<void> {\n await this.util.openSideNavMenu('Releases and Triggers');\n await expect(this.page.getByLabel('breadcrumb').getByText('Releases and Triggers')).toBeVisible();\n }\n\n async openTasks(): Promise<void> {\n await this.util.openSideNavMenu('Tasks');\n await expect(this.page.getByLabel('breadcrumb').getByText('Tasks')).toBeVisible();\n }\n\n async openReports(): Promise<void> {\n await this.util.openSideNavMenu('Reports');\n await expect(this.page.getByLabel('breadcrumb').getByText('Reports')).toBeVisible();\n }\n async openAdvanced(): Promise<void> {\n await this.util.openSideNavMenu('Advanced');\n await expect(this.page.getByLabel('breadcrumb').getByText('Advanced')).toBeVisible();\n }\n\n async openExperimental(): Promise<void> {\n await this.util.openSideNavMenu('Experimental');\n await expect(this.page.getByLabel('breadcrumb').getByText('Experimental')).toBeVisible();\n }\n\n async openNotifications(): Promise<void> {\n await this.util.openSideNavMenu('Notifications');\n await expect(this.page.getByLabel('breadcrumb').getByText('Notifications')).toBeVisible();\n }\n\n async openRiskProfiles(): Promise<RisksPage> {\n await this.util.openSideNavMenu('Risk profiles');\n await expect(this.page.getByLabel('breadcrumb').getByText('Risk profiles')).toBeVisible();\n return new RisksPage(this.page);\n }\n\n async openWorkflowCategories(): Promise<void> {\n await this.util.openSideNavMenu('Workflow categories');\n await expect(this.page.getByLabel('breadcrumb').getByText('Workflow categories')).toBeVisible();\n }\n\n async openSMTPServer(): Promise<void> {\n await this.util.openSideNavMenu('SMTP server');\n await expect(this.page.getByLabel('breadcrumb').getByText('SMTP server')).toBeVisible();\n }\n}\n","import { Page, expect } from '@playwright/test';\nimport { ReleasePage } from './releases/ReleasePage';\nimport { ApplicationsPage } from './ApplicationsPage';\nimport { DataRandomGenerator } from './common/dataRandomGenerator';\nimport { DateUtil } from './common/dateUtil';\nimport { FolderPage } from './FolderPage';\nimport { GlobalVariable } from './globalVariablePage';\nimport { HomePage } from './homePage';\nimport { HeaderPage } from './headerPage';\nimport { ManagePluginsPage } from './managePluginsPage';\nimport { PersonalAccessTokenPage } from './PersonalAccessTokenPage';\nimport { PersonalSettingsPage } from './personalSettingsPage';\nimport { UsersPage } from './users/usersPage';\nimport { SettingsMenu } from './settingsMenu';\nimport { TaskDetails } from './taskDetails';\nimport { ReleaseCalendarPage } from './ReleaseCalendarPage';\nimport { ReleaseGroupPage } from './ReleaseGroupPage';\nimport { ReleaseGroupTimelinePage } from './ReleaseGroupTimelinePage';\nimport { ReleasesListPage } from './ReleasesListPage';\nimport { ReleaseVariablesPage } from './releases/ReleaseVariablesPage';\nimport { TaskListPage } from './tasks/taskListPage';\nimport { TemplatePage } from './templates/templatePage';\nimport { TemplateListPage } from './templateListPage';\nimport { Util } from './common/util';\nimport { RolesPage } from './users/rolesPage';\nimport { WorkflowCatalogPage } from './workflowCatalogPage';\nimport { SystemSettingsPage } from './systemSettingsPage';\n\nexport class Navigation {\n private readonly page: Page;\n dataRandomGenerator: DataRandomGenerator;\n dateUtil: DateUtil;\n folderPage: FolderPage;\n globalvariable: GlobalVariable;\n homePage: HomePage;\n header: HeaderPage;\n managePluginsPage: ManagePluginsPage;\n releasePage: ReleasePage;\n settingsMenu: SettingsMenu;\n systemSettingsPage: SystemSettingsPage;\n usersPage: UsersPage;\n applicationPage: ApplicationsPage;\n taskDetailsPage: TaskDetails;\n taskListPage: TaskListPage;\n templatePage: TemplatePage;\n templateListPage: TemplateListPage;\n personalSettingsPage: PersonalSettingsPage;\n releaseCalendarPage: ReleaseCalendarPage;\n releaseGroupPage: ReleaseGroupPage;\n releaseGroupTimelinePage: ReleaseGroupTimelinePage;\n releaseListPage: ReleasesListPage;\n rolesPage: RolesPage;\n util: Util;\n workflowCatalogPage: WorkflowCatalogPage;\n\n constructor(page: Page) {\n this.page = page;\n this.dataRandomGenerator = new DataRandomGenerator();\n this.dateUtil = new DateUtil(page);\n this.folderPage = new FolderPage(page);\n this.globalvariable = new GlobalVariable(page);\n this.homePage = new HomePage(page);\n this.header = new HeaderPage(page);\n this.managePluginsPage = new ManagePluginsPage(page);\n this.releasePage = new ReleasePage(page);\n this.settingsMenu = new SettingsMenu(page);\n this.systemSettingsPage = new SystemSettingsPage(page);\n this.usersPage = new UsersPage(page);\n this.applicationPage = new ApplicationsPage(page);\n this.taskDetailsPage = new TaskDetails(page);\n this.taskListPage = new TaskListPage(page);\n this.templatePage = new TemplatePage(page);\n this.templateListPage = new TemplateListPage(page);\n this.personalSettingsPage = new PersonalSettingsPage(page);\n this.releaseCalendarPage = new ReleaseCalendarPage(page);\n this.releaseGroupPage = new ReleaseGroupPage(page);\n this.releaseGroupTimelinePage = new ReleaseGroupTimelinePage(page);\n this.releaseListPage = new ReleasesListPage(page);\n this.rolesPage = new RolesPage(page);\n this.util = new Util(page);\n this.workflowCatalogPage = new WorkflowCatalogPage(page);\n }\n\n async openTemplate(id: string): Promise<ReleasePage> {\n return this.openReleaseOrTemplate(id, false);\n }\n\n async openFolder(id: string): Promise<FolderPage> {\n await this.page.goto(`./#/folders/${id}/releases`);\n await this.page.waitForSelector('#releases-content');\n return new FolderPage(this.page);\n }\n\n async openVariablesOnReleasePage(releaseId: string): Promise<ReleaseVariablesPage> {\n await this.page.goto(`./#/releases/${releaseId}/variables`);\n await this.page.waitForSelector('#release-variables');\n return new ReleaseVariablesPage(this.page);\n }\n\n async openRelease(id: string): Promise<ReleasePage> {\n return this.openReleaseOrTemplate(id, true);\n }\n\n async openApplicationsPage(): Promise<ApplicationsPage> {\n return new ApplicationsPage(this.page).goToApplicationsPage();\n }\n\n async openPersonalAccessTokenPage(): Promise<PersonalAccessTokenPage> {\n return new PersonalAccessTokenPage(this.page).openPersonalAccessTokenPage();\n }\n\n async gotoHomePage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Home', { exact: true }).click();\n }\n\n async gotoFolderPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Folders', { exact: true }).click();\n }\n\n async gotoTaskPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Tasks', { exact: true }).click();\n }\n\n async gotoReleasePage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Releases', { exact: true }).click();\n }\n\n async gotoWorkflowCatalogPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Workflow catalog', { exact: true }).click();\n }\n\n async gotoWorkflowsPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Workflows', { exact: true }).click();\n }\n\n async gotoGroupsPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Groups', { exact: true }).click();\n }\n\n async gotoReleaseCalenderPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Release calendar', { exact: true }).click();\n }\n\n async gotoDeliveriesPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Deliveries', { exact: true }).click();\n }\n\n async gotoTriggersPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Triggers', { exact: true }).click();\n }\n\n async gotoDigitalAnalyticsPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Digital.ai Analytics', { exact: true }).click();\n }\n\n async gotoReportsPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Reports', { exact: true }).click();\n }\n\n async gotoTemplatesPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Templates', { exact: true }).click();\n }\n\n async gotoEnvironmentsPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Environments', { exact: true }).click();\n }\n\n async gotoEnvironmentsCalenderPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Environments calendar', { exact: true }).click();\n }\n\n async gotoGobalVariablesPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Global variables', { exact: true }).click();\n }\n async gotoConnectionsPage(): Promise<void> {\n await this.page.locator('ul.side-nav li').getByLabel('Connections', { exact: true }).click();\n }\n private async openReleaseOrTemplate(id: string, release: boolean): Promise<ReleasePage> {\n const url = release ? 'releases' : 'templates';\n await this.page.goto(`./#/${url}/${id}`);\n await this.page.waitForSelector('#release');\n return new ReleasePage(this.page);\n }\n\n async collapseSideView(): Promise<void> {\n await this.page.getByLabel('Collapse Q').click();\n await expect(this.page.getByLabel('Collapse Q')).not.toBeVisible();\n }\n\n async expandSideView(): Promise<void> {\n await this.page.getByLabel('Expand Q').click();\n await expect(this.page.getByLabel('Expand Q')).not.toBeVisible();\n }\n\n async openRisksProfile(): Promise<void> {\n await this.page.goto('./#/risks');\n }\n}\n","import { expect } from '@playwright/test';\nimport { WithPage } from './WithPage';\n\nexport class LoginPage extends WithPage {\n /**\n * Login with username and password\n * @param userName\n * @param password\n */\n async login(userName: string, password: string): Promise<void> {\n await this.page.goto('./#/login');\n await expect(this.page).toHaveTitle('Digital.ai Release');\n await this.page.getByPlaceholder('User').fill(userName, { timeout: 1000 });\n await this.page.getByPlaceholder('Password').fill(password, { timeout: 10000 });\n await this.page.getByRole('button', { name: 'Log in' }).click({ timeout: 10000 });\n await this.page.waitForTimeout(1000);\n await this.closePendoModalWindow();\n }\n\n /**\n * Logout as authenticated user\n */\n async logout(): Promise<void> {\n await this.page.locator('button.dot-avatar').click();\n await this.page.getByText('Log out', { exact: true }).click();\n }\n\n /**\n * Expect login to be restricted for a user\n */\n async expectLoginDisallowed(): Promise<void> {\n const val = await this.page.textContent('.error-content span[ng-show=\"loginInfo.failedStatus == 403\"]');\n expect(val).toContain(\"You do not have 'login' permission.\");\n }\n\n /**\n * Expect the respective user is logged In\n * @param username\n */\n async expectToBeLogged(username: string): Promise<void> {\n const val = await this.page.locator('top-toolbar .avatar-wrapper span.dot-tooltip').getAttribute('aria-label');\n expect(val).toContain(username);\n }\n\n async closePendoModalWindow(): Promise<void> {\n await this.page.waitForTimeout(1000);\n if ((await this.page.locator('._pendo-close-guide').count()) > 0) {\n await this.page.locator('._pendo-close-guide').click();\n }\n }\n}\n","interface BaseConfigurationItem {\n id: string;\n type: string;\n}\n\ninterface PlanItem extends BaseConfigurationItem {\n title: string;\n}\n\nexport interface Release extends PlanItem {\n allowConcurrentReleasesFromTrigger: boolean;\n attachments: Array<Attachment>;\n autoStart: boolean;\n description: string;\n dueDate?: Date;\n endDate?: Date;\n extensions: Array<ReleaseExtension>;\n flagStatus?: string;\n owner?: string;\n passwordVariableValues?: VariableValues;\n phases: Array<Phase>;\n plannedDuration: number;\n queryableEndDate?: Date;\n queryableStartDate?: Date;\n scheduledStartDate?: Date;\n scriptUserPassword?: string;\n scriptUsername?: string;\n startDate?: Date;\n status: ReleaseStatus;\n summary?: Dashboard;\n tags?: Array<string>;\n teams: Array<Team>;\n variableValues?: VariableValues;\n variables: Array<Variable>;\n}\n\ntype VariableValues = Record<string, any>;\n// interface VariableValues {\n// [key: string]: any;\n// }\n\nexport interface Variable extends BaseConfigurationItem {\n description?: string;\n key: string;\n label?: string;\n requiresValue: boolean;\n showOnReleaseStart: boolean;\n value: Array<string> | string | boolean;\n valueProvider?: VariableValueProvider;\n}\n\nexport interface VariableValueProvider {\n id: string;\n type?: string;\n values?: Array<string>;\n variable: string;\n}\n\nexport interface Container extends PlanItem {\n tasks: Array<Task>;\n}\n\nexport interface Phase extends Container {\n description: string;\n dueDate?: Date;\n endDate?: Date;\n plannedDuration: number;\n scheduledStartDate?: Date;\n startDate: Date;\n status: PhaseStatus;\n}\n\nexport interface Dependency extends PlanItem {\n archivedAsResolved: boolean;\n archivedTargetId: string;\n archivedTargetTitle: string;\n target: {\n id: string;\n type: string;\n };\n targetId: string;\n}\nexport interface Folder extends PlanItem {\n children?: Array<Folder>;\n teams?: Array<FixtureTeam>;\n variables?: Array<Variable>;\n}\n\nexport interface Task extends PlanItem {\n attachments: Array<Attachment>;\n comments: Array<Comment>;\n conditions: Array<Condition>;\n dependencies: Array<Dependency>;\n description?: string;\n dueDate?: Date;\n endDate?: Date;\n failuresCount: number;\n flagStatus?: string;\n links: Array<Link>;\n owner?: string;\n plannedDuration: number;\n precondition: string;\n pythonScript?: PythonScript;\n scheduledStartDate?: Date;\n script: string;\n startDate?: Date;\n status: TaskStatus;\n tags?: Array<string>;\n tasks: Array<Task>;\n team: string;\n templateVariables: Array<Variable>;\n waitForScheduledStartDate?: boolean;\n}\n\ntype Condition = PlanItem;\ntype Link = PlanItem;\ntype Comment = PlanItem;\ntype Attachment = PlanItem;\n\nexport interface Dashboard extends ReleaseExtension {\n tiles: Array<Tile>;\n}\n\ntype ReleaseExtension = BaseConfigurationItem;\nexport type Tile = BaseConfigurationItem;\n\ninterface PythonScript extends BaseConfigurationItem {\n customScriptTask: string;\n}\n\ntype ReleaseStatus = 'TEMPLATE' | 'PLANNED' | 'IN_PROGRESS' | 'PAUSED' | 'FAILING' | 'FAILED' | 'COMPLETED' | 'ABORTED';\ntype PhaseStatus = 'PLANNED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILING' | 'FAILED' | 'SKIPPED' | 'ABORTED';\ntype TaskStatus =\n | 'IN_PROGRESS'\n | 'PLANNED'\n | 'SKIPPED_IN_ADVANCE'\n | 'COMPLETED_IN_ADVANCE'\n | 'COMPLETED'\n | 'SKIPPED'\n | 'ABORTED'\n | 'PENDING'\n | 'FACET_CHECK_IN_PROGRESS'\n | 'FAILED'\n | 'FAILING'\n | 'FAILURE_HANDLER_IN_PROGRESS'\n | 'ABORT_SCRIPT_IN_PROGRESS'\n | 'PRECONDITION_IN_PROGRESS'\n | 'QUEUED'\n | 'ABORT_SCRIPT_QUEUED'\n | 'WAITING_FOR_INPUT'\n | 'FAILURE_HANDLER_QUEUED';\n\nexport interface Team extends BaseConfigurationItem {\n members: Array<string> | Array<principals>;\n permissions: Array<string>;\n roles?: Array<FixtureRoles>;\n teamName: string;\n}\n\nexport type FixtureTeam = Omit<Team, 'id'>;\n\nexport interface principals {\n name: string;\n type: string;\n}\n\ntype FeatureType = 'xlrelease.TaskDrawer'; // add more as needed\nexport interface FixtureFeature {\n enabled: boolean;\n id: string;\n type: FeatureType;\n}\n\ntype DeepPartial<T> = {\n [P in keyof T]?: DeepPartial<T[P]>;\n};\n\n// for fixtures we allow releases with everything optional expect the `id`\nexport type FixtureRelease = DeepPartial<Release> & Pick<Release, 'id'>;\n\nexport interface FixtureConfiguration extends PlanItem {\n apiToken?: string;\n password?: string;\n url: string;\n username?: string;\n}\n\nexport interface FixtureCi extends PlanItem {\n defaultProfile?: boolean;\n}\n\nexport interface FixtureTrigger extends PlanItem {\n count?: number;\n description?: string;\n enabled?: boolean;\n folderId?: string;\n gitRepository?: string;\n jql?: string;\n password?: string;\n periodicity?: number | string;\n pollType?: string;\n releaseTitle: string;\n server?: string;\n template: string;\n username?: string;\n}\n\nexport interface FixtureActivityLog extends PlanItem {\n activityType: string;\n eventTime: Date;\n message: string;\n username: string;\n}\n\nexport interface FixtureRoles {\n principals?: Array<string>;\n role?: Array<FixtureRole>;\n}\n\nexport interface FixtureRole {\n id: number;\n name: string;\n}\n\nexport interface FixturePermissions {\n permissions?: Array<string>;\n role?: Array<FixtureRole>;\n}\n\nexport interface FixtureGlobalRole {\n id: string | null;\n name: string;\n permissions: Array<string>;\n principals: Array<FixturePrincipal>;\n}\n\nexport interface FixturePrincipal {\n fullname: string;\n username: string;\n}\n\nexport interface ReleaseGroup extends PlanItem {\n endDate: Date;\n folderId: string;\n releaseIds?: Array<string>;\n startDate: Date;\n}\n","import isUndefined from 'lodash/isUndefined';\nimport each from 'lodash/each';\nimport forEach from 'lodash/forEach';\nimport defaults from 'lodash/defaults';\nimport toPairs from 'lodash/toPairs';\n\nimport { Container, Dashboard, Phase, Release, Task, Tile, Variable, VariableValueProvider } from '../types';\n\nexport const initReleaseDefaults = (function () {\n const RELEASE_TYPE = 'xlrelease.Release';\n const PHASE_TYPE = 'xlrelease.Phase';\n const TEAM_TYPE = 'xlrelease.Team';\n const TASK_TYPE = 'xlrelease.Task';\n const COMMENT_TYPE = 'xlrelease.Comment';\n const CONDITION_TYPE = 'xlrelease.GateCondition';\n const DEPENDENCY_TYPE = 'xlrelease.Dependency';\n const LINK_TYPE = 'xlrelease.Link';\n const ATTACHMENT_TYPE = 'xlrelease.Attachment';\n const DASHBOARD_TYPE = 'xlrelease.Dashboard';\n const _TRIGGER_TYPE = 'xlrelease.ReleaseTrigger';\n const JIRA_TYPE = 'jira.CreateIssue';\n const DEFAULT_TASK_OWNER = 'Itchy';\n\n const processTasks = (task: Task, container: Container, index: number): void => {\n if (isUndefined(task.type)) task.type = TASK_TYPE;\n task.id = task.id || `${container.id}/Task${index}`;\n if (isUndefined(task.owner) && task.type !== JIRA_TYPE) task.owner = DEFAULT_TASK_OWNER;\n if (task.owner === null) delete task.owner;\n\n each(task.conditions, function (condition, idx) {\n condition.type = CONDITION_TYPE;\n condition.id = `${task.id}/GateCondition${idx}`;\n });\n each(task.dependencies, function (dependency, idx) {\n dependency.type = DEPENDENCY_TYPE;\n dependency.id = `${task.id}/Dependency${idx}`;\n });\n each(task.links, function (link, idx) {\n link.type = LINK_TYPE;\n link.id = `${task.id}/Link${idx}`;\n });\n each(task.comments, function (comment, idx) {\n comment.type = COMMENT_TYPE;\n comment.id = `${task.id}/Comment${idx}`;\n });\n each(task.tasks, function (subTask, idx) {\n processTasks(subTask, task, idx);\n });\n each(task.templateVariables, function (variable, idx) {\n defaults(variable, getVariableEntity(variable.value, variable.key, task.id, idx));\n });\n each(task.attachments, function (attachment, idx) {\n attachment.type = ATTACHMENT_TYPE;\n attachment.id = `${task.id}/Attachment${idx}`;\n });\n if (task.pythonScript) {\n const pythonScript = task.pythonScript;\n pythonScript.id = `${task.id}/PythonScript`;\n pythonScript.customScriptTask = task.id;\n }\n };\n\n const processPhases = (phase: Phase, release: Release, index: number): void => {\n phase.type = PHASE_TYPE;\n phase.id = `${release.id}/Phase${index}`;\n\n forEach(phase.tasks, (task, idx): void => {\n processTasks(task, phase, idx);\n });\n };\n\n const getVariableEntity = (\n value: string | Array<string> | boolean,\n key: string,\n containerId: string,\n index: number,\n password?: boolean,\n // eslint-disable-next-line max-params\n ): Variable => {\n const keyNoSyntax = key.replace('${', '').replace('}', '');\n return {\n id: `${containerId}/Variable${index}`,\n key: keyNoSyntax,\n requiresValue: true,\n showOnReleaseStart: true,\n type: password ? 'xlrelease.PasswordStringVariable' : 'xlrelease.StringVariable',\n value: value,\n };\n };\n\n const getValueProviderConfigurationEntity = function (containerId: string): VariableValueProvider {\n return {\n id: `${containerId}/valueProvider`,\n variable: containerId,\n };\n };\n\n const getDashboardExtension = (dashboard: Dashboard, releaseId: string): Dashboard => {\n const dashboardExtension: Dashboard = {\n id: `${releaseId}/summary`,\n type: DASHBOARD_TYPE,\n tiles: [],\n };\n if (dashboard.tiles) {\n forEach(dashboard.tiles, function (tile, index) {\n dashboardExtension.tiles.push(getTileEntity(tile, `${releaseId}/summary`, index));\n });\n }\n return dashboardExtension;\n };\n\n function getTileEntity(tile: Tile, containerId: string, index: number): Tile {\n tile.id = tile.id || `${containerId}/Tile${index}`;\n return tile;\n }\n\n return function (release: Release) {\n release.type = RELEASE_TYPE;\n if (release.id.indexOf('Applications/') === -1) {\n release.id = `Applications/${release.id}`;\n }\n if (release.startDate) {\n release.queryableStartDate = release.startDate;\n } else if (release.scheduledStartDate) {\n release.queryableStartDate = release.scheduledStartDate;\n }\n if (release.endDate) {\n release.queryableEndDate = release.endDate;\n } else if (release.dueDate) {\n release.queryableEndDate = release.dueDate;\n }\n if (isUndefined(release.owner)) release.owner = 'Itchy'; // default release manager\n\n forEach(release.phases, function (phase, index) {\n processPhases(phase, release, index);\n });\n forEach(release.teams, function (team, index) {\n team.type = TEAM_TYPE;\n team.id = `${release.id}/Team${index}`;\n });\n forEach(release.attachments, function (attachment, index) {\n attachment.type = ATTACHMENT_TYPE;\n attachment.id = `${release.id}/Attachment${index}`;\n });\n forEach(release.variables, function (variable: Variable, index) {\n defaults(variable, getVariableEntity(variable.value, variable.key, release.id, index));\n if (variable.valueProvider) {\n defaults(variable.valueProvider, getValueProviderConfigurationEntity(variable.id));\n }\n });\n forEach(toPairs(release.variableValues), function (keyValue, index) {\n if (!release.variables) release.variables = [];\n release.variables.push(getVariableEntity(keyValue[1], keyValue[0], release.id, 1000 + index));\n release.variableValues = undefined;\n });\n forEach(toPairs(release.passwordVariableValues), function (keyValue, index) {\n if (!release.variables) release.variables = [];\n release.variables.push(getVariableEntity(keyValue[1], keyValue[0], release.id, 1500 + index, true));\n release.passwordVariableValues = undefined;\n });\n\n if (release.summary) {\n release.extensions = [getDashboardExtension(release.summary, release.id)];\n release.summary = undefined;\n }\n };\n})();\n","import { test as base, expect, Page, APIResponse } from '@playwright/test';\nimport { execFile } from 'child_process';\nimport { APIRequestContext } from 'playwright-core';\nimport isNil from 'lodash/isNil';\nimport { Navigation } from '../pages';\nimport { LoginPage } from '../pages/login-page';\nimport { initReleaseDefaults } from './helper';\nimport * as process from 'process';\nimport {\n FixtureActivityLog,\n FixtureCi,\n FixtureConfiguration,\n FixtureFeature,\n FixtureGlobalRole,\n FixturePermissions,\n FixtureRelease,\n FixtureRoles,\n FixtureTrigger,\n Folder,\n Release,\n Variable,\n ReleaseGroup,\n FixtureTeam,\n} from '../types';\n\nconst JIRA_ISSUE_API_URL = 'https://digitalai.atlassian.net/rest/api/2/issue';\n\nconst adminHeaders = {\n Authorization: 'Basic YWRtaW46YWRtaW4=',\n Cookie: 'XSRF-TOKEN=1;',\n 'X-XSRF-TOKEN': '1',\n};\n\ntype ReleaseFixtures = {\n fixtures: Fixtures;\n loginPage: LoginPage;\n navigation: Navigation;\n};\n\nexport const test = base.extend<ReleaseFixtures>({\n fixtures: async ({ request, page }, use) => {\n const fixtures = new Fixtures(request, page);\n await use(fixtures);\n return fixtures;\n },\n loginPage: async ({ page }, use) => {\n const loginPage = new LoginPage(page);\n await use(loginPage);\n return loginPage;\n },\n navigation: async ({ page }, use) => {\n const navigationPage = new Navigation(page);\n await use(navigationPage);\n return navigationPage;\n },\n});\n\nclass Fixtures {\n private readonly request: APIRequestContext;\n private readonly page: Page;\n\n private archivedReleaseIds: Array<string> = [];\n private releaseIds: Array<string> = [];\n private triggerIds: Array<string> = [];\n private configurationIds: Array<string> = [];\n private globalVariableIds: Array<string> = [];\n private folderIds: Array<string> = [];\n private usernames: Array<string> = [];\n private userProfiles: Array<string> = [];\n\n constructor(request: APIRequestContext, page: Page) {\n this.request = request;\n this.page = page;\n }\n\n release(release: FixtureRelease): Promise<APIResponse> {\n this.initDefaults(release);\n this.releaseIds.push(release.id);\n return this.deleteRelease(release.id)\n .then(() => this.deleteArchivedRelease(release.id))\n .then(() => this.doPost('fixtures/release', release));\n }\n\n archivedRelease(release: FixtureRelease): Promise<APIResponse> {\n this.initDefaults(release);\n this.archivedReleaseIds.push(release.id);\n return this.doPost('fixtures/archived', release);\n }\n\n configuration(ci: FixtureConfiguration): Promise<APIResponse> {\n this.configurationIds.push(ci.id);\n return this.doPost('fixtures/shared', [ci]);\n }\n\n ci(ci: FixtureCi): Promise<APIResponse> {\n this.configurationIds.push(ci.id);\n return this.doPost('fixtures', [ci]);\n }\n\n getParentId(id: string): string {\n return id.substring(0, id.lastIndexOf('/'));\n }\n\n addSystemTeams(teams: Array<FixtureTeam>): Array<FixtureTeam> {\n const systemTeams = ['Folder Owner', 'Release Admin', 'Template Owner'];\n const teamsToUpdate = teams.map((team) => team.teamName);\n systemTeams.forEach((teamName) => {\n if (teamsToUpdate.indexOf(teamName) === -1) {\n teams.push({\n type: 'xlrelease.Team',\n teamName,\n members: [],\n permissions: [],\n });\n }\n });\n return teams;\n }\n\n async folder(folder: Folder): Promise<APIResponse> {\n const parentId = this.getParentId(folder.id);\n folder.type = 'xlrelease.Folder';\n\n let teams = folder.teams;\n delete folder.teams;\n //ToDo: Add Children\n /* eslint-disable @typescript-eslint/no-unused-vars */\n const children = folder.children || [];\n delete folder.children;\n\n const response = await this.doPost(`api/v1/folders/${parentId}`, folder);\n\n // Add the folder ID to the list\n this.folderIds.push(folder.id);\n\n // If teams are provided, send a request to add teams to the folder\n if (teams) {\n teams = this.addSystemTeams(teams);\n const newresponse = await this.doPost(`api/v1/folders/${folder.id}/teams`, teams);\n return newresponse;\n }\n return response;\n }\n\n createFolder(folderJson: Folder): Promise<APIResponse> {\n folderJson.type = 'xlrelease.Folder';\n return this.doPost(`fixtures/folders`, [folderJson]);\n }\n\n trigger(trigger: FixtureTrigger): Promise<APIResponse> {\n this.triggerIds.push(trigger.id);\n return this.doPost('fixtures/trigger', trigger);\n }\n\n roles(rolePrincipals: FixtureRoles): Promise<APIResponse> {\n return this.doPost('fixtures/roles/principals', rolePrincipals);\n }\n\n permissions(rolePermissions: FixturePermissions): Promise<APIResponse> {\n return this.doPost('fixtures/roles/permissions/global', rolePermissions);\n }\n\n globalRoles(rolePrincipals: FixtureGlobalRole): Promise<APIResponse> {\n return this.doPost(`api/v1/roles/${rolePrincipals.name}`, rolePrincipals);\n }\n\n deleteGlobalRole(roleName: string): Promise<APIResponse> {\n return this.doDelete(`api/v1/roles/${roleName}`);\n }\n\n updateUserProfile(username: string, profile: any): Promise<APIResponse> {\n profile.id = username;\n profile.type = 'xlrelease.UserProfile';\n profile.canonicalId = username.toLowerCase();\n if (this.userProfiles.indexOf(profile.canonicalId) === -1) {\n this.userProfiles.push(profile.canonicalId);\n }\n return this.doPut('fixtures/userProfile', profile);\n }\n\n deleteRole(roleName: string): Promise<APIResponse> {\n return this.doDelete(`fixtures/role/${roleName}`);\n }\n\n deleteArchivedRelease(id: string): Promise<APIResponse> {\n const releaseId = id.includes('Applications/') ? id : `Applications/${id}`;\n return this.doDelete('fixtures/cis', [\n {\n id: releaseId,\n type: 'xlrelease.Release',\n },\n ]);\n }\n\n deleteRelease(id: string): Promise<APIResponse> {\n const releaseId = id.includes('Applications/') ? id : `Applications/${id}`;\n return this.doDelete(`fixtures/${releaseId}`);\n }\n\n deleteUser(username: string): Promise<APIResponse> {\n return this.doDelete(`fixtures/user/${username}`);\n }\n\n deleteUserProfile(userProfile: string): Promise<APIResponse> {\n return this.doDelete(`fixtures/userProfile/${userProfile}`);\n }\n\n deleteTrigger(id: string): Promise<APIResponse> {\n return this.doDelete(`fixtures/trigger/${id}`);\n }\n\n deleteConfiguration(id: string): Promise<APIResponse> {\n return this.doDelete(`fixtures/shared`, [id]);\n }\n\n deleteFolder(folderId: string): Promise<APIResponse> {\n return this.doDelete(`api/v1/folders/${folderId}`);\n }\n\n activityLogs(id: string, logs: Array<FixtureActivityLog>): Promise<APIResponse> {\n return this.doPost(`fixtures/activityLogs/${id}`, logs);\n }\n\n globalVariable(variable: Variable): Promise<APIResponse> {\n variable.id = variable.id || `Configuration/variables/global/Variable_${variable.key}`;\n this.globalVariableIds.push(variable.id);\n variable.requiresValue = false;\n variable.showOnReleaseStart = false;\n return this.doPost('api/v1/config/Configuration/variables/global', variable);\n }\n\n async cleanAll(): Promise<void> {\n for (const username of this.usernames) {\n await this.deleteUser(username);\n }\n for (const userProfile of this.userProfiles) {\n await this.deleteUserProfile(userProfile);\n }\n for (const triggerId of this.triggerIds) {\n await this.deleteTrigger(triggerId);\n }\n for (const releaseId of this.releaseIds.reverse()) {\n await this.deleteRelease(releaseId);\n }\n for (const confId of this.configurationIds) {\n await this.deleteConfiguration(confId);\n }\n for (const folderId of this.folderIds.reverse()) {\n await this.deleteFolder(folderId);\n }\n this.folderIds = [];\n this.releaseIds = [];\n this.triggerIds = [];\n this.configurationIds = [];\n this.usernames = [];\n this.userProfiles = [];\n }\n\n async addJiraTask(): Promise<string> {\n const data = {\n fields: {\n project: { key: 'RIT' },\n summary: 'Test Task',\n description: 'Test task description',\n issuetype: { name: 'Task' },\n },\n };\n const headers = {\n Authorization: `Basic ${btoa('xlr-jira-testuser@xebialabs.com:zgsXK6c3oLVkJxrWVJQy9DB7')}`,\n Origin: 'https://digitalai.atlassian.net/',\n };\n const response = await this.request.post(JIRA_ISSUE_API_URL, { data, headers });\n const json = await response.json();\n return json.key;\n }\n\n async addUser(username: string, password: string): Promise<void> {\n this.usernames.push(username);\n await this.doPost('fixtures/user', { username, password });\n }\n\n async addUserProfile(username: string, profile?: any): Promise<void> {\n if (!profile) {\n profile = {};\n }\n profile.id = username;\n profile.type = 'xlrelease.UserProfile';\n profile.canonicalId = username.toLowerCase();\n this.userProfiles.push(profile.canonicalId);\n await this.doPost('fixtures/userProfile', profile);\n }\n\n async expectJiraTaskStatus(taskId: string, expectedStatus: string): Promise<void> {\n const headers = {\n Authorization: `Basic ${btoa('xlr-jira-testuser@xebialabs.com:zgsXK6c3oLVkJxrWVJQy9DB7')}`,\n Origin: 'https://digitalai.atlassian.net/',\n };\n const response = await this.request.get(`${JIRA_ISSUE_API_URL}/${taskId}`, { headers });\n const json = await response.json();\n const status = json.fields.status.name;\n expect(status).toBe(expectedStatus);\n }\n\n async expectJiraTaskSummary(taskId: string, expectedSummary: string): Promise<void> {\n const headers = {\n Authorization: `Basic ${btoa('xlr-jira-testuser@xebialabs.com:zgsXK6c3oLVkJxrWVJQy9DB7')}`,\n Origin: 'https://digitalai.atlassian.net/',\n };\n const response = await this.request.get(`${JIRA_ISSUE_API_URL}/${taskId}`, { headers });\n const json = await response.json();\n const summary = json.fields.summary;\n expect(summary).toBe(expectedSummary);\n }\n\n async expectContainingAttachments(releaseId: string, tempFile: string): Promise<void> {\n if (releaseId.indexOf('Applications/') === -1) {\n releaseId = 'Applications/' + releaseId;\n }\n await expect(async () => {\n const resp = await this.doPost(`fixtures/expectContainingAttachments/${releaseId}`, {\n name: tempFile,\n expectedContent: tempFile,\n });\n expect(resp).toBe(true);\n }).toPass();\n }\n\n async waitForReleaseStarted(releaseTitle: string): Promise<void> {\n await expect(async () => {\n const resp = await this.doPost('releases/search', {\n inProgress: true,\n paused: true,\n failing: true,\n failed: true,\n title: releaseTitle,\n });\n const page = await resp.json();\n await expect(page.cis.length).toBeGreaterThan(0);\n }).toPass();\n }\n\n async waitForFirstPoll(triggerId: string): Promise<void> {\n await expect(async () => {\n const resp = await this.doGet(`api/v1/triggers/${triggerId}`);\n const trigger = await resp.json();\n await expect(isNil(trigger.triggerState)).toBe(false);\n }).toPass();\n }\n\n exec(path: string): Promise<void> {\n return new Promise<void>((resolve, reject) => {\n execFile(path, (error) => {\n if (error === null) {\n return resolve();\n } else {\n return reject();\n }\n });\n });\n }\n\n getFakeApiUrl(): string {\n return this.getEnvVariable('ENV_FAKE_API') || 'http://localhost:5517';\n }\n\n getEnvVariable(name: string): string | undefined {\n return process.env[name];\n }\n\n async archiveRelease(releaseId: string): Promise<APIResponse> {\n return this.doGet(`fixtures/archive/${releaseId}`);\n }\n\n async preArchiveRelease(releaseId: string): Promise<APIResponse> {\n return this.doGet(`fixtures/preArchive/${releaseId}`);\n }\n\n async setFeatures(features: Array<FixtureFeature>): Promise<APIResponse> {\n return this.doPut('settings/features', features);\n }\n\n async enableTaskDrawer(enabled: boolean): Promise<APIResponse> {\n return this.setFeatures([\n { id: 'Configuration/features/xlrelease.TaskDrawer', type: 'xlrelease.TaskDrawer', enabled: enabled },\n ]);\n }\n\n async createReleaseGroup(releaseGroup: ReleaseGroup): Promise<APIResponse> {\n return this.doPost('fixtures/release-groups', releaseGroup);\n }\n\n private doPost(url: string, body: unknown): Promise<APIResponse> {\n return this.request.post(url, { data: body, headers: adminHeaders });\n }\n\n private doPut(url: string, body: unknown): Promise<APIResponse> {\n return this.request.put(url, { data: body, headers: adminHeaders });\n }\n\n private doGet(url: string): Promise<APIResponse> {\n return this.request.get(url, { headers: adminHeaders });\n }\n\n private doDelete(url: string, body?: unknown): Promise<APIResponse> {\n return this.request.delete(url, { data: body, headers: adminHeaders });\n }\n\n private initDefaults(ci: FixtureRelease): void {\n initReleaseDefaults(ci as Release);\n }\n}\n","export { test } from './fixtures';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|