@shopware-ag/acceptance-test-suite 7.0.0 → 8.0.0

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/index.d.mts CHANGED
@@ -959,6 +959,7 @@ declare class Home implements PageObject {
959
959
  readonly consentDialogAcceptAllCookiesButton: Locator;
960
960
  readonly consentDialogSaveButton: Locator;
961
961
  readonly consentCookieBannerContainer: Locator;
962
+ readonly offcanvasBackdrop: Locator;
962
963
  constructor(page: Page);
963
964
  getListingItemByProductId(productId: string): Promise<Record<string, Locator>>;
964
965
  url(): string;
package/dist/index.d.ts CHANGED
@@ -959,6 +959,7 @@ declare class Home implements PageObject {
959
959
  readonly consentDialogAcceptAllCookiesButton: Locator;
960
960
  readonly consentDialogSaveButton: Locator;
961
961
  readonly consentCookieBannerContainer: Locator;
962
+ readonly offcanvasBackdrop: Locator;
962
963
  constructor(page: Page);
963
964
  getListingItemByProductId(productId: string): Promise<Record<string, Locator>>;
964
965
  url(): string;
package/dist/index.mjs CHANGED
@@ -2779,6 +2779,7 @@ class Home {
2779
2779
  __publicField$H(this, "consentDialogAcceptAllCookiesButton");
2780
2780
  __publicField$H(this, "consentDialogSaveButton");
2781
2781
  __publicField$H(this, "consentCookieBannerContainer");
2782
+ __publicField$H(this, "offcanvasBackdrop");
2782
2783
  this.productImages = page.locator(".product-image-link");
2783
2784
  this.productListItems = page.getByRole("listitem");
2784
2785
  this.languagesDropdown = page.getByLabel("Shop settings").locator(".languages-menu");
@@ -2793,6 +2794,7 @@ class Home {
2793
2794
  this.consentDialogTechnicallyRequiredCheckbox = this.consentDialog.getByRole("checkbox", { name: "Technically required" });
2794
2795
  this.consentDialogSaveButton = this.consentDialog.getByRole("button", { name: "Save" });
2795
2796
  this.consentDialogAcceptAllCookiesButton = this.consentDialog.getByRole("button", { name: "Accept all cookies" });
2797
+ this.offcanvasBackdrop = page.locator(".offcanvas-backdrop");
2796
2798
  }
2797
2799
  async getListingItemByProductId(productId) {
2798
2800
  const listingItem = this.page.getByRole("listitem").filter({ has: this.page.locator(`[value="${productId}"]`) });
@@ -5426,9 +5428,6 @@ const Register = test$e.extend({
5426
5428
  return async function() {
5427
5429
  const registrationData = { ...defaultRegistrationData, ...overrides };
5428
5430
  registeredEmail = registrationData.email;
5429
- if (isCommercial) {
5430
- await StorefrontAccountLogin.accountTypeSelect.selectOption("Commercial");
5431
- }
5432
5431
  await StorefrontAccountLogin.salutationSelect.selectOption(registrationData.salutation);
5433
5432
  await StorefrontAccountLogin.firstNameInput.fill(registrationData.firstName);
5434
5433
  await StorefrontAccountLogin.lastNameInput.fill(registrationData.lastName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "7.0.0",
3
+ "version": "8.0.0",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "author": "shopware AG",
6
6
  "license": "MIT",