@shopware-ag/acceptance-test-suite 12.2.0 → 12.2.1
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 +7 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11724,7 +11724,9 @@ const ProceedFromProductToCheckout = test$e.extend({
|
|
|
11724
11724
|
ProceedFromProductToCheckout: async ({ ShopCustomer, StorefrontProductDetail, StorefrontCheckoutConfirm }, use) => {
|
|
11725
11725
|
const task = () => {
|
|
11726
11726
|
return async function ProceedFromProductToCheckout2() {
|
|
11727
|
-
await StorefrontProductDetail.offCanvasCartGoToCheckoutButton.
|
|
11727
|
+
await StorefrontProductDetail.offCanvasCartGoToCheckoutButton.scrollIntoViewIfNeeded();
|
|
11728
|
+
await ShopCustomer.presses(StorefrontProductDetail.offCanvasCartGoToCheckoutButton);
|
|
11729
|
+
await StorefrontCheckoutConfirm.page.waitForURL("**/checkout/confirm", { waitUntil: "commit" });
|
|
11728
11730
|
await ShopCustomer.expects(StorefrontCheckoutConfirm.headline).toBeVisible();
|
|
11729
11731
|
};
|
|
11730
11732
|
};
|
|
@@ -11740,7 +11742,8 @@ const ProceedFromCartToCheckout = test$e.extend({
|
|
|
11740
11742
|
}, use) => {
|
|
11741
11743
|
const task = () => {
|
|
11742
11744
|
return async function ProceedFromCartToCheckout2() {
|
|
11743
|
-
await StorefrontCheckoutCart.goToCheckoutButton
|
|
11745
|
+
await ShopCustomer.presses(StorefrontCheckoutCart.goToCheckoutButton);
|
|
11746
|
+
await StorefrontCheckoutConfirm.page.waitForURL("**/checkout/confirm", { waitUntil: "commit" });
|
|
11744
11747
|
await ShopCustomer.expects(StorefrontCheckoutConfirm.headline).toBeVisible();
|
|
11745
11748
|
};
|
|
11746
11749
|
};
|
|
@@ -11869,7 +11872,8 @@ const SubmitOrder = test$e.extend({
|
|
|
11869
11872
|
SubmitOrder: async ({ ShopCustomer, StorefrontCheckoutConfirm, StorefrontCheckoutFinish }, use) => {
|
|
11870
11873
|
const task = () => {
|
|
11871
11874
|
return async function SubmitOrder2() {
|
|
11872
|
-
await StorefrontCheckoutConfirm.submitOrderButton
|
|
11875
|
+
await ShopCustomer.presses(StorefrontCheckoutConfirm.submitOrderButton);
|
|
11876
|
+
await StorefrontCheckoutFinish.page.waitForURL("**/checkout/finish**", { waitUntil: "commit" });
|
|
11873
11877
|
await ShopCustomer.expects(StorefrontCheckoutFinish.headline).toBeVisible();
|
|
11874
11878
|
};
|
|
11875
11879
|
};
|