@shopware-ag/acceptance-test-suite 11.12.1 → 11.12.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.
- package/dist/index.mjs +5 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4598,7 +4598,11 @@ class ProductDetail {
|
|
|
4598
4598
|
this.activeForAllSalesChannelsToggle = page.locator(".sw-field--product-active").getByRole("checkbox");
|
|
4599
4599
|
this.tagsInput = page.locator(".sw-product-category-form__tag-field");
|
|
4600
4600
|
this.saleChannelsInput = page.locator(".sw-product-detail__select-visibility");
|
|
4601
|
-
|
|
4601
|
+
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
4602
|
+
this.releaseDateInput = page.locator(".sw-product-detail-base__labelling-card").locator(".form-control");
|
|
4603
|
+
} else {
|
|
4604
|
+
this.releaseDateInput = page.locator(".dp__input_readonly");
|
|
4605
|
+
}
|
|
4602
4606
|
this.uploadMediaButton = page.getByRole("button", { name: "Upload file" });
|
|
4603
4607
|
this.coverImage = page.locator(".sw-product-media-form__cover-image");
|
|
4604
4608
|
this.productImage = page.locator(".sw-media-preview-v2__item");
|