@shopware-ag/acceptance-test-suite 10.2.1 → 10.2.2

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.
Files changed (2) hide show
  1. package/dist/index.mjs +8 -8
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -3044,17 +3044,17 @@ class Home {
3044
3044
  this.currenciesDropdown = page.locator(".top-bar-currency").filter({ has: page.getByRole("button") });
3045
3045
  this.currenciesMenuOptions = page.locator(".top-bar-currency").filter({ has: page.getByRole("list") });
3046
3046
  this.consentCookieBannerContainer = page.locator(".cookie-permission-container");
3047
- this.consentOnlyTechnicallyRequiredButton = page.getByRole("button", { name: "Only technically required" });
3048
- this.consentConfigureButton = page.getByRole("button", { name: "Configure" });
3049
- this.consentAcceptAllCookiesButton = page.getByRole("button", { name: "Accept all cookies" });
3047
+ this.consentOnlyTechnicallyRequiredButton = page.getByRole("button", { name: "Only technically required", exact: true });
3048
+ this.consentConfigureButton = page.getByRole("button", { name: "Configure", exact: true });
3049
+ this.consentAcceptAllCookiesButton = page.getByRole("button", { name: "Accept all cookies", exact: true });
3050
3050
  this.consentCookiePreferences = page.getByLabel("Cookie preferences");
3051
3051
  this.consentCookiePermissionContent = page.locator(".cookie-permission-content");
3052
3052
  this.consentDialog = page.getByRole("dialog").filter({ hasText: "Cookie preferences" });
3053
- this.consentDialogTechnicallyRequiredCheckbox = this.consentDialog.getByRole("checkbox", { name: "Technically required" });
3054
- this.consentDialogStatisticsCheckbox = this.consentDialog.getByRole("checkbox", { name: "Statistics" });
3055
- this.consentDialogMarketingdCheckbox = this.consentDialog.getByRole("checkbox", { name: "Marketing" });
3056
- this.consentDialogSaveButton = this.consentDialog.getByRole("button", { name: "Save" });
3057
- this.consentDialogAcceptAllCookiesButton = this.consentDialog.getByRole("button", { name: "Accept all cookies" });
3053
+ this.consentDialogTechnicallyRequiredCheckbox = this.consentDialog.getByRole("checkbox", { name: "Technically required", exact: true });
3054
+ this.consentDialogStatisticsCheckbox = this.consentDialog.getByRole("checkbox", { name: "Statistics", exact: true });
3055
+ this.consentDialogMarketingdCheckbox = this.consentDialog.getByRole("checkbox", { name: "Marketing", exact: true });
3056
+ this.consentDialogSaveButton = this.consentDialog.getByRole("button", { name: "Save", exact: true });
3057
+ this.consentDialogAcceptAllCookiesButton = this.consentDialog.getByRole("button", { name: "Accept all cookies", exact: true });
3058
3058
  this.offcanvasBackdrop = page.locator(".offcanvas-backdrop");
3059
3059
  }
3060
3060
  async getListingItemByProductId(productId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "10.2.1",
3
+ "version": "10.2.2",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "author": "shopware AG",
6
6
  "license": "MIT",