Skip to content

Commit

Permalink
Merge pull request #35248 from Progi1984/test7026
Browse files Browse the repository at this point in the history
Functional Tests : Hummingbird : FO - Checkout - Payment - Choose a payment method
  • Loading branch information
Progi1984 committed Feb 8, 2024
2 parents feeb95e + 7831e98 commit 18e4d6f
Show file tree
Hide file tree
Showing 72 changed files with 355 additions and 124 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import {homePage} from '@pages/FO/classic/home';
import {loginPage as foLoginPage} from '@pages/FO/classic/login';
import productPage from '@pages/FO/classic/product';
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {myAccountPage} from '@pages/FO/classic/myAccount';
import {orderHistoryPage} from '@pages/FO/classic/myAccount/orderHistory';
import orderDetailsPage from '@pages/FO/classic/myAccount/orderDetails';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import orderPageProductsBlock from '@pages/BO/orders/view/productsBlock';
import orderPageTabListBlock from '@pages/BO/orders/view/tabListBlock';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {homePage} from '@pages/FO/classic/home';
import productPage from '@pages/FO/classic/product';
import {searchResultsPage} from '@pages/FO/classic/searchResults';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import viewShoppingCartPage from '@pages/BO/orders/shoppingCarts/view';
import orderPageProductsBlock from '@pages/BO/orders/view/productsBlock';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {homePage} from '@pages/FO/classic/home';
import {loginPage as foLoginPage} from '@pages/FO/classic/login';
import productPage from '@pages/FO/classic/product';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import ordersPage from '@pages/BO/orders';
import addOrderPage from '@pages/BO/orders/add';
import orderPageMessagesBlock from '@pages/BO/orders/view/messagesBlock';
// Import FO pages
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';

