@digital-ai/devops-page-object-release 1.0.9 → 1.0.10

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/dist/types.d.ts CHANGED
@@ -1693,7 +1693,14 @@ declare class ReleaseGroupTimelinePage extends WithPage {
1693
1693
  selectAllReleaseCheckbox(): Promise<void>;
1694
1694
  addReleasesToGroup(): Promise<void>;
1695
1695
  }
1696
- declare class ReleaseVariablesPage extends WithPage {
1696
+ declare abstract class VariablesBasePage extends WithPage {
1697
+ constructor(page: Page);
1698
+ getVariableSearchInputSelector(): string;
1699
+ expectVariablesCountToBe(count: number): Promise<void>;
1700
+ expectFirstVariableWithName(name: string): Promise<void>;
1701
+ protected searchForVariable(variableName: string): Promise<void>;
1702
+ }
1703
+ declare class ReleaseVariablesPage extends VariablesBasePage {
1697
1704
  addListValue: Locator;
1698
1705
  addVariableValue: Locator;
1699
1706
  listAddButton: Locator;
@@ -1717,7 +1724,6 @@ declare class ReleaseVariablesPage extends WithPage {
1717
1724
  expectVariableWithNameValueAndType(name: string, value: string, type: string): Promise<void>;
1718
1725
  clickEditVariable(variableName: string): Promise<ReleaseVariableModal>;
1719
1726
  clickDeleteVariable(variableName: string): Promise<_DeleteVariableModel1>;
1720
- expectVariablesCountToBe(count: number): Promise<void>;
1721
1727
  expectVariableNotPresent(variableName: string): Promise<void>;
1722
1728
  clearSearch(): Promise<void>;
1723
1729
  switchPossibleValuesToVariable(variableName: string): Promise<void>;
@@ -1890,7 +1896,7 @@ declare class CreateNewTriggerPage extends WithPage {
1890
1896
  setValuesForVariable(variableId: string, value: string): Promise<this>;
1891
1897
  save(): Promise<void>;
1892
1898
  }
1893
- declare class TemplateVariablesPage extends WithPage {
1899
+ declare class TemplateVariablesPage extends VariablesBasePage {
1894
1900
  constructor(page: Page);
1895
1901
  clickEditVariable(variableName: string): Promise<TemplateVariableModal>;
1896
1902
  }