@digital-ai/devops-page-object-release 0.0.47 → 0.0.49
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 +12 -0
- package/dist/main.js +6 -6
- package/dist/main.js.map +1 -1
- package/dist/module.js +6 -6
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -4374,8 +4374,8 @@ class $50c91328c9110668$export$b453f08936c58edb extends (0, $9626bc9256ce31f7$ex
|
|
|
4374
4374
|
name: existingFolderName
|
|
4375
4375
|
}).hover();
|
|
4376
4376
|
await this.clickFolderOptions(existingFolderName, "edit");
|
|
4377
|
-
await this.page.locator(".folder-row-wrapper input").click();
|
|
4378
|
-
await this.page.locator(".folder-row-wrapper input").fill(newFolderName);
|
|
4377
|
+
await this.page.locator(".folder-list-row-wrapper input").click();
|
|
4378
|
+
await this.page.locator(".folder-list-row-wrapper input").fill(newFolderName);
|
|
4379
4379
|
await this.page.keyboard.press("Enter");
|
|
4380
4380
|
await (0, $hOLA6$expect)(this.page.getByRole("link", {
|
|
4381
4381
|
name: newFolderName
|
|
@@ -4383,7 +4383,7 @@ class $50c91328c9110668$export$b453f08936c58edb extends (0, $9626bc9256ce31f7$ex
|
|
|
4383
4383
|
}
|
|
4384
4384
|
async deleteFolder(folderName) {
|
|
4385
4385
|
await this.clickExpandButton();
|
|
4386
|
-
await this.page.getByRole("link", {
|
|
4386
|
+
await this.page.locator("folder-list-page").getByRole("link", {
|
|
4387
4387
|
name: folderName
|
|
4388
4388
|
}).hover();
|
|
4389
4389
|
await this.clickFolderOptions(folderName, "delete");
|
|
@@ -4414,7 +4414,7 @@ class $50c91328c9110668$export$b453f08936c58edb extends (0, $9626bc9256ce31f7$ex
|
|
|
4414
4414
|
return this.patternPage;
|
|
4415
4415
|
}
|
|
4416
4416
|
async clickFolderOptions(folderName, option) {
|
|
4417
|
-
await this.page.locator(".folder-row-wrapper", {
|
|
4417
|
+
await this.page.locator(".folder-list-row-wrapper", {
|
|
4418
4418
|
hasText: folderName
|
|
4419
4419
|
}).locator(`.xl-icon.${option}-icon`).click();
|
|
4420
4420
|
}
|
|
@@ -4864,11 +4864,11 @@ class $ecd0868a4240184d$export$7b434e00c788d0bf extends (0, $9626bc9256ce31f7$ex
|
|
|
4864
4864
|
}).getByRole("button").click();
|
|
4865
4865
|
}
|
|
4866
4866
|
async expectRestartInfo() {
|
|
4867
|
-
await (0, $hOLA6$expect)(this.page.
|
|
4867
|
+
await (0, $hOLA6$expect)(this.page.getByText("Restart Digital.ai Release to finish installing the plugin.")).toBeVisible();
|
|
4868
4868
|
}
|
|
4869
4869
|
async expectNewPluginInstallationInfo(pluginName) {
|
|
4870
4870
|
await (0, $hOLA6$expect)(this.page.getByText("New plugin installedPlugin")).toBeVisible();
|
|
4871
|
-
await (0, $hOLA6$expect)(this.page.
|
|
4871
|
+
await (0, $hOLA6$expect)(this.page.getByText(pluginName.toLowerCase())).toBeVisible();
|
|
4872
4872
|
}
|
|
4873
4873
|
async clickUpload() {
|
|
4874
4874
|
await this.page.locator("button", {
|