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

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,17 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
+ ## 0.0.50
4
+
5
+ ### Patch Changes
6
+
7
+ - 356daa5: Fix expectNewPluginInstallationInfo
8
+
9
+ ## 0.0.49
10
+
11
+ ### Patch Changes
12
+
13
+ - d090ad3: Update plugin locators
14
+
3
15
  ## 0.0.48
4
16
 
5
17
  ### Patch Changes
package/dist/main.js CHANGED
@@ -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.locator(".dot-alert-banner")).toContainText("Restart Digital.ai Release to finish installing the plugin.");
5803
+ await (0, $kKeXs$playwrighttest.expect)(this.page.getByText("Restart Digital.ai Release to finish installing the plugin.")).toBeVisible();
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(".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");
5807
+ await (0, $kKeXs$playwrighttest.expect)(this.page.getByText(`release-${pluginName.toLowerCase()}-integration has been installed`)).toBeVisible();
5808
5808
  }
5809
5809
  async clickUpload() {
5810
5810
  await this.page.locator("button", {