@digital-ai/devops-page-object-release 0.0.47 → 0.0.48

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
+ ## 0.0.48
4
+
5
+ ### Patch Changes
6
+
7
+ - 0db7b91: Fixes after folder switcher
8
+
3
9
  ## 0.0.47
4
10
 
5
11
  ### Patch Changes
package/dist/main.js CHANGED
@@ -5310,8 +5310,8 @@ class $9058d40a81bdb1f5$export$b453f08936c58edb extends (0, $f8721861c660dd88$ex
5310
5310
  name: existingFolderName
5311
5311
  }).hover();
5312
5312
  await this.clickFolderOptions(existingFolderName, "edit");
5313
- await this.page.locator(".folder-row-wrapper input").click();
5314
- await this.page.locator(".folder-row-wrapper input").fill(newFolderName);
5313
+ await this.page.locator(".folder-list-row-wrapper input").click();
5314
+ await this.page.locator(".folder-list-row-wrapper input").fill(newFolderName);
5315
5315
  await this.page.keyboard.press("Enter");
5316
5316
  await (0, $kKeXs$playwrighttest.expect)(this.page.getByRole("link", {
5317
5317
  name: newFolderName
@@ -5319,7 +5319,7 @@ class $9058d40a81bdb1f5$export$b453f08936c58edb extends (0, $f8721861c660dd88$ex
5319
5319
  }
5320
5320
  async deleteFolder(folderName) {
5321
5321
  await this.clickExpandButton();
5322
- await this.page.getByRole("link", {
5322
+ await this.page.locator("folder-list-page").getByRole("link", {
5323
5323
  name: folderName
5324
5324
  }).hover();
5325
5325
  await this.clickFolderOptions(folderName, "delete");
@@ -5350,7 +5350,7 @@ class $9058d40a81bdb1f5$export$b453f08936c58edb extends (0, $f8721861c660dd88$ex
5350
5350
  return this.patternPage;
5351
5351
  }
5352
5352
  async clickFolderOptions(folderName, option) {
5353
- await this.page.locator(".folder-row-wrapper", {
5353
+ await this.page.locator(".folder-list-row-wrapper", {
5354
5354
  hasText: folderName
5355
5355
  }).locator(`.xl-icon.${option}-icon`).click();
5356
5356
  }
@@ -5800,11 +5800,11 @@ class $b4d98f757ef92467$export$7b434e00c788d0bf extends (0, $f8721861c660dd88$ex
5800
5800
  }).getByRole("button").click();
5801
5801
  }
5802
5802
  async expectRestartInfo() {
5803
- await (0, $kKeXs$playwrighttest.expect)(this.page.getByLabel("info")).toContainText("Restart Digital.ai Release to finish installing the plugin.");
5803
+ await (0, $kKeXs$playwrighttest.expect)(this.page.locator(".dot-alert-banner")).toContainText("Restart Digital.ai Release to finish installing the plugin.");
5804
5804
  }
5805
5805
  async expectNewPluginInstallationInfo(pluginName) {
5806
5806
  await (0, $kKeXs$playwrighttest.expect)(this.page.getByText("New plugin installedPlugin")).toBeVisible();
5807
- await (0, $kKeXs$playwrighttest.expect)(this.page.getByLabel("info").locator("div")).toContainText("New plugin installedPlugin release-" + pluginName.toLowerCase() + "-integration has been installed, click here to reload the changes or refresh your browser");
5807
+ await (0, $kKeXs$playwrighttest.expect)(this.page.getByLabel(".dot-alert-banner").locator("div")).toContainText("New plugin installedPlugin release-" + pluginName.toLowerCase() + "-integration has been installed, click here to reload the changes or refresh your browser");
5808
5808
  }
5809
5809
  async clickUpload() {
5810
5810
  await this.page.locator("button", {