// Import data
import Carriers from '@data/demo/carriers';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import dashboardPage from '@pages/BO/dashboard';
import ordersPage from '@pages/BO/orders';
import orderPageMessagesBlock from '@pages/BO/orders/view/messagesBlock';
// Import FO pages
import foOrderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {orderConfirmationPage as foOrderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {homePage as foHomePage} from '@pages/FO/classic/home';
import {loginPage as foLoginPage} from '@pages/FO/classic/login';
import {myAccountPage} from '@pages/FO/classic/myAccount';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import invoicesPage from '@pages/BO/orders/invoices';
import orderPageTabListBlock from '@pages/BO/orders/view/tabListBlock';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import foProductPage from '@pages/FO/classic/product';

// Import data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import invoicesPage from '@pages/BO/orders/invoices';
import orderPageTabListBlock from '@pages/BO/orders/view/tabListBlock';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {homePage} from '@pages/FO/classic/home';
import {loginPage as foLoginPage} from '@pages/FO/classic/login';
import productPage from '@pages/FO/classic/product';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import loginCommon from '@commonTests/BO/loginBO';

// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {homePage} from '@pages/FO/classic/home';
import {loginPage as foLoginPage} from '@pages/FO/classic/login';
import productPage from '@pages/FO/classic/product';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import ordersPage from '@pages/BO/orders';
import {homePage} from '@pages/FO/classic/home';
import foProductPage from '@pages/FO/classic/product';
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {myAccountPage} from '@pages/FO/classic/myAccount';
import {orderHistoryPage} from '@pages/FO/classic/myAccount/orderHistory';
import orderDetailsPage from '@pages/FO/classic/myAccount/orderDetails';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import ordersPage from '@pages/BO/orders';
// Import FO pages
import foProductPage from '@pages/FO/classic/product';
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';

// Import data
import Customers from '@data/demo/customers';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import productSettings from '@pages/BO/shopParameters/productSettings';
// Import FO pages
import foProductPage from '@pages/FO/classic/product';
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {homePage} from '@pages/FO/classic/home';
import {myAccountPage} from '@pages/FO/classic/myAccount';
import {orderHistoryPage} from '@pages/FO/classic/myAccount/orderHistory';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import productSettingsPage from '@pages/BO/shopParameters/productSettings';
// Import FO pages
import foProductPage from '@pages/FO/classic/product';
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';

// Import data
import ProductData from '@data/faker/product';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import dashboardPage from '@pages/BO/dashboard';
import {cartPage} from '@pages/FO/classic/cart';
import {homePage} from '@pages/FO/classic/home';
import foProductPage from '@pages/FO/classic/product';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {myAccountPage} from '@pages/FO/classic/myAccount';
import foVouchersPage from '@pages/FO/classic/myAccount/vouchers';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';

// Import data
import Products from '@data/demo/products';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import addCartRulePage from '@pages/BO/catalog/discounts/add';
import dashboardPage from '@pages/BO/dashboard';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {homePage as foHomePage} from '@pages/FO/classic/home';
import foProductPage from '@pages/FO/classic/product';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import addCartRulePage from '@pages/BO/catalog/discounts/add';
import dashboardPage from '@pages/BO/dashboard';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {homePage} from '@pages/FO/classic/home';
import productPage from '@pages/FO/classic/product';
import {loginPage} from '@pages/FO/classic/login';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import zonesPage from '@pages/BO/international/locations';
import countriesPage from '@pages/BO/international/locations/countries';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {homePage as foHomePage} from '@pages/FO/classic/home';
import foProductPage from '@pages/FO/classic/product';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import addCartRulePage from '@pages/BO/catalog/discounts/add';
import dashboardPage from '@pages/BO/dashboard';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {homePage as foHomePage} from '@pages/FO/classic/home';
import foProductPage from '@pages/FO/classic/product';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import stocksPage from '@pages/BO/catalog/stocks';
import movementsPage from '@pages/BO/catalog/stocks/movements';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {homePage} from '@pages/FO/classic/home';
import foProductPage from '@pages/FO/classic/product';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import viewCartPage from '@pages/BO/orders/shoppingCarts/view';
import orderPageCustomerBlock from '@pages/BO/orders/view/customerBlock';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {homePage as foHomePage} from '@pages/FO/classic/home';
import productPage from '@pages/FO/classic/product';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import dashboardPage from '@pages/BO/dashboard';
import {homePage} from '@pages/FO/classic/home';
import {loginPage} from '@pages/FO/classic/login';
import Products from '@data/demo/products';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {orderHistoryPage} from '@pages/FO/classic/myAccount/orderHistory';
import orderDetails from '@pages/FO/classic/myAccount/orderDetails';
import {myAccountPage} from '@pages/FO/classic/myAccount';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import ordersPage from '@pages/BO/orders';
import {viewOrderBasePage} from '@pages/BO/orders/view/viewOrderBasePage';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {homePage} from '@pages/FO/classic/home';
import {loginPage as foLoginPage} from '@pages/FO/classic/login';
import {myAccountPage} from '@pages/FO/classic/myAccount';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import {viewOrderBasePage} from '@pages/BO/orders/view/viewOrderBasePage';
import editMerchandiseReturnsPage from '@pages/BO/customerService/merchandiseReturns/edit';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {homePage} from '@pages/FO/classic/home';
import {loginPage as foLoginPage} from '@pages/FO/classic/login';
import {myAccountPage} from '@pages/FO/classic/myAccount';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import carriersPage from '@pages/BO/shipping/carriers';
import addCarrierPage from '@pages/BO/shipping/carriers/add';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {homePage} from '@pages/FO/classic/home';
import {loginPage as foLoginPage} from '@pages/FO/classic/login';
import productPage from '@pages/FO/classic/product';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import groupsPage from '@pages/BO/shopParameters/customerSettings/groups';
import addGroupPage from '@pages/BO/shopParameters/customerSettings/groups/add';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {homePage} from '@pages/FO/classic/home';
import {loginPage as foLoginPage} from '@pages/FO/classic/login';
import productPage from '@pages/FO/classic/product';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import dashboardPage from '@pages/BO/dashboard';
import preferencesPage from '@pages/BO/shipping/preferences';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import foCheckoutPage from '@pages/FO/classic/checkout';
import {checkoutPage as foCheckoutPage} from '@pages/FO/classic/checkout';
import foProductPage from '@pages/FO/classic/product';
import {homePage as foHomePage} from '@pages/FO/classic/home';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import carriersPage from '@pages/BO/shipping/carriers';
import preferencesPage from '@pages/BO/shipping/preferences';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import foCheckoutPage from '@pages/FO/classic/checkout';
import {checkoutPage as foCheckoutPage} from '@pages/FO/classic/checkout';
import {homePage as foHomePage} from '@pages/FO/classic/home';
import foProductPage from '@pages/FO/classic/product';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import dashboardPage from '@pages/BO/dashboard';
import preferencesPage from '@pages/BO/payment/preferences';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {homePage} from '@pages/FO/classic/home';
import productPage from '@pages/FO/classic/product';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import addCustomerPage from '@pages/BO/customers/add';
import preferencesPage from '@pages/BO/payment/preferences';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {homePage} from '@pages/FO/classic/home';
import productPage from '@pages/FO/classic/product';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import dashboardPage from '@pages/BO/dashboard';
import preferencesPage from '@pages/BO/payment/preferences';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {homePage} from '@pages/FO/classic/home';
import productPage from '@pages/FO/classic/product';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import dashboardPage from '@pages/BO/dashboard';
import preferencesPage from '@pages/BO/payment/preferences';
// Import FO pages
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {homePage} from '@pages/FO/classic/home';
import {loginPage as foLoginPage} from '@pages/FO/classic/login';
import productPage from '@pages/FO/classic/product';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import orderSettingsPage from '@pages/BO/shopParameters/orderSettings';
import {homePage} from '@pages/FO/classic/home';
import productPage from '@pages/FO/classic/product';
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';

// Import data
import Customers from '@data/demo/customers';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import orderSettingsPage from '@pages/BO/shopParameters/orderSettings';
import {homePage} from '@pages/FO/classic/home';
import productPage from '@pages/FO/classic/product';
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';

import {expect} from 'chai';
import type {BrowserContext, Page} from 'playwright';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import orderSettingsPage from '@pages/BO/shopParameters/orderSettings';
import productPage from '@pages/FO/classic/product';
import {homePage} from '@pages/FO/classic/home';
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';

// Import data
import Customers from '@data/demo/customers';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import orderPageProductsBlock from '@pages/BO/orders/view/productsBlock';
import {homePage} from '@pages/FO/classic/home';
import productPage from '@pages/FO/classic/product';
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {loginPage as foLoginPage} from '@pages/FO/classic/login';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';

// Import data
import Customers from '@data/demo/customers';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import {homePage as foHomePage} from '@pages/FO/classic/home';
import foProductPage from '@pages/FO/classic/product';
import {loginPage as foLoginPage} from '@pages/FO/classic/login';
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {searchResultsPage} from '@pages/FO/classic/searchResults';

// Import data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import {homePage} from '@pages/FO/classic/home';
import {loginPage as foLoginPage} from '@pages/FO/classic/login';
import productPage from '@pages/FO/classic/product';
import {cartPage} from '@pages/FO/classic/cart';
import checkoutPage from '@pages/FO/classic/checkout';
import orderConfirmationPage from '@pages/FO/classic/checkout/orderConfirmation';
import {checkoutPage} from '@pages/FO/classic/checkout';
import {orderConfirmationPage} from '@pages/FO/classic/checkout/orderConfirmation';
import {myAccountPage} from '@pages/FO/classic/myAccount';
import {orderHistoryPage} from '@pages/FO/classic/myAccount/orderHistory';
import orderDetails from '@pages/FO/classic/myAccount/orderDetails';
Expand Down

0 comments on commit 18e4d6f

Please sign in to comment.