@digital-ai/devops-page-object-deploy 0.0.9 → 0.0.11

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
@@ -64,6 +64,35 @@ declare class ApplicationsPage extends ExplorerPage {
64
64
  infrastructureName: string;
65
65
  }, shouldBeVisible: boolean, page?: Page): Promise<void>;
66
66
  }
67
+ declare class GitopsConfigurationPage extends ExplorerPage {
68
+ taskId: string;
69
+ executedText: string;
70
+ targetCi: string;
71
+ constructor(page: Page);
72
+ navigateToGitopsConfigurationPage(): Promise<void>;
73
+ openNewgitops(): Promise<void>;
74
+ openConfigurationNewgit(): Promise<void>;
75
+ createGitopsCI(ciName: string, gitData: string[]): Promise<void>;
76
+ /**
77
+ * Opens New -> git -> GitDirectory under the provided GitSource node.
78
+ * @param gitSourceDataId The full tree data-id, e.g. "Configuration/MyGitSource"
79
+ */
80
+ openNewGitDirectoryUnderGitSource(gitSourceDataId: string): Promise<void>;
81
+ /**
82
+ * Runs the "Check connection" control task on the given GitSource node once.
83
+ * @param gitSourceDataId The full tree data-id, e.g. "Configuration/MyGitSource"
84
+ */
85
+ runCheckConnection(gitSourceDataId: string): Promise<void>;
86
+ /**
87
+ * Runs the "Check connection" control task and expects it to fail with invalid credentials.
88
+ * @param gitSourceDataId The full tree data-id, e.g. "Configuration/MyGitSource"
89
+ */
90
+ runCheckConnectionExpectFailure(gitSourceDataId: string): Promise<void>;
91
+ /**
92
+ * Verifies the captured Check Connection task in Reports -> Control tasks.
93
+ */
94
+ verifyCheckConnectionTaskInReports(): Promise<void>;
95
+ }
67
96
  declare class ReportsPage extends WithPage {
68
97
  openDashboardTab(): Promise<void>;
69
98
  openDeploymentsTab(): Promise<void>;
@@ -217,6 +246,11 @@ declare class ApplicationEditPermissionsPage extends ExplorerPage {
217
246
  navigateToAppEditPermissionPage(): Promise<void>;
218
247
  givePermissionsToRole(roleName: string): Promise<void>;
219
248
  }
249
+ declare class ConfigurationEditPermissionsPage extends ExplorerPage {
250
+ navigateToPage(): Promise<void>;
251
+ navigateToConfigurationEditPermissionsPage(): Promise<void>;
252
+ givePermissionsToRole(roleName: string): Promise<void>;
253
+ }
220
254
  declare class Navigation extends ExplorerPage {
221
255
  homePage: HomePage;
222
256
  userPage: UserPage;
@@ -230,6 +264,8 @@ declare class Navigation extends ExplorerPage {
230
264
  infrastructureEditPermissionsPage: InfrastructureEditPermissionsPage;
231
265
  environmentEditPermissionsPage: EnvironmentEditPermissionsPage;
232
266
  applicationEditPermissionsPage: ApplicationEditPermissionsPage;
267
+ configurationEditPermissionsPage: ConfigurationEditPermissionsPage;
268
+ gitopsConfigurationPage: GitopsConfigurationPage;
233
269
  constructor(page: Page);
234
270
  navigateToHomePage(): Promise<void>;
235
271
  navigateToUserPage(): Promise<void>;