@shopware-ag/acceptance-test-suite 12.4.1 → 12.4.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 +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -3815,6 +3815,7 @@ class Actor {
3815
3815
  }
3816
3816
  expects = expect;
3817
3817
  async a11y_checks(locator) {
3818
+ await locator.scrollIntoViewIfNeeded();
3818
3819
  await locator.focus();
3819
3820
  await expect(locator).toBeFocused();
3820
3821
  await expect(locator).toHaveVisibleFocus();
@@ -11739,7 +11740,6 @@ const ProceedFromProductToCheckout = test$e.extend({
11739
11740
  ProceedFromProductToCheckout: async ({ ShopCustomer, StorefrontProductDetail, StorefrontCheckoutConfirm }, use) => {
11740
11741
  const task = () => {
11741
11742
  return async function ProceedFromProductToCheckout2() {
11742
- await StorefrontProductDetail.offCanvasCartGoToCheckoutButton.scrollIntoViewIfNeeded();
11743
11743
  await ShopCustomer.presses(StorefrontProductDetail.offCanvasCartGoToCheckoutButton);
11744
11744
  await StorefrontCheckoutConfirm.page.waitForURL("**/checkout/confirm", { waitUntil: "commit" });
11745
11745
  await ShopCustomer.expects(StorefrontCheckoutConfirm.headline).toBeVisible();
@@ -11756,8 +11756,8 @@ const CloseTheOffCanvasCart = test$e.extend({
11756
11756
  }, use) => {
11757
11757
  const task = () => {
11758
11758
  return async function CloseTheOffCanvasCart2() {
11759
- await StorefrontOffCanvasCart.continueShoppingButton.scrollIntoViewIfNeeded();
11760
11759
  await ShopCustomer.presses(StorefrontOffCanvasCart.continueShoppingButton);
11760
+ await ShopCustomer.expects(StorefrontOffCanvasCart.continueShoppingButton).not.toBeVisible();
11761
11761
  };
11762
11762
  };
11763
11763
  await use(task);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "12.4.1",
3
+ "version": "12.4.2",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "author": "shopware AG",
6
6
  "license": "MIT",