From ca14fa9715c577e7a661c2ea78b1a47fe5fc09bb Mon Sep 17 00:00:00 2001 From: tleon Date: Fri, 18 Oct 2024 10:47:44 +0200 Subject: [PATCH 1/3] add new version in workflows --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- .github/workflows/cron_js_routing.yml | 10 +++++---- .github/workflows/cron_nightly_build.yml | 5 ++++- .../workflows/cron_nightly_tests_9.0.x.yml | 21 +++++++++++++++++++ .../workflows/cron_nightly_tests_reports.yml | 2 ++ .../workflows/cron_nightly_tests_reusable.yml | 15 ++++++++++++- .github/workflows/cron_php_update_modules.yml | 1 + 7 files changed, 49 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/cron_nightly_tests_9.0.x.yml diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 53405c48fe6a9..9af849a4676d9 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -12,7 +12,7 @@ https://devdocs.prestashop-project.org/9/contribute/contribution-guidelines/pull | Questions | Answers | ----------------- | ------------------------------------------------------- -| Branch? | develop / 8.2.x +| Branch? | develop / 9.0.x / 8.2.x | Description? | Please be specific when describing the PR.
Every detail helps: versions, browser/server configuration, specific module/theme, etc. Feel free to add more information below this table. | Type? | bug fix / improvement / new feature / refacto | Category? | FO / BO / CO / IN / WS / TE / LO / ME / PM / see explanations at https://devdocs.prestashop-project.org/9/contribute/contribution-guidelines/pull-requests/#type--category diff --git a/.github/workflows/cron_js_routing.yml b/.github/workflows/cron_js_routing.yml index 5d970fa62a38f..ac835cc1f17a8 100644 --- a/.github/workflows/cron_js_routing.yml +++ b/.github/workflows/cron_js_routing.yml @@ -18,14 +18,16 @@ jobs: matrix: BRANCH: - develop + - 9.0.x + - 8.2.x - 8.1.x - 8.0.x include: - BRANCH: develop - node: 16 - - BRANCH: 8.1.x - node: 16 - - BRANCH: 8.0.x + node: 20 + - BRANCH: 9.0.x + node: 20 + - BRANCH: 8.2.x node: 16 env: diff --git a/.github/workflows/cron_nightly_build.yml b/.github/workflows/cron_nightly_build.yml index 44e66eaf29114..bb8449a9010f4 100644 --- a/.github/workflows/cron_nightly_build.yml +++ b/.github/workflows/cron_nightly_build.yml @@ -20,13 +20,16 @@ jobs: matrix: BRANCH: - develop + - 9.0.x - 8.2.x - 8.1.x - 8.0.x - 1.7.8.x include: - BRANCH: develop - node: 16 + node: 20 + - BRANCH: 9.0.x + node: 20 - BRANCH: 8.2.x node: 16 - BRANCH: 8.1.x diff --git a/.github/workflows/cron_nightly_tests_9.0.x.yml b/.github/workflows/cron_nightly_tests_9.0.x.yml new file mode 100644 index 0000000000000..ea1a63d3480a8 --- /dev/null +++ b/.github/workflows/cron_nightly_tests_9.0.x.yml @@ -0,0 +1,21 @@ +# This workflow aim to run all UI tests on active branches +# and upload the report on Google cloud platform storage +name: Nightly tests and report - 9.0.x + +on: + workflow_run: + workflows: [ 'Nightly Build' ] + types: + - requested + +jobs: + test_9_0_x: + uses: ./.github/workflows/cron_nightly_tests_reusable.yml + with: + BRANCH: 9.0.x + PHP_VERSION: '8.1' + NODE_VERSION: '20' + DB_SERVER: 'mysql' + secrets: + GC_PROJECT_ID: ${{ secrets.GC_PROJECT_ID }} + GC_SERVICE_KEY: ${{ secrets.GC_SERVICE_KEY }} diff --git a/.github/workflows/cron_nightly_tests_reports.yml b/.github/workflows/cron_nightly_tests_reports.yml index 096bf6f61ff81..0c7ffd0e681d0 100644 --- a/.github/workflows/cron_nightly_tests_reports.yml +++ b/.github/workflows/cron_nightly_tests_reports.yml @@ -26,6 +26,8 @@ jobs: database: mysql - branch: 8.2.x database: mysql + - branch: 9.0.x + database: mysql - branch: develop database: mysql - branch: develop diff --git a/.github/workflows/cron_nightly_tests_reusable.yml b/.github/workflows/cron_nightly_tests_reusable.yml index d4a64f2455200..0939156992f46 100644 --- a/.github/workflows/cron_nightly_tests_reusable.yml +++ b/.github/workflows/cron_nightly_tests_reusable.yml @@ -176,6 +176,19 @@ jobs: CAMPAIGN: 'functional:FO:hummingbird:04-07' - BRANCH: 8.2.x CAMPAIGN: 'functional:FO:hummingbird:08-12' + ## 9.0.x + - BRANCH: 9.0.x + CAMPAIGN: 'functional:BO:advanced-parameters:11-12' + - BRANCH: 9.0.x + CAMPAIGN: 'functional:FO:01-03' + - BRANCH: 9.0.x + CAMPAIGN: 'functional:FO:04-07' + - BRANCH: 9.0.x + CAMPAIGN: 'functional:FO:08-12' + - BRANCH: 9.0.x + CAMPAIGN: 'functional:FO:hummingbird:04-07' + - BRANCH: 9.0.x + CAMPAIGN: 'functional:FO:hummingbird:08-12' ## develop - BRANCH: develop CAMPAIGN: 'functional:FO:01-03' @@ -208,7 +221,7 @@ jobs: PHP_VERSION: ${{ inputs.PHP_VERSION }} ENABLE_SSL: ${{ env.ENABLE_SSL }} INSTALL_AUTO: ${{ env.INSTALL_AUTO }} - CP_API_CONFIG: ${{ (env.GH_BRANCH == '8.1.x' || env.GH_BRANCH == '8.2.x') && 'true' || 'false' }} + CP_API_CONFIG: ${{ (env.GH_BRANCH == '8.1.x' || env.GH_BRANCH == '8.2.x' || env.GH_BRANCH == '9.0.x') && 'true' || 'false' }} DB_SERVER: ${{ inputs.DB_SERVER }} - name: Setup Environment failure uses: ./.github/actions/setup-env-export-logs diff --git a/.github/workflows/cron_php_update_modules.yml b/.github/workflows/cron_php_update_modules.yml index bdb17fadefb19..c94696969b77d 100644 --- a/.github/workflows/cron_php_update_modules.yml +++ b/.github/workflows/cron_php_update_modules.yml @@ -19,6 +19,7 @@ jobs: matrix: BRANCH: - develop + - 9.0.x - 8.2.x env: GH_BRANCH: ${{ matrix.BRANCH }} From 7c936d6a8b0a1d4d4c22f7b7cbf29ed3d021cb2e Mon Sep 17 00:00:00 2001 From: tleon Date: Fri, 18 Oct 2024 15:49:43 +0200 Subject: [PATCH 2/3] fixed based version of the change --- .../cron_nightly_tests_9.0.x_mariadb.yml | 21 +++++++++++++++++++ ...yml => cron_nightly_tests_9.0.x_mysql.yml} | 0 .../workflows/cron_nightly_tests_reports.yml | 2 ++ .../workflows/cron_nightly_tests_reusable.yml | 8 +++---- 4 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/cron_nightly_tests_9.0.x_mariadb.yml rename .github/workflows/{cron_nightly_tests_9.0.x.yml => cron_nightly_tests_9.0.x_mysql.yml} (100%) diff --git a/.github/workflows/cron_nightly_tests_9.0.x_mariadb.yml b/.github/workflows/cron_nightly_tests_9.0.x_mariadb.yml new file mode 100644 index 0000000000000..f4577936e8d5a --- /dev/null +++ b/.github/workflows/cron_nightly_tests_9.0.x_mariadb.yml @@ -0,0 +1,21 @@ +# This workflow aim to run all UI tests on active branches +# and upload the report on Google cloud platform storage +name: Nightly tests and report - 9.0.x + +on: + workflow_run: + workflows: [ 'Nightly Build' ] + types: + - requested + +jobs: + test_9_0_x: + uses: ./.github/workflows/cron_nightly_tests_reusable.yml + with: + BRANCH: 9.0.x + PHP_VERSION: '8.1' + NODE_VERSION: '20' + DB_SERVER: 'mariadb' + secrets: + GC_PROJECT_ID: ${{ secrets.GC_PROJECT_ID }} + GC_SERVICE_KEY: ${{ secrets.GC_SERVICE_KEY }} diff --git a/.github/workflows/cron_nightly_tests_9.0.x.yml b/.github/workflows/cron_nightly_tests_9.0.x_mysql.yml similarity index 100% rename from .github/workflows/cron_nightly_tests_9.0.x.yml rename to .github/workflows/cron_nightly_tests_9.0.x_mysql.yml diff --git a/.github/workflows/cron_nightly_tests_reports.yml b/.github/workflows/cron_nightly_tests_reports.yml index 0c7ffd0e681d0..3a2231839d6d2 100644 --- a/.github/workflows/cron_nightly_tests_reports.yml +++ b/.github/workflows/cron_nightly_tests_reports.yml @@ -28,6 +28,8 @@ jobs: database: mysql - branch: 9.0.x database: mysql + - branch: 9.0.x + database: mariadb - branch: develop database: mysql - branch: develop diff --git a/.github/workflows/cron_nightly_tests_reusable.yml b/.github/workflows/cron_nightly_tests_reusable.yml index 0939156992f46..07b7b3f9be4b3 100644 --- a/.github/workflows/cron_nightly_tests_reusable.yml +++ b/.github/workflows/cron_nightly_tests_reusable.yml @@ -177,8 +177,6 @@ jobs: - BRANCH: 8.2.x CAMPAIGN: 'functional:FO:hummingbird:08-12' ## 9.0.x - - BRANCH: 9.0.x - CAMPAIGN: 'functional:BO:advanced-parameters:11-12' - BRANCH: 9.0.x CAMPAIGN: 'functional:FO:01-03' - BRANCH: 9.0.x @@ -186,9 +184,9 @@ jobs: - BRANCH: 9.0.x CAMPAIGN: 'functional:FO:08-12' - BRANCH: 9.0.x - CAMPAIGN: 'functional:FO:hummingbird:04-07' + CAMPAIGN: 'sanity:productV2' - BRANCH: 9.0.x - CAMPAIGN: 'functional:FO:hummingbird:08-12' + CAMPAIGN: 'functional:productV2' ## develop - BRANCH: develop CAMPAIGN: 'functional:FO:01-03' @@ -221,7 +219,7 @@ jobs: PHP_VERSION: ${{ inputs.PHP_VERSION }} ENABLE_SSL: ${{ env.ENABLE_SSL }} INSTALL_AUTO: ${{ env.INSTALL_AUTO }} - CP_API_CONFIG: ${{ (env.GH_BRANCH == '8.1.x' || env.GH_BRANCH == '8.2.x' || env.GH_BRANCH == '9.0.x') && 'true' || 'false' }} + CP_API_CONFIG: ${{ (env.GH_BRANCH == '8.1.x' || env.GH_BRANCH == '8.2.x') && 'true' || 'false' }} DB_SERVER: ${{ inputs.DB_SERVER }} - name: Setup Environment failure uses: ./.github/actions/setup-env-export-logs From 228a7c00cd1a09f5b63e2d7a0ae5ce0dcc42b81f Mon Sep 17 00:00:00 2001 From: Progi1984 Date: Fri, 18 Oct 2024 16:03:02 +0200 Subject: [PATCH 3/3] Functional Tests : Remove playwright dependency --- tests/UI/campaigns/cldr/03_deleteCurrency.ts | 3 ++- .../UI/campaigns/cldr/04_searchCurrencyByISOCode.ts | 3 ++- .../cldr/05_searchCurrencyByEnableDisable.ts | 3 ++- .../UI/campaigns/cldr/07_editSymbolFormatCurrency.ts | 3 ++- .../campaigns/cldr/08_resetSymbolFormatSettings.ts | 3 ++- tests/UI/campaigns/cldr/09_enableDisableCurrency.ts | 3 ++- tests/UI/campaigns/functional/API/01_basicTest.ts | 2 +- .../01_authorizationEndpoint.ts | 4 +++- .../01_internalAuthServer/02_resourceEndpoint.ts | 4 +++- .../01_authorizationEndpoint.ts | 2 +- .../02_externalAuthServer/02_resourceEndpoint.ts | 7 ++++--- .../02_endpoints/01_apiClient/01_postApiClient.ts | 4 +++- .../01_apiClient/02_deleteApiClientId.ts | 4 +++- .../02_endpoints/01_apiClient/03_getApiClientId.ts | 4 +++- .../02_endpoints/01_apiClient/04_patchApiClientId.ts | 4 +++- .../01_apiClient/05_getApiClientInfos.ts | 4 +++- .../02_endpoints/02_apiClients/01_getApiClients.ts | 4 +++- .../04_customerGroup/02_deleteCustomerGroupsId.ts | 4 +++- .../04_customerGroup/03_getCustomerGroupsId.ts | 4 +++- .../04_customerGroup/04_putCustomerGroupsId.ts | 4 +++- .../02_endpoints/05_hookStatus/01_getHookStatusId.ts | 4 +++- .../API/02_endpoints/06_hooks/02_getHooksId.ts | 4 +++- .../API/02_endpoints/07_language/01_getLanguages.ts | 4 +++- .../08_module/01_getModuleTechnicalName.ts | 4 +++- .../API/02_endpoints/09_modules/02_getModules.ts | 4 +++- .../09_modules/03_putModulesToggleStatus.ts | 4 +++- .../API/02_endpoints/10_product/01_postProduct.ts | 4 +++- .../02_endpoints/10_product/02_deleteProductId.ts | 4 +++- .../API/02_endpoints/10_product/03_getProductId.ts | 4 +++- .../API/02_endpoints/10_product/04_patchProductId.ts | 4 +++- .../02_endpoints/10_product/05_postProductIdImage.ts | 4 +++- .../02_endpoints/10_product/06_getProductIdImages.ts | 4 +++- .../02_endpoints/10_product/07_getProductImageId.ts | 4 +++- .../02_endpoints/10_product/08_postProductImageId.ts | 4 +++- .../API/02_endpoints/11_products/01_getProducts.ts | 4 +++- .../functional/BO/00_login/01_passwordReminder.ts | 3 ++- .../UI/campaigns/functional/BO/00_login/02_login.ts | 3 ++- .../UI/campaigns/functional/BO/00_login/03_logout.ts | 3 ++- .../functional/BO/00_login/04_checkLinks.ts | 3 ++- .../BO/01_dashboard/01_enableDisableDemoMode.ts | 3 ++- .../BO/01_dashboard/02_activityOverview.ts | 3 ++- .../BO/01_dashboard/03_productsAndSales.ts | 3 ++- .../functional/BO/01_dashboard/04_helpCard.ts | 3 ++- .../functional/BO/02_orders/01_orders/01_helpCard.ts | 3 ++- .../BO/02_orders/01_orders/02_filterOrders.ts | 3 ++- .../BO/02_orders/01_orders/03_exportOrders.ts | 3 ++- .../BO/02_orders/01_orders/04_updateStatus.ts | 3 ++- .../02_orders/01_orders/05_bulkUpdateOrdersStatus.ts | 3 ++- .../BO/02_orders/01_orders/06_bulkOpenInNewTab.ts | 3 ++- .../BO/02_orders/01_orders/07_sortOrders.ts | 3 ++- .../BO/02_orders/01_orders/08_viewCustomer.ts | 3 ++- .../BO/02_orders/01_orders/09_viewGuest.ts | 3 ++- .../BO/02_orders/01_orders/10_pagination.ts | 3 ++- .../BO/02_orders/01_orders/11_previewOrder.ts | 3 ++- .../01_orders/createOrders/01_searchViewCustomer.ts | 4 +++- .../01_orders/createOrders/02_createCustomer.ts | 3 ++- .../createOrders/03_createSimpleOrderInBO.ts | 3 ++- .../01_orders/createOrders/04_selectPreviousCarts.ts | 4 +++- .../createOrders/05_selectPreviousOrders.ts | 4 +++- .../01_orders/createOrders/06_addProductToTheCart.ts | 3 ++- .../createOrders/07_searchAddRemoveVoucher.ts | 5 +++-- .../01_orders/createOrders/08_chooseAddress.ts | 4 +++- .../01_orders/createOrders/09_chooseShipping.ts | 3 ++- .../01_orders/createOrders/10_checkSummary.ts | 3 ++- .../01_orders/viewAndEditOrder/01_customerBlock.ts | 3 ++- .../01_orders/viewAndEditOrder/02_productBlock.ts | 3 ++- .../01_orders/viewAndEditOrder/03_statusTab.ts | 3 ++- .../01_orders/viewAndEditOrder/04_documentsTab.ts | 3 ++- .../01_orders/viewAndEditOrder/05_carriersTab.ts | 3 ++- .../viewAndEditOrder/06_merchandiseReturnsTab.ts | 3 ++- .../01_orders/viewAndEditOrder/07_messagesBlock.ts | 3 ++- .../01_orders/viewAndEditOrder/08_paymentBlock.ts | 3 ++- .../01_orders/viewAndEditOrder/09_addDiscount.ts | 3 ++- .../01_orders/viewAndEditOrder/10_changeStatus.ts | 3 ++- .../01_orders/viewAndEditOrder/11_checkInvoice.ts | 3 ++- .../viewAndEditOrder/12_checkMultiInvoice.ts | 3 ++- .../01_orders/viewAndEditOrder/13_returnOrder.ts | 3 ++- .../02_invoices/01_generateInvoiceByDate.ts | 3 ++- .../02_invoices/02_generateInvoiceByStatus.ts | 3 ++- .../03_invoiceOptions/01_enableDisableInvoices.ts | 3 ++- .../02_enableDisableTaxBreakdown.ts | 3 ++- .../03_enableDisableProductImage.ts | 3 ++- .../03_invoiceOptions/04_invoicePrefix.ts | 3 ++- .../03_invoiceOptions/05_enableDisableCurrentYear.ts | 3 ++- .../02_invoices/03_invoiceOptions/06_otherOptions.ts | 3 ++- .../03_creditSlips/01_createFilterCreditSlips.ts | 3 ++- .../02_sortAndPaginationCreditSlips.ts | 3 ++- .../03_creditSlips/03_generateCreditSlipsByDate.ts | 3 ++- .../02_orders/03_creditSlips/04_creditSlipOptions.ts | 3 ++- .../01_generateDeliverySlipByDate.ts | 3 ++- .../02_deliverySlipOptions/01_deliverySlipPrefix.ts | 3 ++- .../02_deliverySlipOptions/02_deliverySlipNumber.ts | 3 ++- .../03_enableDisableProductImage.ts | 3 ++- .../05_shoppingCarts/01_filterShoppingCarts.ts | 3 ++- .../05_shoppingCarts/02_sortAndPagination.ts | 3 ++- .../BO/02_orders/05_shoppingCarts/03_viewCarts.ts | 3 ++- .../BO/02_orders/05_shoppingCarts/04_exportCarts.ts | 3 ++- .../05_shoppingCarts/05_deleteAbandonedCarts.ts | 3 ++- .../BO/03_catalog/01_products/01_filterProducts.ts | 3 ++- .../03_catalog/01_products/02_CRUDStandardProduct.ts | 3 ++- .../01_products/03_CRUDProductWithCombinations.ts | 3 ++- .../03_catalog/01_products/04_CRUDPackOfProducts.ts | 3 ++- .../03_catalog/01_products/05_CRUDVirtualProduct.ts | 3 ++- .../BO/03_catalog/01_products/06_duplicateProduct.ts | 3 ++- .../03_catalog/01_products/07_productBulkActions.ts | 3 ++- .../BO/03_catalog/01_products/08_header.ts | 3 ++- .../BO/03_catalog/01_products/09_footer.ts | 3 ++- .../BO/03_catalog/01_products/10_descriptionTab.ts | 3 ++- .../BO/03_catalog/01_products/11_combinationTab.ts | 3 ++- .../BO/03_catalog/01_products/12_packTab.ts | 3 ++- .../BO/03_catalog/01_products/13_virtualTab.ts | 3 ++- .../BO/03_catalog/01_products/14_detailsTab.ts | 3 ++- .../BO/03_catalog/01_products/15_stocksTab.ts | 3 ++- .../BO/03_catalog/01_products/16_shippingTab.ts | 3 ++- .../BO/03_catalog/01_products/17_pricingTab.ts | 3 ++- .../BO/03_catalog/01_products/18_seoTab.ts | 3 ++- .../BO/03_catalog/01_products/19_optionsTab.ts | 3 ++- .../BO/03_catalog/01_products/20_multistore.ts | 3 ++- .../01_products/21_filterSortPagination.ts | 3 ++- .../22_bulkActionsEnableDisable3DotsButton.ts | 3 ++- .../02_categories/01_filterAndQuickEditCategories.ts | 3 ++- .../03_catalog/02_categories/02_CRUDCategoryInBO.ts | 4 +++- .../02_categories/03_categoriesBulkAction.ts | 3 ++- .../02_categories/04_changeCategoryPosition.ts | 3 ++- .../02_categories/05_paginationAndSortCategories.ts | 3 ++- .../BO/03_catalog/02_categories/06_helpCard.ts | 3 ++- .../03_catalog/02_categories/07_exportCategories.ts | 3 ++- .../03_catalog/02_categories/08_editHomeCategory.ts | 3 ++- .../03_monitoring/01_deleteEmptyCategory.ts | 3 ++- .../03_monitoring/02_monitoringProducts.ts | 3 ++- .../BO/03_catalog/03_monitoring/03_helpCard.ts | 3 ++- .../01_emptyCategories.ts | 3 ++- .../02_withCombinationsWithoutQuantities.ts | 3 ++- .../03_withoutCombinationsWithoutQuantities.ts | 3 ++- .../04_disabledProducts.ts | 3 ++- .../05_productsWithoutImage.ts | 3 ++- .../06_productsWithoutDescription.ts | 3 ++- .../07_productsWithoutPrice.ts | 3 ++- .../01_attributes/01_CRUDAttributesAndValues.ts | 3 ++- .../01_attributes/02_changePosition.ts | 3 ++- .../01_attributes/attributes/01_filterAttributes.ts | 3 ++- .../attributes/02_sortPaginationAndBulkDelete.ts | 3 ++- .../01_attributes/attributes/04_helpCard.ts | 3 ++- .../01_attributes/values/01_filterValues.ts | 3 ++- .../values/02_sortPaginationAndBulkDelete.ts | 3 ++- .../02_features/01_CRUDFeaturesAndValues.ts | 3 ++- .../02_features/features/01_filterFeatures.ts | 3 ++- .../features/02_sortPaginationAndBulkDelete.ts | 3 ++- .../02_features/features/03_changePosition.ts | 3 ++- .../02_features/features/04_helpCard.ts | 3 ++- .../02_features/values/01_filterFeatureValues.ts | 3 ++- .../values/02_sortPaginationAndBulkDelete.ts | 3 ++- .../brands/01_CRUDBrandAndAddress.ts | 3 ++- .../05_brandsAndSuppliers/brands/02_helpCard.ts | 3 ++- .../brands/addresses/01_filterAddresses.ts | 3 ++- .../addresses/02_sortPaginationAndBulkActions.ts | 3 ++- .../brands/brands/01_filterAndQuickEditBrands.ts | 3 ++- .../brands/brands/02_sortPaginationAndBulkActions.ts | 3 ++- .../brands/brands/03_exportBrands.ts | 3 ++- .../suppliers/01_CRUDSupplier.ts | 3 ++- .../suppliers/02_filterAndQuickEdit.ts | 3 ++- .../05_brandsAndSuppliers/suppliers/03_helpCard.ts | 3 ++- .../suppliers/04_paginationSortAndBulkActions.ts | 3 ++- .../functional/BO/03_catalog/06_files/01_CRUDFile.ts | 3 ++- .../03_filterSortPaginationAndBulkActions.ts | 3 ++- .../functional/BO/03_catalog/06_files/04_helpCard.ts | 3 ++- .../01_information/01_withAndWithoutCode.ts | 3 ++- .../01_information/02_enableDisablePartialUse.ts | 3 ++- .../01_CRUDCartRule/01_information/03_priority.ts | 3 ++- .../01_information/04_disableStatus.ts | 3 ++- .../02_conditions/01_limitToSingleCustomer.ts | 3 ++- .../02_conditions/02_invalidDateTime.ts | 3 ++- .../02_conditions/03_minimumAmount.ts | 3 ++- .../02_conditions/04_checkTotalAvailable.ts | 3 ++- .../05_checkTotalAvailableForEachUser.ts | 3 ++- .../02_conditions/06_countrySelection.ts | 3 ++- .../02_conditions/07_carrierSelection.ts | 3 ++- .../02_conditions/08_customerGroupSelection.ts | 3 ++- .../02_conditions/10_productSelection.ts | 3 ++- .../03_actions/07_applyToSpecificProduct.ts | 3 ++- .../02_filterQuickEditAndBulkActionsCartRules.ts | 3 ++- .../01_cartRules/03_sortAndPaginationCartRule.ts | 3 ++- .../02_catalogPriceRules/01_CRUDCatalogPriceRule.ts | 3 ++- .../02_filterSortAndPagination.ts | 3 ++- .../08_stocks/01_movements/01_filterMovements.ts | 3 ++- .../08_stocks/01_movements/02_sortAndPagination.ts | 3 ++- .../BO/03_catalog/08_stocks/01_simpleFilterStocks.ts | 3 ++- .../BO/03_catalog/08_stocks/02_sortAndPagination.ts | 3 ++- .../BO/03_catalog/08_stocks/03_updateQuantity.ts | 3 ++- .../BO/03_catalog/08_stocks/04_bulkEditQuantity.ts | 3 ++- .../03_catalog/08_stocks/05_filterStocksByStatus.ts | 3 ++- .../08_stocks/06_displayProductsBelowLowStock.ts | 3 ++- .../08_stocks/07_filterStocksByCategories.ts | 3 ++- .../BO/03_catalog/08_stocks/08_helpCard.ts | 3 ++- .../01_customers/01_filterAndQuickEditCustomers.ts | 3 ++- .../BO/04_customers/01_customers/02_CRUDCustomer.ts | 3 ++- .../01_customers/03_customersBulkActions.ts | 3 ++- .../01_customers/04_paginationAndSortCustomers.ts | 3 ++- .../01_customers/05_setRequiredFields.ts | 3 ++- .../04_customers/01_customers/06_exportCustomers.ts | 3 ++- .../BO/04_customers/01_customers/07_helpCard.ts | 3 ++- .../BO/04_customers/01_customers/08_viewCustomer.ts | 3 ++- .../01_customers/09_subscribeToNewsletter.ts | 3 ++- .../04_customers/01_customers/10_viewEditVoucher.ts | 3 ++- .../01_customers/11_transformGuestToCustomer.ts | 3 ++- .../04_customers/02_addresses/01_filterAddresses.ts | 3 ++- .../04_customers/02_addresses/02_CRUDAddressInBO.ts | 3 ++- .../02_addresses/03_addressesBulkActions.ts | 3 ++- .../02_addresses/04_paginationAndSortAddresses.ts | 3 ++- .../BO/04_customers/02_addresses/05_helpCard.ts | 3 ++- .../02_addresses/06_setRequiredFields.ts | 3 ++- .../BO/04_customers/03_outstanding/01_helpCard.ts | 3 ++- .../BO/04_customers/03_outstanding/02_viewOrder.ts | 3 ++- .../BO/04_customers/03_outstanding/03_viewInvoice.ts | 3 ++- .../BO/04_customers/03_outstanding/04_pagination.ts | 3 ++- .../03_outstanding/05_sortFilterOutstanding.ts | 3 ++- .../01_customerService/01_viewMessage.ts | 3 ++- .../01_customerService/02_changeStatus.ts | 3 ++- .../01_customerService/03_respondToMessage.ts | 3 ++- .../01_customerService/04_contactOptions.ts | 3 ++- .../01_customerService/05_customerServiceOptions.ts | 3 ++- .../01_customerService/06_forwardMessage.ts | 3 ++- .../02_orderMessages/01_CRUDOrderMessage.ts | 3 ++- .../02_filterAndBulkDeleteOrderMessages.ts | 3 ++- .../03_paginationAndSortOrderMessages.ts | 3 ++- .../01_merchandiseReturnOptions.ts | 3 ++- .../03_merchandiseReturns/02_deleteProduct.ts | 3 ++- .../03_merchandiseReturns/03_updateStatus.ts | 3 ++- .../01_modules/01_filterModulesByStatus.ts | 3 ++- .../01_modules/02_filterModulesByCategories.ts | 3 ++- .../01_moduleManager/01_modules/03_searchModule.ts | 3 ++- .../01_modules/04_enableDisableModule.ts | 3 ++- .../01_moduleManager/01_modules/05_resetModule.ts | 3 ++- .../01_modules/06_installUninstallModule.ts | 3 ++- .../01_moduleManager/01_modules/07_bulkActions.ts | 3 ++- .../01_moduleManager/01_modules/08_uploadModule.ts | 3 ++- .../01_modules/09_configureModule.ts | 3 ++- .../01_moduleManager/02_alerts/02_resetModule.ts | 3 ++- .../02_alerts/03_installUninstallModule.ts | 3 ++- .../01_moduleManager/02_alerts/05_configureModule.ts | 3 ++- .../01_themeAndLogo/01_addNewTheme.ts | 3 ++- .../01_themeAndLogo/02_exportCurrentTheme.ts | 3 ++- .../02_pagesConfiguration/01_enableDisableModule.ts | 3 ++- .../02_pagesConfiguration/02_resetModule.ts | 3 ++- .../03_installUninstallModule.ts | 3 ++- .../01_advancedCustomization.ts | 3 ++- .../08_design/03_emailTheme/01_previewEmailThemes.ts | 3 ++- .../03_emailTheme/02_selectDefaultEmailTheme.ts | 3 ++- .../03_emailTheme/03_backToConfigurationLink.ts | 3 ++- .../03_emailTheme/04_configurationOfTheWholePage.ts | 3 ++- .../08_design/03_emailTheme/05_viewRawHtmlAndText.ts | 3 ++- .../BO/08_design/04_pages/01_CRUDPageCategory.ts | 3 ++- .../functional/BO/08_design/04_pages/02_helpCard.ts | 3 ++- .../categories/01_filterAndQuickEditCategories.ts | 3 ++- .../04_pages/categories/02_categoriesBulkActions.ts | 3 ++- .../categories/03_paginationAndSortCategories.ts | 3 ++- .../04_pages/pages/01_filterAndQuickEditPages.ts | 3 ++- .../08_design/04_pages/pages/02_pagesBulkActions.ts | 3 ++- .../BO/08_design/04_pages/pages/03_pagination.ts | 3 ++- .../BO/08_design/04_pages/pages/04_sortPages.ts | 3 ++- .../BO/08_design/05_positions/02_filterModule.ts | 3 ++- .../BO/08_design/05_positions/03_searchHook.ts | 3 ++- .../05_unhookModuleInListByBulkActions.ts | 3 ++- .../06_imageSettings/01_filterImageTypes.ts | 3 ++- .../08_design/06_imageSettings/02_CRUDImageType.ts | 3 ++- .../06_imageSettings/03_bulkDeleteImageTypes.ts | 3 ++- .../06_imageSettings/05_sortAndPagination.ts | 3 ++- .../08_design/06_imageSettings/06_deleteActions.ts | 3 ++- .../06_imageSettings/09_imageGenerationOptions.ts | 3 ++- .../06_imageSettings/10_regenerateThumbnails.ts | 3 ++- .../06_imageSettings/11_imageGenerationOnCreation.ts | 3 ++- .../06_imageSettings/13_checkProductImageFormat.ts | 3 ++- .../06_imageSettings/14_checkCategoryImageFormat.ts | 3 ++- .../06_imageSettings/15_checkStoreImageFormat.ts | 3 ++- .../06_imageSettings/16_checkBaseImageFormat.ts | 3 ++- .../01_createAndCheckFooterLinkWidget.ts | 3 ++- .../BO/08_design/07_linkWidget/04_sortLinkList.ts | 3 ++- .../BO/09_shipping/01_carriers/01_CRUDCarrier.ts | 3 ++- .../01_carriers/02_filterSortAndPagination.ts | 3 ++- .../01_carriers/03_quickEditAndBulkActions.ts | 3 ++- .../01_carriers/04_quickEditStatusAndFreeShipping.ts | 3 ++- .../BO/09_shipping/01_carriers/05_changePosition.ts | 3 ++- .../BO/09_shipping/01_carriers/06_generalSettings.ts | 3 ++- .../01_carriers/07_shippingLocationsAndCosts.ts | 3 ++- .../BO/09_shipping/01_carriers/08_sizeAndWeight.ts | 3 ++- .../02_preferences/01_handling/01_handlingCharges.ts | 3 ++- .../02_carrierOptions/01_defaultCarrier.ts | 3 ++- .../02_carrierOptions/02_updateCarriersSortOption.ts | 3 ++- .../01_paymentMethods/01_configureModuleLink.ts | 3 ++- .../02_preferences/01_currencyRestrictions.ts | 3 ++- .../02_preferences/02_groupRestrictions.ts | 3 ++- .../02_preferences/03_countryRestrictions.ts | 3 ++- .../02_preferences/04_carrierRestrictions.ts | 3 ++- .../01_localization/01_importLocalizationPack.ts | 3 ++- .../01_localization/02_defaultLanguage.ts | 3 ++- .../01_localization/04_defaultCountry.ts | 3 ++- .../01_localization/05_updateDefaultLanguage.ts | 3 ++- .../01_localization/01_localization/06_helpButton.ts | 3 ++- .../01_localization/07_defaultCurrency.ts | 3 ++- .../02_languages/01_filterAndQuickEditLanguages.ts | 3 ++- .../01_localization/02_languages/02_CRUDLanguage.ts | 3 ++- .../02_languages/03_bulkActionsLanguages.ts | 3 ++- .../02_languages/04_sortAndPagination.ts | 3 ++- .../01_localization/02_languages/05_helpButton.ts | 3 ++- .../03_currencies/01_createOfficialCurrency.ts | 3 ++- .../03_currencies/02_createUnofficialCurrency.ts | 3 ++- .../01_localization/03_currencies/03_helpButton.ts | 3 ++- .../03_currencies/04_updateExchangeRate.ts | 3 ++- .../03_currencies/05_filterSortAndPagination.ts | 3 ++- .../06_editOfficialAndUnofficialCurrency.ts | 3 ++- .../04_geolocation/02_updateIpAddressWhitelist.ts | 3 ++- .../01_zones/01_filterAndQuickEditZones.ts | 3 ++- .../02_locations/01_zones/02_CRUDZone.ts | 3 ++- .../02_locations/01_zones/03_bulkActionsZones.ts | 3 ++- .../02_locations/01_zones/04_sortAndPagination.ts | 3 ++- .../02_countries/01_filterAndQuickEditCountries.ts | 3 ++- .../02_locations/02_countries/02_CRUDCountry.ts | 3 ++- .../02_countries/03_bulkActionsCountries.ts | 3 ++- .../02_countries/04_sortAndPagination.ts | 3 ++- .../02_countries/05_countriesRestrictions.ts | 3 ++- .../02_countries/05_enableDisableCountries.ts | 3 ++- .../03_states/01_filterAndQuickEditStates.ts | 3 ++- .../02_locations/03_states/02_CRUDState.ts | 3 ++- .../02_locations/03_states/03_bulkActionsStates.ts | 3 ++- .../02_locations/03_states/04_sortAndPagination.ts | 3 ++- .../03_taxes/01_taxes/01_filterAndQuickEditTaxes.ts | 3 ++- .../03_taxes/01_taxes/02_CRUDTaxesInBO.ts | 3 ++- .../03_taxes/01_taxes/03_taxesBulkActionsInBO.ts | 3 ++- .../03_taxes/01_taxes/04_taxOptionsForm.ts | 3 ++- .../03_taxes/01_taxes/05_sortAndPagination.ts | 3 ++- .../03_taxes/02_taxRules/01_CRUDTaxRules.ts | 3 ++- .../02_taxRules/02_filterSortAndPagination.ts | 3 ++- .../02_taxRules/03_quickEditAndBulkActions.ts | 3 ++- .../04_translations/01_modifyTranslation.ts | 3 ++- .../04_translations/02_addUpdateLanguage.ts | 3 ++- .../04_translations/03_exportLanguage.ts | 3 ++- .../01_general/general/03_allowIframes.ts | 3 ++- .../01_general/general/05_roundMode.ts | 3 ++- .../01_general/general/08_enableDisableSuppliers.ts | 3 ++- .../01_general/general/09_enableDisableBrands.ts | 3 ++- .../general/10_enableDisableBestSellers.ts | 3 ++- .../01_general/general/11_enableDisableMultistore.ts | 3 ++- .../01_general/maintenance/01_enableDisableShop.ts | 3 ++- .../general/01_enableFinalSummary.ts | 3 ++- .../general/02_enableGuestCheckout.ts | 3 ++- .../general/03_disableReorderingOption.ts | 3 ++- .../general/04_minimumPurchaseTotalRequired.ts | 3 ++- .../general/05_recalculateShippingCosts.ts | 3 ++- .../01_orderSettings/general/07_termsOfService.ts | 3 ++- .../general/08_termsAndConditions.ts | 3 ++- .../01_orderSettings/giftOptions/01_giftOptions.ts | 3 ++- .../returnStatuses/01_CRUDOrderReturnStatus.ts | 3 ++- .../returnStatuses/02_filterSortAndPagination.ts | 3 ++- .../02_statuses/statuses/01_CRUDOrderStatus.ts | 3 ++- .../statuses/02_filterSortAndPagination.ts | 3 ++- .../02_statuses/statuses/03_quickEdit.ts | 3 ++- .../02_statuses/statuses/04_bulkActions.ts | 3 ++- .../01_productsGeneral/01_catalogMode.ts | 3 ++- .../01_productsGeneral/02_newDaysNumber.ts | 3 ++- .../01_productsGeneral/03_maxSizeShortDescription.ts | 3 ++- .../04_quantityDiscountsBasedOn.ts | 3 ++- .../01_productsGeneral/05_forceUpdateFriendlyURL.ts | 3 ++- .../01_productsGeneral/06_defaultActivationStatus.ts | 3 ++- .../02_productPage/01_displayAvailableQuantities.ts | 3 ++- .../02_productPage/02_displayAddToCartButton.ts | 3 ++- .../02_productPage/04_separatorOfAttributeAnchor.ts | 3 ++- .../02_productPage/05_displayDiscountedPrice.ts | 3 ++- .../02_productPage/06_displayNotifications.ts | 3 ++- .../03_productsStock/01_enableStockManagement.ts | 3 ++- .../02_defaultPackStockManagement.ts | 3 ++- .../03_displayUnavailableProductAttributes.ts | 3 ++- .../04_displayRemainingQuantities.ts | 3 ++- .../03_productsStock/05_allowOrderingOutOfStock.ts | 3 ++- .../03_productsStock/06_labelOfInStockProducts.ts | 3 ++- .../03_productsStock/07_labelOutOfStock.ts | 3 ++- .../08_enableDeliveryTimeOfInStockProducts.ts | 3 ++- .../09_enableDeliveryTimeOfOutOfStockProducts.ts | 3 ++- .../01_updateNumberOfProductsPerPage.ts | 3 ++- .../04_pagination/02_updateDefaultProductsOrder.ts | 3 ++- .../01_customers/01_redisplayCartAtLogin.ts | 3 ++- .../01_customers/02_sendEmailAfterRegistration.ts | 3 ++- .../01_customers/03_passwordResetDelay.ts | 3 ++- .../01_customers/04_enableB2BMode.ts | 3 ++- .../01_customers/05_askForBirthDate.ts | 3 ++- .../01_customers/06_enablePartnerOffers.ts | 3 ++- .../02_groups/01_filterSortAndPaginationGroups.ts | 3 ++- .../04_customerSettings/02_groups/02_CRUDGroups.ts | 3 ++- .../02_groups/03_defaultGroupsOptions.ts | 3 ++- .../03_titles/01_filterSortAndPaginationTitles.ts | 3 ++- .../04_customerSettings/03_titles/02_CRUDTitles.ts | 3 ++- .../04_customerSettings/03_titles/03_bulkActions.ts | 3 ++- .../05_contact/01_contacts/01_filterContacts.ts | 3 ++- .../05_contact/01_contacts/02_CRUDContact.ts | 3 ++- .../05_contact/01_contacts/03_contactBulkActions.ts | 3 ++- .../05_contact/01_contacts/04_sortAndPagination.ts | 3 ++- .../02_stores/01_filterAndQuickEditStores.ts | 3 ++- .../05_contact/02_stores/02_CRUDStores.ts | 3 ++- .../05_contact/02_stores/03_bulkActionsStores.ts | 3 ++- .../05_contact/02_stores/04_contactDetails.ts | 3 ++- .../05_contact/02_stores/05_sortAndPagination.ts | 3 ++- .../01_seoAndUrls/01_seoAndUrls/01_filterSeoPages.ts | 3 ++- .../01_seoAndUrls/01_seoAndUrls/02_CRUDSeoPage.ts | 3 ++- .../01_seoAndUrls/06_sortAndPaginationSeoPages.ts | 3 ++- .../01_seoAndUrls/07_bulkDeleteSeoPages.ts | 3 ++- .../02_setUpUrls/03_enableDisableFriendlyURL.ts | 3 ++- .../02_setUpUrls/04_enableDisableAccentedURL.ts | 3 ++- .../01_displayAttributesInProductMetaTitle.ts | 3 ++- .../06_trafficAndSeo/01_seoAndUrls/helpCard.ts | 3 ++- .../02_searchEngines/01_filterSortAndPagination.ts | 3 ++- .../02_searchEngines/02_CRUDSearchEngines.ts | 3 ++- .../02_searchEngines/03_bulkActions.ts | 3 ++- .../07_search/01_search/01_CRUDSearch.ts | 3 ++- .../01_editSearchSettings/02_searchExactEndMatch.ts | 3 ++- .../01_editSearchSettings/03_fuzzySearch.ts | 3 ++- .../04_maxApproximateAllowedWordsByFuzzySearch.ts | 3 ++- .../01_editSearchSettings/05_maximumWordLength.ts | 3 ++- .../01_editSearchSettings/06_minimumWordLength.ts | 3 ++- .../01_editSearchSettings/07_blacklistedWords.ts | 3 ++- .../02_filterSortPaginationAndBulkActions.ts | 3 ++- .../07_search/01_search/03_indexing.ts | 3 ++- .../07_search/01_search/03_quickEditStatus.ts | 3 ++- .../07_search/02_tags/01_CRUDTag.ts | 3 ++- .../07_search/02_tags/02_filterSortAndPagination.ts | 3 ++- .../01_informations/01_informations.ts | 3 ++- .../02_performance/02_debugMode.ts | 3 ++- .../02_performance/03_optionalFeatures.ts | 3 ++- .../02_performance/07_clearCache.ts | 3 ++- .../03_administration/01_general.ts | 3 ++- .../03_administration/02_uploadQuota.ts | 3 ++- .../03_administration/03_notifications.ts | 3 ++- .../04_email/01_filterDeleteAndBulkActionsEmails.ts | 3 ++- .../04_email/02_enableDisableLogEmails.ts | 3 ++- .../04_email/03_sendTestEmail/01_sendTestEmail.ts | 3 ++- .../04_email/03_sortAndPagination.ts | 3 ++- .../05_import/01_downloadSampleFiles.ts | 3 ++- .../14_advancedParameters/05_import/02_importFile.ts | 3 ++- .../employees/01_filterAndQuickEditEmployees.ts | 3 ++- .../06_team/employees/02_CRUDEmployee.ts | 3 ++- .../06_team/employees/03_employeesBulkActions.ts | 3 ++- .../06_team/employees/04_helpCard.ts | 3 ++- .../06_team/employees/05_sortAndPagination.ts | 3 ++- .../06_team/permission/01_editMenu.ts | 3 ++- .../06_team/permission/02_editModules.ts | 3 ++- .../06_team/roles/01_filterRoles.ts | 3 ++- .../06_team/roles/02_CRUDRoles.ts | 3 ++- .../06_team/roles/03_helpCard.ts | 3 ++- .../06_team/roles/04_sortRoles.ts | 3 ++- .../06_team/roles/05_paginationAndBulkActions.ts | 3 ++- .../dbBackup/01_createAndDeleteDbBackup.ts | 3 ++- .../dbBackup/02_paginationAndBulkDelete.ts | 3 ++- .../07_database/dbBackup/03_helpCard.ts | 3 ++- .../07_database/sqlManager/01_CRUDSqlQuery.ts | 3 ++- .../07_database/sqlManager/02_helpCard.ts | 3 ++- .../07_database/sqlManager/03_exportSqlQuery.ts | 3 ++- .../sqlManager/04_filterSortAndPagination.ts | 3 ++- .../08_logs/01_filterSortAndPagination.ts | 3 ++- .../14_advancedParameters/08_logs/02_logsByEmail.ts | 3 ++- .../09_webservice/01_CRUDWebservice.ts | 3 ++- .../09_webservice/02_quickEditWebservice.ts | 3 ++- .../09_webservice/03_helpCard.ts | 3 ++- .../09_webservice/04_filterSortPagination.ts | 3 ++- .../09_webservice/05_bulkActions.ts | 3 ++- .../09_webservice/06_configuration.ts | 4 +++- .../10_multistore/01_CRUDShopGroups.ts | 3 ++- .../02_filterSortAndPaginationShopGroups.ts | 3 ++- .../10_multistore/03_CRUDShops.ts | 3 ++- .../10_multistore/04_filterSortAndPaginationShops.ts | 3 ++- .../05_filterSortAndPaginationShopUrls.ts | 3 ++- .../06_quickEditAndBulkActionsShopUrls.ts | 3 ++- .../10_multistore/07_editUrlOptions.ts | 3 ++- .../10_multistore/08_multistoreOptions.ts | 3 ++- .../BO/14_advancedParameters/12_adminAPI/01_CRUD.ts | 3 ++- .../12_adminAPI/02_addAPIClient.ts | 3 ++- .../12_adminAPI/03_editAPIClient.ts | 3 ++- .../campaigns/functional/BO/15_header/01_leftMenu.ts | 3 ++- .../functional/BO/15_header/02_quickAccess.ts | 3 ++- .../functional/BO/15_header/03_searchBar.ts | 3 ++- .../functional/BO/15_header/05_viewMyShop.ts | 3 ++- .../functional/BO/15_header/07_myProfile.ts | 3 ++- .../functional/BO/15_header/08_checkNotifications.ts | 3 ++- .../FO/classic/01_login/01_passwordReminder.ts | 3 ++- .../functional/FO/classic/01_login/02_login.ts | 3 ++- .../functional/FO/classic/01_login/03_logout.ts | 3 ++- .../FO/classic/01_login/04_createAccount.ts | 3 ++- .../02_headerAndFooter/01_checkLinksInHeader.ts | 3 ++- .../02_headerAndFooter/02_checkLinksInFooter.ts | 3 ++- .../classic/02_headerAndFooter/03_changeCurrency.ts | 3 ++- .../classic/02_headerAndFooter/04_changeLanguage.ts | 3 ++- .../01_creditSlips/01_consultCreditSlip.ts | 3 ++- .../FO/classic/03_userAccount/01_editInformation.ts | 3 ++- .../FO/classic/03_userAccount/02_CRUDAddress.ts | 3 ++- .../02_orderHistory/01_consultOrderList.ts | 3 ++- .../01_orderDetails/01_reorderFromOrderDetails.ts | 3 ++- .../01_orderDetails/02_downloadInvoice.ts | 3 ++- .../01_orderDetails/03_requestMerchandiseReturn.ts | 3 ++- .../01_orderDetails/04_sendMessage.ts | 3 ++- .../02_orderHistory/02_reorderFromOrderList.ts | 3 ++- .../02_orderHistory/03_downloadInvoice.ts | 3 ++- .../03_merchandiseReturns/01_consultReturnDetails.ts | 3 ++- .../03_merchandiseReturns/02_checkOrderReturnPDF.ts | 3 ++- .../FO/classic/03_userAccount/03_viewVouchers.ts | 3 ++- .../FO/classic/03_userAccount/04_getGDPRDataInPDF.ts | 3 ++- .../FO/classic/03_userAccount/05_getGDPRDataInCSV.ts | 3 ++- .../classic/03_userAccount/06_contactUsOnGDPRPage.ts | 3 ++- .../FO/classic/03_userAccount/07_logOut.ts | 3 ++- .../classic/04_newsletter/01_subscribeNewsletter.ts | 3 ++- .../FO/classic/05_contactUs/01_checkMailtoLink.ts | 3 ++- .../05_contactUs/02_sendMessageWithCustomer.ts | 3 ++- .../05_contactUs/03_sendMessageAsAnonymous.ts | 3 ++- .../FO/classic/05_contactUs/04_addAttachment.ts | 3 ++- .../FO/classic/06_homePage/01_checkSlider.ts | 3 ++- .../FO/classic/06_homePage/02_displaySomeProducts.ts | 3 ++- .../FO/classic/06_homePage/03_allProducts.ts | 3 ++- .../FO/classic/06_homePage/04_productQuickView.ts | 3 ++- .../FO/classic/06_homePage/05_selectColor.ts | 3 ++- .../classic/07_search/01_consultAutocompleteList.ts | 3 ++- .../FO/classic/07_search/02_searchProduct.ts | 3 ++- .../FO/classic/07_search/03_searchNoResult.ts | 3 ++- .../FO/classic/07_search/04_consultResultsList.ts | 3 ++- .../FO/classic/07_search/05_sortResultsList.ts | 3 ++- .../classic/07_search/06_consultProductQuickView.ts | 3 ++- .../01_consultCategoriesInHeader.ts | 3 ++- .../01_navigateInCategories/02_breadcrumb.ts | 3 ++- .../03_sideBlockCategories.ts | 3 ++- .../02_sortAndFilter/01_sortProducts.ts | 3 ++- .../02_sortAndFilter/02_filterProducts.ts | 3 ++- .../02_sortAndFilter/03_clearOneFilter.ts | 3 ++- .../03_navigationAndDisplay/01_displayTags.ts | 3 ++- .../03_navigationAndDisplay/02_pagination.ts | 3 ++- .../03_navigationAndDisplay/03_quickViewProducts.ts | 3 ++- .../03_navigationAndDisplay/04_displayOnSaleFlag.ts | 3 ++- .../09_productPage/01_quickView/01_addToCart.ts | 3 ++- .../09_productPage/01_quickView/02_changeQuantity.ts | 3 ++- .../09_productPage/01_quickView/03_shareLinks.ts | 3 ++- .../01_quickView/04_displayOfTheProduct.ts | 3 ++- .../09_productPage/01_quickView/05_closeModal.ts | 3 ++- .../01_quickView/06_changeCombination.ts | 3 ++- .../09_productPage/01_quickView/07_changeImage.ts | 3 ++- .../09_productPage/02_productPage/01_addToCart.ts | 3 ++- .../02_productPage/02_changeQuantity.ts | 3 ++- .../09_productPage/02_productPage/03_changeImage.ts | 3 ++- .../09_productPage/02_productPage/04_shareLinks.ts | 3 ++- .../02_productPage/05_addTextCustomization.ts | 3 ++- .../02_productPage/06_addFileCustomization.ts | 3 ++- .../02_productPage/07_addRequiredCustomization.ts | 3 ++- .../02_productPage/08_changeCombination.ts | 3 ++- .../09_productPage/02_productPage/09_changeColor.ts | 3 ++- .../02_productPage/10_displayDiscount.ts | 3 ++- .../02_productPage/11_displayVolumeDiscount.ts | 3 ++- .../09_productPage/02_productPage/12_displayTag.ts | 3 ++- .../02_productPage/13_displayOnSaleLabel.ts | 3 ++- .../02_productPage/14_displaySpecificDeliveryTime.ts | 3 ++- .../15_displayPackContentAndLinkProduct.ts | 3 ++- .../FO/classic/10_cart/01_modal/01_displayModal.ts | 3 ++- .../classic/10_cart/01_modal/02_continueShopping.ts | 3 ++- .../FO/classic/10_cart/02_cart/01_changeQuantity.ts | 3 ++- .../FO/classic/10_cart/02_cart/02_deleteProduct.ts | 3 ++- .../FO/classic/10_cart/02_cart/03_addPromoCode.ts | 3 ++- .../02_cart/04_displayModalProductCustomization.ts | 3 ++- .../FO/classic/10_cart/02_cart/05_displayDiscount.ts | 3 ++- .../01_personalInformation/01_orderAsAGuest.ts | 3 ++- .../11_checkout/01_personalInformation/02_signIn.ts | 3 ++- .../01_personalInformation/03_createAccount.ts | 3 ++- .../01_personalInformation/05_passwordReminder.ts | 3 ++- .../FO/classic/11_checkout/01_showDetails.ts | 3 ++- .../02_addresses/01_useSameInvoiceAddress.ts | 3 ++- .../02_addresses/02_useDifferentInvoiceAddress.ts | 3 ++- .../11_checkout/02_addresses/03_selectAddress.ts | 3 ++- .../11_checkout/02_addresses/04_CRUDAddress.ts | 3 ++- .../02_addresses/05_billingAddressWhenLoggedIn.ts | 3 ++- .../FO/classic/11_checkout/02_displayOfTotals.ts | 3 ++- .../03_shippingMethods/01_addOrderMessage.ts | 3 ++- .../03_shippingMethods/02_selectCarrier.ts | 3 ++- .../11_checkout/04_payment/01_choosePaymentMethod.ts | 4 ++-- .../12_orderConfirmation/01_listOfOrderedProducts.ts | 3 ++- .../02_displayOfProductCustomization.ts | 3 ++- .../12_orderConfirmation/03_recapPaymentMethod.ts | 3 ++- .../12_orderConfirmation/04_popularProduct.ts | 3 ++- .../FO/classic/12_orderConfirmation/05_contactUs.ts | 3 ++- .../FO/hummingbird/01_login/01_passwordReminder.ts | 3 ++- .../functional/FO/hummingbird/01_login/02_login.ts | 3 ++- .../functional/FO/hummingbird/01_login/03_logout.ts | 3 ++- .../FO/hummingbird/01_login/04_createAccount.ts | 3 ++- .../02_headerAndFooter/01_checkLinksInHeader.ts | 3 ++- .../02_headerAndFooter/02_checkLinksInFooter.ts | 3 ++- .../02_headerAndFooter/03_changeCurrency.ts | 3 ++- .../02_headerAndFooter/04_changeLanguage.ts | 3 ++- .../01_creditSlips/01_consultCreditSlip.ts | 3 ++- .../hummingbird/03_userAccount/01_editInformation.ts | 3 ++- .../FO/hummingbird/03_userAccount/02_CRUDAddress.ts | 3 ++- .../02_orderHistory/01_consultDetailsAndReorder.ts | 3 ++- .../01_orderDetails/01_reorderFromOrderDetails.ts | 3 ++- .../01_orderDetails/02_downloadInvoice.ts | 3 ++- .../01_orderDetails/03_requestMerchandiseReturn.ts | 3 ++- .../01_orderDetails/04_sendMessage.ts | 3 ++- .../02_orderHistory/03_downloadInvoice.ts | 3 ++- .../03_merchandiseReturns/01_consultReturnDetails.ts | 3 ++- .../03_merchandiseReturns/02_checkOrderReturnPDF.ts | 3 ++- .../FO/hummingbird/03_userAccount/03_viewVoucher.ts | 3 ++- .../03_userAccount/04_getGDPRDataInPDF.ts | 3 ++- .../03_userAccount/05_getGDPRDataInCSV.ts | 3 ++- .../03_userAccount/06_contactUsOnGDPRPage.ts | 3 ++- .../FO/hummingbird/03_userAccount/07_logOut.ts | 3 ++- .../04_newsletter/01_subscribeNewsletter.ts | 3 ++- .../hummingbird/05_contactUs/01_checkMailtoLink.ts | 3 ++- .../05_contactUs/02_sendMessageWithCustomer.ts | 3 ++- .../05_contactUs/03_sendMessageAsAnonymous.ts | 3 ++- .../FO/hummingbird/05_contactUs/04_addAttachment.ts | 3 ++- .../FO/hummingbird/06_homePage/01_checkSlider.ts | 3 ++- .../06_homePage/02_displaySomeProducts.ts | 3 ++- .../FO/hummingbird/06_homePage/03_allProducts.ts | 3 ++- .../hummingbird/06_homePage/04_productQuickView.ts | 3 ++- .../FO/hummingbird/06_homePage/05_selectColor.ts | 3 ++- .../07_search/01_consultAutoCompleteList.ts | 3 ++- .../07_search/02_searchProductAndValidate.ts | 3 ++- .../FO/hummingbird/07_search/03_searchNoResult.ts | 3 ++- .../hummingbird/07_search/04_consultResultsList.ts | 3 ++- .../FO/hummingbird/07_search/05_sortResultsList.ts | 3 ++- .../07_search/06_consultProductQuickView.ts | 3 ++- .../01_consultCategoriesInHeader.ts | 3 ++- .../01_navigateInCategories/02_breadcrumb.ts | 3 ++- .../03_sideBlockCategories.ts | 3 ++- .../02_sortAndFilter/01_sortProducts.ts | 3 ++- .../02_sortAndFilter/02_filterProducts.ts | 3 ++- .../02_sortAndFilter/03_clearFilters.ts | 3 ++- .../03_navigationAndDisplay/01_displayTags.ts | 3 ++- .../03_navigationAndDisplay/02_pagination.ts | 3 ++- .../03_navigationAndDisplay/03_quickViewProduct.ts | 3 ++- .../03_navigationAndDisplay/04_displayOnSaleFlag.ts | 3 ++- .../09_productPage/01_quickView/01_addToCart.ts | 3 ++- .../09_productPage/01_quickView/02_changeQuantity.ts | 3 ++- .../09_productPage/01_quickView/03_shareLinks.ts | 3 ++- .../01_quickView/04_displayOfTheProduct.ts | 3 ++- .../09_productPage/01_quickView/05_closeModal.ts | 3 ++- .../01_quickView/06_changeCombination.ts | 3 ++- .../09_productPage/01_quickView/07_changeImage.ts | 3 ++- .../09_productPage/02_productPage/01_addToCart.ts | 3 ++- .../02_productPage/02_changeQuantity.ts | 3 ++- .../09_productPage/02_productPage/03_changeImage.ts | 3 ++- .../09_productPage/02_productPage/04_shareLinks.ts | 3 ++- .../02_productPage/06_addCustomization.ts | 3 ++- .../02_productPage/07_changeCombination.ts | 3 ++- .../02_productPage/10_outOfStockBehaviour.ts | 3 ++- .../09_productPage/02_productPage/11_displayTag.ts | 3 ++- .../02_productPage/12_displayOnSaleLabel.ts | 3 ++- .../02_productPage/13_displaySpecificDeliveryTime.ts | 3 ++- .../15_displayPackContentAndLinkProduct.ts | 3 ++- .../16_displayDiscountAndVolumeDiscount.ts | 3 ++- .../hummingbird/10_cart/01_modal/01_displayModal.ts | 3 ++- .../10_cart/01_modal/02_continueShopping.ts | 3 ++- .../hummingbird/10_cart/02_cart/01_changeQuantity.ts | 3 ++- .../hummingbird/10_cart/02_cart/02_deleteProduct.ts | 3 ++- .../hummingbird/10_cart/02_cart/03_addPromoCode.ts | 3 ++- .../02_cart/04_displayModalProductCustomization.ts | 3 ++- .../10_cart/02_cart/05_displayDiscount.ts | 3 ++- .../01_personalInformation/01_orderAsAGuest.ts | 3 ++- .../11_checkout/01_personalInformation/02_signIn.ts | 3 ++- .../01_personalInformation/03_createAccount.ts | 3 ++- .../01_personalInformation/05_passwordReminder.ts | 3 ++- .../FO/hummingbird/11_checkout/01_showDetails.ts | 3 ++- .../02_addresses/01_useSameInvoiceAddress.ts | 3 ++- .../02_addresses/02_useDifferentInvoiceAddress.ts | 3 ++- .../11_checkout/02_addresses/03_selectAddress.ts | 3 ++- .../11_checkout/02_addresses/04_CRUDAddress.ts | 3 ++- .../02_addresses/05_billingAdressWhenLoggedIn.ts | 3 ++- .../FO/hummingbird/11_checkout/02_displayOfTotals.ts | 3 ++- .../11_checkout/03_displayOfHighlightedCartRules.ts | 3 ++- .../03_shippingMethods/01_addOrderMessage.ts | 3 ++- .../03_shippingMethods/02_selectCarrier.ts | 3 ++- .../11_checkout/04_payment/01_choosePaymentMethod.ts | 3 ++- .../12_orderConfirmation/01_listOfOrderedProducts.ts | 3 ++- .../02_displayOfProductCustomization.ts | 3 ++- .../12_orderConfirmation/03_recapPaymentMethod.ts | 3 ++- .../12_orderConfirmation/04_popularProduct.ts | 3 ++- .../hummingbird/12_orderConfirmation/05_contactUs.ts | 3 ++- tests/UI/campaigns/functional/WS/01_countriesCRUD.ts | 7 ++++--- tests/UI/campaigns/functional/WS/02_ordersCRUD.ts | 7 ++++--- tests/UI/campaigns/functional/WS/03_productsCRUD.ts | 7 ++++--- tests/UI/campaigns/functional/WS/04_storesCRUD.ts | 7 ++++--- .../blockwishlist/01_installation/04_resetModule.ts | 3 ++- .../01_installation/05_uninstallAndDeleteModule.ts | 3 ++- .../02_configuration/02_statisticsTabSettings.ts | 7 ++++--- .../02_configuration/04_helpHeaderButtons.ts | 5 +++-- .../03_frontOffice/01_lists/03_shareList.ts | 3 ++- .../02_products/01_addProductToList.ts | 3 ++- .../01_installation/01_uninstallAndInstallModule.ts | 3 ++- .../01_installation/02_disableEnableModule.ts | 3 ++- .../01_installation/01_upgradeModule.ts | 3 ++- .../01_installation/04_resetModule.ts | 3 ++- .../02_configuration/01_placeOrderWithIt.ts | 3 ++- .../01_installation/01_disableEnableModule.ts | 3 ++- .../01_installation/01_uninstallAndInstallModule.ts | 3 ++- .../01_installation/03_uninstallAndDeleteModule.ts | 3 ++- .../01_installation/05_disableEnableModule.ts | 3 ++- .../02_configuration/01_boHeaderButtons.ts | 3 ++- .../01_enableDisableProductAvailability.ts | 3 ++- .../02_enableDisableOrderEdit.ts | 3 ++- .../01_enableDisableNewOrder.ts | 3 ++- .../02_enableDisableOutOfStock.ts | 3 ++- .../04_enableDisableReturn.ts | 3 ++- .../02_configuration/01_checkVerificationEmail.ts | 3 ++- .../02_configuration/02_checkConfirmationEmail.ts | 3 ++- .../02_configuration/03_checkWelcomeVoucher.ts | 3 ++- .../01_installation/02_uninstallAndInstallModule.ts | 3 ++- .../01_installation/03_disableEnableModule.ts | 3 ++- .../01_installation/04_uninstallAndDeleteModule.ts | 3 ++- .../01_installation/05_resetModule.ts | 3 ++- ...uctsOnlyFromDefaultCategorysFieldConfiguration.ts | 3 ++- ...howUnavailableOutOfStockLastFieldConfiguration.ts | 3 ++- .../05_categoryFilterDepthFieldConfiguration.ts | 3 ++- .../09_editTemplateSubCategoriesFilter.ts | 3 ++- .../02_configuration/10_editTemplateSizeFilter.ts | 3 ++- .../14_editTemplateProductStockFilter.ts | 3 ++- .../15_editTemplateProductBrandFilter.ts | 3 ++- .../16_editTemplateProductConditionFilter.ts | 3 ++- .../17_editTemplateDimensionFilter.ts | 3 ++- .../18_editTemplatePaperTypeFilter.ts | 3 ++- .../20_editTemplateProductPriceFilter.ts | 3 ++- .../02_configuration/21_addNewTemplate.ts | 3 ++- .../01_installation/01_upgradeModule.ts | 3 ++- .../01_installation/03_uninstallAndDeleteModule.ts | 3 ++- .../ps_newproducts/01_installation/04_resetModule.ts | 3 ++- .../01_installation/05_disableEnableModule.ts | 3 ++- .../01_configureSettingsProductsToDisplay.ts | 3 ++- .../02_configuration/02_boHeaderButtons.ts | 3 ++- .../03_configureSettingsNumberOfDays.ts | 3 ++- .../01_configure/01_configureSettings.ts | 3 ++- .../01_installation/02_uninstallAndInstallModule.ts | 3 ++- .../01_installation/03_uninstallAndDeleteModule.ts | 3 ++- .../ps_themecusto/01_installation/04_resetModule.ts | 3 ++- .../01_installation/05_disableEnableModule.ts | 3 ++- .../02_configuration/02_advancedCustomizationTab.ts | 3 ++- .../03_consentCheckboxCustomization.ts | 3 ++- .../02_configuration/04_customerActivityTracking.ts | 3 ++- .../modules/psgdpr/02_configuration/05_help.ts | 3 ++- .../modules/psgdpr/02_configuration/07_multistore.ts | 3 ++- .../08_personalDataManagerForGuest.ts | 3 ++- .../regression/checkout/100PercentDiscount_FO.ts | 3 ++- .../regression/currencies/computingPrecision_FO.ts | 3 ++- .../menu/deniedAccessToModuleCatalogPage.ts | 3 ++- .../sanity/01_installShop/01_installShop.ts | 3 ++- .../campaigns/sanity/02_ordersBO/01_filterOrders.ts | 3 ++- .../UI/campaigns/sanity/02_ordersBO/02_editOrder.ts | 3 ++- .../sanity/03_productsBO/01_filterProducts.ts | 3 ++- .../sanity/03_productsBO/02_CRUDStandardProduct.ts | 3 ++- .../03_productsBO/03_CRUDProductWithCombinations.ts | 3 ++- .../sanity/03_productsBO/04_CRUDVirtualProduct.ts | 3 ++- .../sanity/03_productsBO/05_deleteProduct.ts | 3 ++- .../06_deleteProductsWithBulkActions.ts | 3 ++- .../sanity/04_catalogFO/01_filterProducts.ts | 3 ++- .../campaigns/sanity/04_catalogFO/02_checkProduct.ts | 3 ++- .../campaigns/sanity/05_cartFO/01_editCheckCart.ts | 3 ++- .../sanity/06_checkoutFO/01_orderProduct.ts | 3 ++- .../commonTests/BO/advancedParameters/authServer.ts | 3 ++- tests/UI/commonTests/BO/advancedParameters/cache.ts | 3 ++- .../UI/commonTests/BO/advancedParameters/employee.ts | 3 ++- .../commonTests/BO/advancedParameters/importFile.ts | 3 ++- .../commonTests/BO/advancedParameters/multistore.ts | 3 ++- .../commonTests/BO/advancedParameters/newFeatures.ts | 3 ++- .../BO/advancedParameters/setPermissions.ts | 3 ++- tests/UI/commonTests/BO/advancedParameters/smtp.ts | 3 ++- tests/UI/commonTests/BO/advancedParameters/ws.ts | 3 ++- tests/UI/commonTests/BO/catalog/cartRule.ts | 3 ++- tests/UI/commonTests/BO/catalog/category.ts | 3 ++- tests/UI/commonTests/BO/catalog/features.ts | 3 ++- tests/UI/commonTests/BO/catalog/monitoring.ts | 3 ++- tests/UI/commonTests/BO/catalog/product.ts | 3 ++- .../BO/customerService/merchandiseReturns.ts | 3 ++- tests/UI/commonTests/BO/customers/address.ts | 3 ++- tests/UI/commonTests/BO/customers/customer.ts | 3 ++- tests/UI/commonTests/BO/design/hummingbird.ts | 3 ++- tests/UI/commonTests/BO/design/positions.ts | 3 ++- tests/UI/commonTests/BO/international/currency.ts | 3 ++- tests/UI/commonTests/BO/international/ecoTax.ts | 3 ++- tests/UI/commonTests/BO/modules/moduleManager.ts | 3 ++- tests/UI/commonTests/BO/orders/shoppingCarts.ts | 3 ++- tests/UI/commonTests/BO/shopParameters/b2b.ts | 3 ++- tests/UI/commonTests/FO/classic/account.ts | 3 ++- tests/UI/commonTests/FO/classic/loginFO.ts | 2 +- tests/UI/commonTests/FO/classic/order.ts | 3 ++- tests/UI/commonTests/FO/classic/shoppingCart.ts | 3 ++- tests/UI/commonTests/FO/hummingbird/account.ts | 3 ++- tests/UI/commonTests/FO/hummingbird/order.ts | 3 ++- tests/UI/package-lock.json | 7 +++---- tests/UI/package.json | 3 +-- tests/UI/pages/BO/BObasePage.ts | 8 ++++++-- tests/UI/pages/BO/advancedParameters/logs/index.ts | 4 +++- .../UI/pages/BO/advancedParameters/menuTab/index.ts | 4 +++- .../UI/pages/BO/advancedParameters/multistore/add.ts | 3 ++- .../pages/BO/advancedParameters/multistore/index.ts | 4 +++- .../BO/advancedParameters/multistore/shop/add.ts | 3 ++- .../BO/advancedParameters/multistore/shop/index.ts | 4 +++- .../BO/advancedParameters/multistore/url/addURL.ts | 4 +++- .../BO/advancedParameters/multistore/url/index.ts | 4 +++- tests/UI/pages/BO/advancedParameters/team/add.ts | 3 ++- .../BO/advancedParameters/team/employeeBasePage.ts | 4 +++- tests/UI/pages/BO/advancedParameters/team/index.ts | 4 +++- .../BO/advancedParameters/team/permissions/index.ts | 4 +++- .../UI/pages/BO/advancedParameters/team/roles/add.ts | 3 ++- .../pages/BO/advancedParameters/team/roles/index.ts | 4 +++- .../UI/pages/BO/advancedParameters/webservice/add.ts | 4 ++-- .../pages/BO/advancedParameters/webservice/index.ts | 4 +++- tests/UI/pages/BO/catalog/attributes/addAttribute.ts | 3 ++- tests/UI/pages/BO/catalog/attributes/addValue.ts | 3 ++- tests/UI/pages/BO/catalog/attributes/index.ts | 4 +++- tests/UI/pages/BO/catalog/attributes/view.ts | 4 +++- tests/UI/pages/BO/catalog/brands/add.ts | 3 ++- tests/UI/pages/BO/catalog/brands/addAddress.ts | 3 ++- tests/UI/pages/BO/catalog/brands/index.ts | 4 +++- tests/UI/pages/BO/catalog/brands/view.ts | 4 +++- tests/UI/pages/BO/catalog/categories/add.ts | 3 ++- tests/UI/pages/BO/catalog/categories/index.ts | 4 +++- tests/UI/pages/BO/catalog/discounts/add.ts | 3 ++- .../BO/catalog/discounts/catalogPriceRules/add.ts | 3 ++- .../BO/catalog/discounts/catalogPriceRules/index.ts | 4 +++- tests/UI/pages/BO/catalog/discounts/index.ts | 4 +++- tests/UI/pages/BO/catalog/features/addFeature.ts | 3 ++- tests/UI/pages/BO/catalog/features/addValue.ts | 3 ++- tests/UI/pages/BO/catalog/features/index.ts | 4 +++- tests/UI/pages/BO/catalog/features/view.ts | 4 +++- tests/UI/pages/BO/catalog/files/add.ts | 3 +-- tests/UI/pages/BO/catalog/files/index.ts | 4 +++- tests/UI/pages/BO/catalog/monitoring/index.ts | 4 +++- .../pages/BO/catalog/products/add/combinationsTab.ts | 3 ++- tests/UI/pages/BO/catalog/products/add/detailsTab.ts | 3 ++- tests/UI/pages/BO/catalog/products/add/index.ts | 3 ++- tests/UI/pages/BO/catalog/products/add/optionsTab.ts | 4 +++- tests/UI/pages/BO/catalog/products/add/packTab.ts | 3 ++- tests/UI/pages/BO/catalog/products/add/pricingTab.ts | 3 ++- tests/UI/pages/BO/catalog/products/add/seoTab.ts | 4 +++- tests/UI/pages/BO/catalog/stocks/movements/index.ts | 4 +++- tests/UI/pages/BO/catalog/suppliers/index.ts | 4 +++- .../BO/customerService/customerService/index.ts | 3 ++- .../pages/BO/customerService/customerService/view.ts | 3 ++- .../BO/customerService/merchandiseReturns/edit.ts | 4 +++- .../BO/customerService/merchandiseReturns/index.ts | 4 +++- .../UI/pages/BO/customerService/orderMessages/add.ts | 3 ++- .../pages/BO/customerService/orderMessages/index.ts | 4 +++- tests/UI/pages/BO/customers/add.ts | 5 ++--- tests/UI/pages/BO/customers/addresses/add.ts | 4 ++-- tests/UI/pages/BO/customers/addresses/index.ts | 4 +++- tests/UI/pages/BO/customers/outstanding/index.ts | 4 +++- tests/UI/pages/BO/customers/view.ts | 5 ++++- tests/UI/pages/BO/design/emailThemes/preview.ts | 4 +++- tests/UI/pages/BO/design/imageSettings/add.ts | 3 ++- tests/UI/pages/BO/design/imageSettings/index.ts | 3 ++- tests/UI/pages/BO/design/linkWidgets/add.ts | 3 ++- tests/UI/pages/BO/design/linkWidgets/index.ts | 4 +++- tests/UI/pages/BO/design/pages/add.ts | 3 ++- tests/UI/pages/BO/design/pages/index.ts | 4 +++- tests/UI/pages/BO/design/pages/pageCategory/add.ts | 3 ++- tests/UI/pages/BO/design/positions/index.ts | 4 +++- tests/UI/pages/BO/international/languages/add.ts | 3 ++- tests/UI/pages/BO/international/languages/index.ts | 4 +++- .../BO/international/localization/geolocation.ts | 4 +++- .../localization/localizationBasePage.ts | 4 +++- tests/UI/pages/BO/international/locations/add.ts | 4 ++-- tests/UI/pages/BO/international/locations/index.ts | 4 +++- .../pages/BO/international/locations/states/add.ts | 4 ++-- .../pages/BO/international/locations/states/index.ts | 4 +++- tests/UI/pages/BO/international/taxes/add.ts | 3 +-- tests/UI/pages/BO/international/taxes/index.ts | 3 ++- .../UI/pages/BO/international/taxes/taxRules/add.ts | 4 ++-- .../pages/BO/international/taxes/taxRules/index.ts | 4 +++- .../UI/pages/BO/international/translations/index.ts | 4 +++- tests/UI/pages/BO/modules/contactForm/index.ts | 4 +++- .../UI/pages/BO/modules/moduleConfiguration/index.ts | 4 +++- tests/UI/pages/BO/modules/productComments/index.ts | 4 +++- tests/UI/pages/BO/modules/psCheckPayment/index.ts | 2 +- tests/UI/pages/BO/orders/add.ts | 4 ++-- tests/UI/pages/BO/orders/creditSlips/index.ts | 4 +++- tests/UI/pages/BO/orders/deliverySlips/index.ts | 4 +++- tests/UI/pages/BO/orders/invoices/index.ts | 3 ++- tests/UI/pages/BO/orders/shoppingCarts/view.ts | 5 ++++- tests/UI/pages/BO/orders/view/customerBlock.ts | 4 ++-- tests/UI/pages/BO/orders/view/messagesBlock.ts | 3 ++- tests/UI/pages/BO/orders/view/paymentBlock.ts | 4 ++-- tests/UI/pages/BO/orders/view/viewOrderBasePage.ts | 4 +++- tests/UI/pages/BO/payment/preferences/index.ts | 4 +++- tests/UI/pages/BO/quickAccess/add.ts | 3 ++- tests/UI/pages/BO/searchResults/index.ts | 4 +++- tests/UI/pages/BO/shipping/preferences/index.ts | 4 +++- tests/UI/pages/BO/shopParameters/contact/add.ts | 2 +- tests/UI/pages/BO/shopParameters/contact/index.ts | 4 +++- .../BO/shopParameters/customerSettings/titles/add.ts | 4 ++-- .../shopParameters/customerSettings/titles/index.ts | 4 +++- .../BO/shopParameters/orderSettings/statuses/add.ts | 4 ++-- .../shopParameters/orderSettings/statuses/index.ts | 4 +++- .../orderSettings/statuses/returnStatus/add.ts | 2 +- tests/UI/pages/BO/shopParameters/search/tags/add.ts | 2 +- .../UI/pages/BO/shopParameters/search/tags/index.ts | 4 +++- tests/UI/pages/BO/shopParameters/stores/add.ts | 2 +- tests/UI/pages/BO/shopParameters/stores/index.ts | 3 ++- .../trafficAndSeo/searchEngines/add.ts | 4 +++- .../trafficAndSeo/searchEngines/index.ts | 4 +++- .../shopParameters/trafficAndSeo/seoAndUrls/add.ts | 3 ++- .../shopParameters/trafficAndSeo/seoAndUrls/index.ts | 4 +++- tests/UI/pages/FO/FObasePage.ts | 4 +++- tests/UI/pages/FO/classic/modal/blockCart.ts | 4 ++-- tests/UI/pages/FO/classic/myAccount/add.ts | 4 ++-- tests/UI/pages/FO/classic/myAccount/addAddress.ts | 4 +++- tests/UI/pages/FO/classic/myAccount/addresses.ts | 4 +++- tests/UI/pages/FO/classic/myAccount/creditSlips.ts | 4 +++- .../pages/FO/classic/myAccount/gdprPersonalData.ts | 4 +++- tests/UI/pages/FO/classic/myAccount/identity.ts | 4 +++- .../pages/FO/classic/myAccount/merchandiseReturns.ts | 3 ++- tests/UI/pages/FO/classic/myAccount/orderDetails.ts | 4 ++-- tests/UI/pages/FO/classic/myAccount/orderHistory.ts | 4 ++-- tests/UI/pages/FO/classic/myAccount/returnDetails.ts | 4 +++- tests/UI/pages/FO/classic/myAccount/vouchers.ts | 4 +++- tests/UI/pages/FO/classic/siteMap/index.ts | 4 +++- tests/UI/pages/FO/classic/stores/index.ts | 4 +++- tests/UI/pages/commonPage.ts | 12 ++++++++---- tests/UI/pages/install/index.ts | 4 +++- tests/UI/tools/linkchecker.ts | 4 +++- tests/UI/tools/urls.ts | 3 +-- tests/UI/webservices/baseWs.ts | 5 ++++- tests/UI/webservices/country/countryWs.ts | 5 ++++- tests/UI/webservices/order/orderWs.ts | 5 ++++- tests/UI/webservices/product/productWs.ts | 5 ++++- tests/UI/webservices/store/storeWS.ts | 5 ++++- 921 files changed, 1971 insertions(+), 963 deletions(-) diff --git a/tests/UI/campaigns/cldr/03_deleteCurrency.ts b/tests/UI/campaigns/cldr/03_deleteCurrency.ts index 201c641bca9c3..adb6e98335cd1 100644 --- a/tests/UI/campaigns/cldr/03_deleteCurrency.ts +++ b/tests/UI/campaigns/cldr/03_deleteCurrency.ts @@ -8,14 +8,15 @@ import { boCurrenciesPage, boCurrenciesCreatePage, boLoginPage, + type BrowserContext, dataCurrencies, type FakerCurrency, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {use, expect} from 'chai'; import chaiString from 'chai-string'; -import type {BrowserContext, Page} from 'playwright'; use(chaiString); diff --git a/tests/UI/campaigns/cldr/04_searchCurrencyByISOCode.ts b/tests/UI/campaigns/cldr/04_searchCurrencyByISOCode.ts index aa5862b6409d3..9b3d3dfb70664 100644 --- a/tests/UI/campaigns/cldr/04_searchCurrencyByISOCode.ts +++ b/tests/UI/campaigns/cldr/04_searchCurrencyByISOCode.ts @@ -11,14 +11,15 @@ import { boLoginPage, boCurrenciesPage, boCurrenciesCreatePage, + type BrowserContext, dataCurrencies, type FakerCurrency, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {use, expect} from 'chai'; import chaiString from 'chai-string'; -import type {BrowserContext, Page} from 'playwright'; use(chaiString); diff --git a/tests/UI/campaigns/cldr/05_searchCurrencyByEnableDisable.ts b/tests/UI/campaigns/cldr/05_searchCurrencyByEnableDisable.ts index ac4df8f5541c3..d416427df37d7 100644 --- a/tests/UI/campaigns/cldr/05_searchCurrencyByEnableDisable.ts +++ b/tests/UI/campaigns/cldr/05_searchCurrencyByEnableDisable.ts @@ -11,13 +11,14 @@ import { boCurrenciesPage, boCurrenciesCreatePage, boLoginPage, + type BrowserContext, dataCurrencies, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {use, expect} from 'chai'; import chaiString from 'chai-string'; -import type {BrowserContext, Page} from 'playwright'; use(chaiString); diff --git a/tests/UI/campaigns/cldr/07_editSymbolFormatCurrency.ts b/tests/UI/campaigns/cldr/07_editSymbolFormatCurrency.ts index 9349940f70ec3..950ccb41259a5 100644 --- a/tests/UI/campaigns/cldr/07_editSymbolFormatCurrency.ts +++ b/tests/UI/campaigns/cldr/07_editSymbolFormatCurrency.ts @@ -8,13 +8,14 @@ import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataCurrencies, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {use, expect} from 'chai'; import chaiString from 'chai-string'; -import type {BrowserContext, Page} from 'playwright'; use(chaiString); diff --git a/tests/UI/campaigns/cldr/08_resetSymbolFormatSettings.ts b/tests/UI/campaigns/cldr/08_resetSymbolFormatSettings.ts index ceb5e987a53c9..3c9ff11be8d8e 100644 --- a/tests/UI/campaigns/cldr/08_resetSymbolFormatSettings.ts +++ b/tests/UI/campaigns/cldr/08_resetSymbolFormatSettings.ts @@ -8,13 +8,14 @@ import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataCurrencies, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {use, expect} from 'chai'; import chaiString from 'chai-string'; -import type {BrowserContext, Page} from 'playwright'; use(chaiString); diff --git a/tests/UI/campaigns/cldr/09_enableDisableCurrency.ts b/tests/UI/campaigns/cldr/09_enableDisableCurrency.ts index 488cad595e675..4df85a0360440 100644 --- a/tests/UI/campaigns/cldr/09_enableDisableCurrency.ts +++ b/tests/UI/campaigns/cldr/09_enableDisableCurrency.ts @@ -8,13 +8,14 @@ import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataCurrencies, FakerCurrency, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import {BrowserContext, Page} from 'playwright'; const baseContext: string = 'cldr_enableDisableCurrency'; diff --git a/tests/UI/campaigns/functional/API/01_basicTest.ts b/tests/UI/campaigns/functional/API/01_basicTest.ts index fdde2b2e4081b..a159599fc84d4 100644 --- a/tests/UI/campaigns/functional/API/01_basicTest.ts +++ b/tests/UI/campaigns/functional/API/01_basicTest.ts @@ -2,8 +2,8 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {APIRequestContext} from 'playwright'; import { + type APIRequestContext, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/01_internalAuthServer/01_authorizationEndpoint.ts b/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/01_internalAuthServer/01_authorizationEndpoint.ts index a6ecd1363d652..931ca3ce60afe 100644 --- a/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/01_internalAuthServer/01_authorizationEndpoint.ts +++ b/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/01_internalAuthServer/01_authorizationEndpoint.ts @@ -4,13 +4,15 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/01_internalAuthServer/02_resourceEndpoint.ts b/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/01_internalAuthServer/02_resourceEndpoint.ts index 16ceee4c63176..7ceef51f1e33a 100644 --- a/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/01_internalAuthServer/02_resourceEndpoint.ts +++ b/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/01_internalAuthServer/02_resourceEndpoint.ts @@ -4,13 +4,15 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/02_externalAuthServer/01_authorizationEndpoint.ts b/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/02_externalAuthServer/01_authorizationEndpoint.ts index 4d6a6a66fca2e..bf2d8e8492266 100644 --- a/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/02_externalAuthServer/01_authorizationEndpoint.ts +++ b/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/02_externalAuthServer/01_authorizationEndpoint.ts @@ -1,8 +1,8 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import {APIRequestContext} from 'playwright'; import { + type APIRequestContext, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/02_externalAuthServer/02_resourceEndpoint.ts b/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/02_externalAuthServer/02_resourceEndpoint.ts index 8f8a157c528ff..178bad16e6864 100644 --- a/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/02_externalAuthServer/02_resourceEndpoint.ts +++ b/tests/UI/campaigns/functional/API/01_clientCredentialGrantFlow/02_externalAuthServer/02_resourceEndpoint.ts @@ -5,14 +5,15 @@ import {installModule, uninstallModule} from '@commonTests/BO/modules/moduleMana import {expect} from 'chai'; import { - APIRequestContext, APIResponse, BrowserContext, Page, -} from 'playwright'; -import { + type APIRequestContext, + type APIResponse, boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, modKeycloakConnectorDemoBoMain, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/01_postApiClient.ts b/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/01_postApiClient.ts index e0c213667d94e..cb5ab29fb3cf8 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/01_postApiClient.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/01_postApiClient.ts @@ -5,13 +5,15 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/02_deleteApiClientId.ts b/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/02_deleteApiClientId.ts index ae6fd82f30c08..05f166d72c920 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/02_deleteApiClientId.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/02_deleteApiClientId.ts @@ -2,13 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/03_getApiClientId.ts b/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/03_getApiClientId.ts index 60ce2b870db3b..74e07a30f6330 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/03_getApiClientId.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/03_getApiClientId.ts @@ -5,13 +5,15 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/04_patchApiClientId.ts b/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/04_patchApiClientId.ts index d93810c9d1740..66ba2340aa2bb 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/04_patchApiClientId.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/04_patchApiClientId.ts @@ -5,13 +5,15 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/05_getApiClientInfos.ts b/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/05_getApiClientInfos.ts index 6d30527ae9fae..3250f28a4a032 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/05_getApiClientInfos.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/01_apiClient/05_getApiClientInfos.ts @@ -5,13 +5,15 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/02_apiClients/01_getApiClients.ts b/tests/UI/campaigns/functional/API/02_endpoints/02_apiClients/01_getApiClients.ts index 4b17a58dd8688..279acd291d511 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/02_apiClients/01_getApiClients.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/02_apiClients/01_getApiClients.ts @@ -5,13 +5,15 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/04_customerGroup/02_deleteCustomerGroupsId.ts b/tests/UI/campaigns/functional/API/02_endpoints/04_customerGroup/02_deleteCustomerGroupsId.ts index 460a846ddbc08..320826910ffdf 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/04_customerGroup/02_deleteCustomerGroupsId.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/04_customerGroup/02_deleteCustomerGroupsId.ts @@ -5,6 +5,7 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boCustomerGroupsPage, @@ -12,14 +13,15 @@ import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, FakerGroup, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_API_endpoints_customerGroup_deleteCustomerGroupsId'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/04_customerGroup/03_getCustomerGroupsId.ts b/tests/UI/campaigns/functional/API/02_endpoints/04_customerGroup/03_getCustomerGroupsId.ts index da04b45a635eb..9371a8855224d 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/04_customerGroup/03_getCustomerGroupsId.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/04_customerGroup/03_getCustomerGroupsId.ts @@ -5,8 +5,8 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boCustomerGroupsPage, @@ -14,8 +14,10 @@ import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, dataLanguages, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/04_customerGroup/04_putCustomerGroupsId.ts b/tests/UI/campaigns/functional/API/02_endpoints/04_customerGroup/04_putCustomerGroupsId.ts index 6e3e2d152798c..6605e753060df 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/04_customerGroup/04_putCustomerGroupsId.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/04_customerGroup/04_putCustomerGroupsId.ts @@ -5,6 +5,7 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boCustomerGroupsPage, @@ -12,15 +13,16 @@ import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, dataLanguages, FakerAPIClient, FakerGroup, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_API_endpoints_customerGroup_putCustomerGroupsId'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/05_hookStatus/01_getHookStatusId.ts b/tests/UI/campaigns/functional/API/02_endpoints/05_hookStatus/01_getHookStatusId.ts index cf733d42a58aa..5bfa5fb185ff8 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/05_hookStatus/01_getHookStatusId.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/05_hookStatus/01_getHookStatusId.ts @@ -8,13 +8,15 @@ import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer import positionsPage from '@pages/BO/design/positions'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/06_hooks/02_getHooksId.ts b/tests/UI/campaigns/functional/API/02_endpoints/06_hooks/02_getHooksId.ts index 2e41c1a92eea1..c54373cfbbec3 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/06_hooks/02_getHooksId.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/06_hooks/02_getHooksId.ts @@ -8,13 +8,15 @@ import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer import positionsPage from '@pages/BO/design/positions'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/07_language/01_getLanguages.ts b/tests/UI/campaigns/functional/API/02_endpoints/07_language/01_getLanguages.ts index d83324c347647..7c6f2d9e1dbfe 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/07_language/01_getLanguages.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/07_language/01_getLanguages.ts @@ -5,8 +5,8 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, @@ -14,7 +14,9 @@ import { boLanguagesPage, boLanguagesCreatePage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/08_module/01_getModuleTechnicalName.ts b/tests/UI/campaigns/functional/API/02_endpoints/08_module/01_getModuleTechnicalName.ts index db7d1c248a142..845109a5236a0 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/08_module/01_getModuleTechnicalName.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/08_module/01_getModuleTechnicalName.ts @@ -5,16 +5,18 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boModuleManagerPage, boLoginPage, + type BrowserContext, dataModules, FakerAPIClient, type ModuleInfo, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/09_modules/02_getModules.ts b/tests/UI/campaigns/functional/API/02_endpoints/09_modules/02_getModules.ts index f3fe3a7ba79ed..0121745096207 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/09_modules/02_getModules.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/09_modules/02_getModules.ts @@ -5,19 +5,21 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, FakerAPIClient, FakerModule, type ModuleInfo, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_API_endpoints_modules_getModules'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/09_modules/03_putModulesToggleStatus.ts b/tests/UI/campaigns/functional/API/02_endpoints/09_modules/03_putModulesToggleStatus.ts index 0ca55c1e28794..2673e2a078225 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/09_modules/03_putModulesToggleStatus.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/09_modules/03_putModulesToggleStatus.ts @@ -5,21 +5,23 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, FakerAPIClient, FakerModule, type ModuleInfo, + type Page, utilsAPI, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_API_endpoints_modules_putModulesToggleStatus'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/10_product/01_postProduct.ts b/tests/UI/campaigns/functional/API/02_endpoints/10_product/01_postProduct.ts index a73d3fb690af6..44765c881de84 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/10_product/01_postProduct.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/10_product/01_postProduct.ts @@ -9,17 +9,19 @@ import {deleteProductTest} from '@commonTests/BO/catalog/product'; import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boProductsPage, boProductsCreateTabDescriptionPage, boDashboardPage, boLoginPage, + type BrowserContext, dataLanguages, FakerAPIClient, FakerProduct, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/10_product/02_deleteProductId.ts b/tests/UI/campaigns/functional/API/02_endpoints/10_product/02_deleteProductId.ts index a6638d777e28e..c12761731068d 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/10_product/02_deleteProductId.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/10_product/02_deleteProductId.ts @@ -6,15 +6,17 @@ import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer import {createProductTest} from '@commonTests/BO/catalog/product'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boProductsPage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, FakerProduct, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/10_product/03_getProductId.ts b/tests/UI/campaigns/functional/API/02_endpoints/10_product/03_getProductId.ts index 2ab79dc367512..33377b5ed2c26 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/10_product/03_getProductId.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/10_product/03_getProductId.ts @@ -8,17 +8,19 @@ import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, + type BrowserContext, dataLanguages, dataProducts, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/10_product/04_patchProductId.ts b/tests/UI/campaigns/functional/API/02_endpoints/10_product/04_patchProductId.ts index def2ace9a68ab..e355144b39d8c 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/10_product/04_patchProductId.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/10_product/04_patchProductId.ts @@ -9,17 +9,19 @@ import {createProductTest, deleteProductTest} from '@commonTests/BO/catalog/prod import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, + type BrowserContext, dataLanguages, FakerAPIClient, FakerProduct, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/10_product/05_postProductIdImage.ts b/tests/UI/campaigns/functional/API/02_endpoints/10_product/05_postProductIdImage.ts index a21186e75134b..5acc284a827f1 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/10_product/05_postProductIdImage.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/10_product/05_postProductIdImage.ts @@ -10,17 +10,19 @@ import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; import fs from 'fs'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, + type BrowserContext, dataLanguages, FakerAPIClient, FakerProduct, + type Page, type ProductImageInformation, utilsAPI, utilsFile, diff --git a/tests/UI/campaigns/functional/API/02_endpoints/10_product/06_getProductIdImages.ts b/tests/UI/campaigns/functional/API/02_endpoints/10_product/06_getProductIdImages.ts index 1ed887322cd6b..ab7b9344c9884 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/10_product/06_getProductIdImages.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/10_product/06_getProductIdImages.ts @@ -8,17 +8,19 @@ import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { boApiClientsPage, + type APIRequestContext, boApiClientsCreatePage, boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, + type BrowserContext, dataLanguages, dataProducts, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/10_product/07_getProductImageId.ts b/tests/UI/campaigns/functional/API/02_endpoints/10_product/07_getProductImageId.ts index 47f5a5c4e73a8..d1e42c57157fb 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/10_product/07_getProductImageId.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/10_product/07_getProductImageId.ts @@ -8,17 +8,19 @@ import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, + type BrowserContext, dataLanguages, dataProducts, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/API/02_endpoints/10_product/08_postProductImageId.ts b/tests/UI/campaigns/functional/API/02_endpoints/10_product/08_postProductImageId.ts index cb640770cdc69..78deda5ace2ac 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/10_product/08_postProductImageId.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/10_product/08_postProductImageId.ts @@ -10,17 +10,19 @@ import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; import fs from 'fs'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, + type BrowserContext, dataLanguages, FakerAPIClient, FakerProduct, + type Page, type ProductImageInformation, utilsAPI, utilsFile, diff --git a/tests/UI/campaigns/functional/API/02_endpoints/11_products/01_getProducts.ts b/tests/UI/campaigns/functional/API/02_endpoints/11_products/01_getProducts.ts index 34633bfa606ac..9681134cc964a 100644 --- a/tests/UI/campaigns/functional/API/02_endpoints/11_products/01_getProducts.ts +++ b/tests/UI/campaigns/functional/API/02_endpoints/11_products/01_getProducts.ts @@ -5,14 +5,16 @@ import testContext from '@utils/testContext'; import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerAPIClient, + type Page, utilsAPI, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/00_login/01_passwordReminder.ts b/tests/UI/campaigns/functional/BO/00_login/01_passwordReminder.ts index 44e1b0796f0b9..2335655cb08e1 100644 --- a/tests/UI/campaigns/functional/BO/00_login/01_passwordReminder.ts +++ b/tests/UI/campaigns/functional/BO/00_login/01_passwordReminder.ts @@ -9,13 +9,14 @@ import addEmployeePage from '@pages/BO/advancedParameters/team/add'; import employeesPage from '@pages/BO/advancedParameters/team'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerEmployee, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/00_login/02_login.ts b/tests/UI/campaigns/functional/BO/00_login/02_login.ts index f5dfcf93d78b7..ac7d55fcd4fca 100644 --- a/tests/UI/campaigns/functional/BO/00_login/02_login.ts +++ b/tests/UI/campaigns/functional/BO/00_login/02_login.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataEmployees, FakerEmployee, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/00_login/03_logout.ts b/tests/UI/campaigns/functional/BO/00_login/03_logout.ts index ae2175a13a4c9..806698084e168 100644 --- a/tests/UI/campaigns/functional/BO/00_login/03_logout.ts +++ b/tests/UI/campaigns/functional/BO/00_login/03_logout.ts @@ -2,10 +2,11 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/00_login/04_checkLinks.ts b/tests/UI/campaigns/functional/BO/00_login/04_checkLinks.ts index 98823fc14167c..b151d1f8ad57f 100644 --- a/tests/UI/campaigns/functional/BO/00_login/04_checkLinks.ts +++ b/tests/UI/campaigns/functional/BO/00_login/04_checkLinks.ts @@ -2,10 +2,11 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boLoginPage, + type BrowserContext, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/01_dashboard/01_enableDisableDemoMode.ts b/tests/UI/campaigns/functional/BO/01_dashboard/01_enableDisableDemoMode.ts index 9a6c7f68e96ef..686b50017ff6c 100644 --- a/tests/UI/campaigns/functional/BO/01_dashboard/01_enableDisableDemoMode.ts +++ b/tests/UI/campaigns/functional/BO/01_dashboard/01_enableDisableDemoMode.ts @@ -2,10 +2,11 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/01_dashboard/02_activityOverview.ts b/tests/UI/campaigns/functional/BO/01_dashboard/02_activityOverview.ts index 317f3373ea1f9..2df58657de0b1 100644 --- a/tests/UI/campaigns/functional/BO/01_dashboard/02_activityOverview.ts +++ b/tests/UI/campaigns/functional/BO/01_dashboard/02_activityOverview.ts @@ -28,6 +28,7 @@ import { boOrdersPage, boProductsPage, boShoppingCartsPage, + type BrowserContext, dataCustomers, dataOrders, dataOrderStatuses, @@ -44,11 +45,11 @@ import { foClassicMyAccountPage, foClassicProductPage, modPsEmailSubscriptionBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_dashboard_activityOverview'; diff --git a/tests/UI/campaigns/functional/BO/01_dashboard/03_productsAndSales.ts b/tests/UI/campaigns/functional/BO/01_dashboard/03_productsAndSales.ts index 3f408cb14b1ec..c81c9dcd16d8d 100644 --- a/tests/UI/campaigns/functional/BO/01_dashboard/03_productsAndSales.ts +++ b/tests/UI/campaigns/functional/BO/01_dashboard/03_productsAndSales.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import {viewOrderBasePage} from '@pages/BO/orders/view/viewOrderBasePage'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/01_dashboard/04_helpCard.ts b/tests/UI/campaigns/functional/BO/01_dashboard/04_helpCard.ts index edbc8420915eb..ee38a8aea8649 100644 --- a/tests/UI/campaigns/functional/BO/01_dashboard/04_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/01_dashboard/04_helpCard.ts @@ -2,10 +2,11 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/01_helpCard.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/01_helpCard.ts index 6d60a1968d28a..50b407eb3c597 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/01_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/01_helpCard.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/02_filterOrders.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/02_filterOrders.ts index d696d0f8d170d..426d0043b5f8f 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/02_filterOrders.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/02_filterOrders.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataOrders, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/03_exportOrders.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/03_exportOrders.ts index ab3933ffa7a93..486712a892e50 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/03_exportOrders.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/03_exportOrders.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/04_updateStatus.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/04_updateStatus.ts index 6e4eab0af221e..ad1871e7f36ee 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/04_updateStatus.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/04_updateStatus.ts @@ -13,6 +13,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -23,13 +24,13 @@ import { foClassicMyAccountPage, type MailDev, type MailDevEmail, + type Page, utilsFile, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_updateStatus'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/05_bulkUpdateOrdersStatus.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/05_bulkUpdateOrdersStatus.ts index a70352ee85643..72514aa750a0d 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/05_bulkUpdateOrdersStatus.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/05_bulkUpdateOrdersStatus.ts @@ -8,16 +8,17 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerOrder, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_bulkUpdateOrdersStatus'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/06_bulkOpenInNewTab.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/06_bulkOpenInNewTab.ts index 905919b3a2a5f..3cca0566f8693 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/06_bulkOpenInNewTab.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/06_bulkOpenInNewTab.ts @@ -12,16 +12,17 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataPaymentMethods, dataProducts, FakerAddress, FakerCustomer, FakerOrder, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext = 'functional_BO_orders_orders_bulkOpenInNewTab'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/07_sortOrders.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/07_sortOrders.ts index 53ace3d73a536..20b05e613b093 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/07_sortOrders.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/07_sortOrders.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/08_viewCustomer.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/08_viewCustomer.ts index b92cbc5164682..50f6e3452c3f0 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/08_viewCustomer.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/08_viewCustomer.ts @@ -8,12 +8,13 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_viewCustomer'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/09_viewGuest.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/09_viewGuest.ts index de06a10fc9fa9..4fce5be1b96cd 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/09_viewGuest.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/09_viewGuest.ts @@ -12,16 +12,17 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataPaymentMethods, dataProducts, FakerAddress, FakerCustomer, FakerOrder, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_viewGuest'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/10_pagination.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/10_pagination.ts index fed6482e5885c..db48042ea1ef2 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/10_pagination.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/10_pagination.ts @@ -8,16 +8,17 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, FakerOrder, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext = 'functional_BO_orders_orders_pagination'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/11_previewOrder.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/11_previewOrder.ts index ee9d15d20be60..637f145da3c14 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/11_previewOrder.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/11_previewOrder.ts @@ -14,6 +14,7 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCarriers, dataPaymentMethods, dataProducts, @@ -26,11 +27,11 @@ import { foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_previewOrder'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/01_searchViewCustomer.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/01_searchViewCustomer.ts index 5e7bb8f1464f5..a4fb417bf1f6a 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/01_searchViewCustomer.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/01_searchViewCustomer.ts @@ -12,13 +12,15 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, FakerCustomer, + type Frame, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Frame, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_createOrders_searchViewCustomer'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/02_createCustomer.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/02_createCustomer.ts index bcc8c95fd4b70..6ffe86197f0a4 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/02_createCustomer.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/02_createCustomer.ts @@ -11,12 +11,13 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, FakerCustomer, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_createOrders_createCustomer'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/03_createSimpleOrderInBO.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/03_createSimpleOrderInBO.ts index 0032c4d4e2bdb..ace08a4d321ea 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/03_createSimpleOrderInBO.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/03_createSimpleOrderInBO.ts @@ -13,6 +13,7 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockProductsPage, + type BrowserContext, dataAddresses, dataCarriers, dataCustomers, @@ -20,11 +21,11 @@ import { dataPaymentMethods, dataProducts, FakerOrder, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_createOrders_createSimpleOrderInBO'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/04_selectPreviousCarts.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/04_selectPreviousCarts.ts index ff3057c7a6205..17ad53035d1b3 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/04_selectPreviousCarts.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/04_selectPreviousCarts.ts @@ -12,6 +12,7 @@ import { boOrdersViewBlockProductsPage, boShoppingCartsPage, boStockPage, + type BrowserContext, dataCarriers, dataCustomers, dataOrderStatuses, @@ -22,12 +23,13 @@ import { foClassicHomePage, foClassicLoginPage, foClassicProductPage, + type Frame, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Frame, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_createOrders_selectPreviousCarts'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/05_selectPreviousOrders.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/05_selectPreviousOrders.ts index e982430b05363..01e7fd1e56e9b 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/05_selectPreviousOrders.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/05_selectPreviousOrders.ts @@ -17,6 +17,7 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataOrderStatuses, dataPaymentMethods, dataProducts, @@ -24,12 +25,13 @@ import { FakerCustomer, FakerOrder, type FakerOrderStatus, + type Frame, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Frame, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_createOrders_selectPreviousOrders'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/06_addProductToTheCart.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/06_addProductToTheCart.ts index 69e9ffe3f246c..11e64e3c23522 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/06_addProductToTheCart.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/06_addProductToTheCart.ts @@ -19,18 +19,19 @@ import { boOrdersPage, boProductsPage, boStockPage, + type BrowserContext, dataCurrencies, dataCustomers, dataProducts, FakerCartRule, FakerProduct, + type Page, utilsCore, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_createOrders_addProductToTheCart'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/07_searchAddRemoveVoucher.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/07_searchAddRemoveVoucher.ts index c01a1c368833f..b7ece2d83c6a0 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/07_searchAddRemoveVoucher.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/07_searchAddRemoveVoucher.ts @@ -13,18 +13,19 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCarriers, dataCustomers, dataProducts, FakerCartRule, + type Frame, + type Page, utilsCore, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; -import {Frame} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_createOrders_searchAddRemoveVoucher'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/08_chooseAddress.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/08_chooseAddress.ts index 97a0f4ab472cd..003202d17a7c4 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/08_chooseAddress.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/08_chooseAddress.ts @@ -17,6 +17,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -25,11 +26,12 @@ import { foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Frame, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Frame, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_createOrders_chooseAddress'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/09_chooseShipping.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/09_chooseShipping.ts index 2671308d53563..fe24c7a5b52c7 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/09_chooseShipping.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/09_chooseShipping.ts @@ -14,18 +14,19 @@ import { boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, boOrderSettingsPage, + type BrowserContext, dataCarriers, dataCustomers, dataOrderStatuses, dataPaymentMethods, dataProducts, type FakerOrderStatus, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_createOrders_chooseShipping'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/10_checkSummary.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/10_checkSummary.ts index d1d5d36f29901..ff71526f67678 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/10_checkSummary.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/createOrders/10_checkSummary.ts @@ -13,6 +13,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCarriers, dataCustomers, dataOrderStatuses, @@ -22,13 +23,13 @@ import { foClassicCheckoutPage, type MailDev, type MailDevEmail, + type Page, utilsCore, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_createOrders_checkSummary'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/01_customerBlock.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/01_customerBlock.ts index aec0fdea616d4..e16bf54b8e590 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/01_customerBlock.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/01_customerBlock.ts @@ -16,17 +16,18 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, FakerAddress, FakerCustomer, FakerOrder, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_viewAndEditOrder_customerBlock'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/02_productBlock.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/02_productBlock.ts index 6c2977070a80a..a1ead132ca758 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/02_productBlock.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/02_productBlock.ts @@ -21,6 +21,7 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boProductsPage, + type BrowserContext, dataPaymentMethods, dataProducts, FakerAddress, @@ -28,11 +29,11 @@ import { FakerCustomer, FakerOrder, FakerProduct, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_viewAndEditOrder_productBlock'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/03_statusTab.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/03_statusTab.ts index 01b3a1bee3603..41ff3e868e6a7 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/03_statusTab.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/03_statusTab.ts @@ -12,6 +12,7 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataEmployees, dataOrderStatuses, @@ -23,13 +24,13 @@ import { FakerOrder, type MailDev, type MailDevEmail, + type Page, utilsDate, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext = 'functional_BO_orders_orders_viewAndEditOrder_statusTab'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/04_documentsTab.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/04_documentsTab.ts index 1fdc277150ffc..0cc4792b55ac0 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/04_documentsTab.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/04_documentsTab.ts @@ -14,17 +14,18 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerOrder, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_viewAndEditOrder_documentsTab'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/05_carriersTab.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/05_carriersTab.ts index a55213d843590..7650f7e9fec06 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/05_carriersTab.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/05_carriersTab.ts @@ -9,18 +9,19 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCarriers, dataCustomers, dataPaymentMethods, dataProducts, FakerOrder, FakerOrderShipping, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_viewAndEditOrder_carriersTab'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/06_merchandiseReturnsTab.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/06_merchandiseReturnsTab.ts index d62689ebb91cf..c32fdac2ca6a0 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/06_merchandiseReturnsTab.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/06_merchandiseReturnsTab.ts @@ -18,6 +18,7 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderReturnStatuses, dataOrderStatuses, @@ -27,12 +28,12 @@ import { foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_viewAndEditOrder_merchandiseReturnsTab'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/07_messagesBlock.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/07_messagesBlock.ts index 14301630f9501..b2f73bff47ef8 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/07_messagesBlock.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/07_messagesBlock.ts @@ -15,6 +15,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataEmployees, dataPaymentMethods, @@ -26,12 +27,12 @@ import { foClassicMyAccountPage, type OrderHistoryMessage, type OrderMessage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_viewAndEditOrder_messagesBlock'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/08_paymentBlock.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/08_paymentBlock.ts index 39a7aaa579e5d..cae789e072546 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/08_paymentBlock.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/08_paymentBlock.ts @@ -14,6 +14,7 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCurrencies, dataCustomers, dataOrderStatuses, @@ -21,13 +22,13 @@ import { dataProducts, FakerOrder, type OrderPayment, + type Page, utilsDate, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_viewAndEditOrder_paymentBlock'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/09_addDiscount.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/09_addDiscount.ts index 4aeb8e2362fd7..5323a13f6422f 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/09_addDiscount.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/09_addDiscount.ts @@ -14,18 +14,19 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCarriers, dataCustomers, dataPaymentMethods, dataProducts, FakerOrder, FakerOrderShipping, + type Page, type ProductDiscount, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_viewAndEditOrder_addDiscount'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/10_changeStatus.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/10_changeStatus.ts index 770f3d7579175..17fca178b8536 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/10_changeStatus.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/10_changeStatus.ts @@ -9,17 +9,18 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerOrder, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_viewAndEditOrder_changeStatus'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/11_checkInvoice.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/11_checkInvoice.ts index 23d5b0804488e..0a7b96ba9d9eb 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/11_checkInvoice.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/11_checkInvoice.ts @@ -21,6 +21,7 @@ import { boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, boProductsPage, + type BrowserContext, dataAddresses, dataCarriers, dataCustomers, @@ -31,6 +32,7 @@ import { FakerOrderShipping, FakerProduct, type OrderPayment, + type Page, type ProductDiscount, utilsCore, utilsDate, @@ -39,7 +41,6 @@ import { } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext = 'functional_BO_orders_orders_viewAndEditOrder_checkInvoice'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/12_checkMultiInvoice.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/12_checkMultiInvoice.ts index 0e8edf2a18ff6..acc6dcfd424c0 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/12_checkMultiInvoice.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/12_checkMultiInvoice.ts @@ -12,6 +12,7 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCarriers, dataCustomers, dataOrderStatuses, @@ -19,12 +20,12 @@ import { FakerOrder, FakerOrderShipping, FakerProduct, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_viewAndEditOrder_checkMultiInvoice'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/13_returnOrder.ts b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/13_returnOrder.ts index f9772a657451d..fe5d6a1806829 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/13_returnOrder.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/01_orders/viewAndEditOrder/13_returnOrder.ts @@ -12,6 +12,7 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -19,12 +20,12 @@ import { FakerOrder, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_orders_viewAndEditOrder_returnOrder'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/01_generateInvoiceByDate.ts b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/01_generateInvoiceByDate.ts index 5642ceec027c8..0b1bf0cfd30cb 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/01_generateInvoiceByDate.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/01_generateInvoiceByDate.ts @@ -9,14 +9,15 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataOrderStatuses, + type Page, utilsDate, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_invoices_generateInvoiceByDate'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/02_generateInvoiceByStatus.ts b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/02_generateInvoiceByStatus.ts index 75216280b57b8..c0906c68c1d4d 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/02_generateInvoiceByStatus.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/02_generateInvoiceByStatus.ts @@ -9,13 +9,14 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataOrderStatuses, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_invoices_generateInvoiceByStatus'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/01_enableDisableInvoices.ts b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/01_enableDisableInvoices.ts index 983fbcc1338ef..35e4619e9b546 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/01_enableDisableInvoices.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/01_enableDisableInvoices.ts @@ -12,16 +12,17 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerOrder, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_invoices_invoiceOptions_enableDisableInvoices'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/02_enableDisableTaxBreakdown.ts b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/02_enableDisableTaxBreakdown.ts index e0913751f61c9..d58f62f7edf68 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/02_enableDisableTaxBreakdown.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/02_enableDisableTaxBreakdown.ts @@ -18,6 +18,7 @@ import { boOrdersPage, boOrdersViewBlockTabListPage, boProductsPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -28,12 +29,12 @@ import { foClassicCheckoutPage, foClassicCheckoutOrderConfirmationPage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_invoices_invoiceOptions_enableDisableTaxBreakdown'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/03_enableDisableProductImage.ts b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/03_enableDisableProductImage.ts index 97007368d6aaf..e3009659d6bc1 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/03_enableDisableProductImage.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/03_enableDisableProductImage.ts @@ -10,6 +10,7 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -19,12 +20,12 @@ import { foClassicHomePage, foClassicLoginPage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_invoices_invoiceOptions_enableDisableProductImage'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/04_invoicePrefix.ts b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/04_invoicePrefix.ts index 3251e348b4606..d305a42beb252 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/04_invoicePrefix.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/04_invoicePrefix.ts @@ -9,13 +9,14 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataOrderStatuses, FakerOrderInvoice, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_invoices_invoiceOptions_invoicePrefix'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/05_enableDisableCurrentYear.ts b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/05_enableDisableCurrentYear.ts index e150f354f7633..1fd00878c614f 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/05_enableDisableCurrentYear.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/05_enableDisableCurrentYear.ts @@ -9,13 +9,14 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataOrderStatuses, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {use, expect} from 'chai'; import chaiString from 'chai-string'; -import type {BrowserContext, Page} from 'playwright'; use(chaiString); diff --git a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/06_otherOptions.ts b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/06_otherOptions.ts index 8bc390bd8769e..799abbc55d354 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/06_otherOptions.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/02_invoices/03_invoiceOptions/06_otherOptions.ts @@ -12,18 +12,19 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerOrder, FakerOrderInvoice, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_invoices_invoiceOptions_otherOptions'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/01_createFilterCreditSlips.ts b/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/01_createFilterCreditSlips.ts index 5d3a480148d66..7de8513710288 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/01_createFilterCreditSlips.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/01_createFilterCreditSlips.ts @@ -13,18 +13,19 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerOrder, + type Page, utilsDate, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_creditSlips_createFilterCreditSlips'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/02_sortAndPaginationCreditSlips.ts b/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/02_sortAndPaginationCreditSlips.ts index b9741b0f28bad..82a785c680450 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/02_sortAndPaginationCreditSlips.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/02_sortAndPaginationCreditSlips.ts @@ -13,17 +13,18 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerOrder, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_creditSlips_sortAndPaginationCreditSlips'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/03_generateCreditSlipsByDate.ts b/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/03_generateCreditSlipsByDate.ts index fded059dac6d6..fcca6c3d41c3c 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/03_generateCreditSlipsByDate.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/03_generateCreditSlipsByDate.ts @@ -13,18 +13,19 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerOrder, + type Page, utilsDate, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_creditSlips_generateCreditSlipsByDate'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/04_creditSlipOptions.ts b/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/04_creditSlipOptions.ts index 638eb2d53cfeb..5b1d62035e243 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/04_creditSlipOptions.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/03_creditSlips/04_creditSlipOptions.ts @@ -14,16 +14,17 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, FakerOrder, FakerProduct, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_creditSlips_creditSlipOptions'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/01_generateDeliverySlipByDate.ts b/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/01_generateDeliverySlipByDate.ts index 056923929b902..228d8c113a92c 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/01_generateDeliverySlipByDate.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/01_generateDeliverySlipByDate.ts @@ -9,14 +9,15 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataOrderStatuses, + type Page, utilsDate, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_deliverySlips_generateDeliverySlipByDate'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/02_deliverySlipOptions/01_deliverySlipPrefix.ts b/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/02_deliverySlipOptions/01_deliverySlipPrefix.ts index bfc9c783a8965..f1fc15584a5b6 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/02_deliverySlipOptions/01_deliverySlipPrefix.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/02_deliverySlipOptions/01_deliverySlipPrefix.ts @@ -9,13 +9,14 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataOrderStatuses, FakerOrderDeliverySlipOptions, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_deliverySlips_deliverySlipOptions_deliverySlipPrefix'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/02_deliverySlipOptions/02_deliverySlipNumber.ts b/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/02_deliverySlipOptions/02_deliverySlipNumber.ts index fc06f02f8bc74..a6ad922dd76f3 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/02_deliverySlipOptions/02_deliverySlipNumber.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/02_deliverySlipOptions/02_deliverySlipNumber.ts @@ -12,17 +12,18 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerOrder, FakerOrderDeliverySlipOptions, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_deliverySlips_deliverySlipOptions_deliverySlipNumber'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/02_deliverySlipOptions/03_enableDisableProductImage.ts b/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/02_deliverySlipOptions/03_enableDisableProductImage.ts index 08e471de05766..c9a4bee97ca0d 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/02_deliverySlipOptions/03_enableDisableProductImage.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/04_deliverySlips/02_deliverySlipOptions/03_enableDisableProductImage.ts @@ -9,6 +9,7 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -18,12 +19,12 @@ import { foClassicHomePage, foClassicLoginPage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_deliverySlips_deliverySlipOptions_enableDisableProductImage'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/01_filterShoppingCarts.ts b/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/01_filterShoppingCarts.ts index a9373924bb3a4..6492fd3e16ed1 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/01_filterShoppingCarts.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/01_filterShoppingCarts.ts @@ -6,15 +6,16 @@ import createShoppingCart from '@commonTests/FO/classic/shoppingCart'; import {createCustomerTest, deleteCustomerTest} from '@commonTests/BO/customers/customer'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boShoppingCartsPage, + type BrowserContext, dataProducts, dataShoppingCarts, FakerCustomer, FakerOrder, + type Page, utilsCore, utilsDate, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/02_sortAndPagination.ts b/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/02_sortAndPagination.ts index 43d6cc191e863..591de63c1de39 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/02_sortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/02_sortAndPagination.ts @@ -9,17 +9,18 @@ import { boDashboardPage, boLoginPage, boShoppingCartsPage, + type BrowserContext, dataPaymentMethods, dataProducts, FakerAddress, FakerCustomer, FakerOrder, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_shoppingCarts_sortAndPagination'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/03_viewCarts.ts b/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/03_viewCarts.ts index 2bd49ebfc85e2..bb54941e36cea 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/03_viewCarts.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/03_viewCarts.ts @@ -15,18 +15,19 @@ import { boLoginPage, boOrdersViewBlockProductsPage, boShoppingCartsPage, + type BrowserContext, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerAddress, FakerCustomer, FakerOrder, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_shoppingCarts_viewCarts'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/04_exportCarts.ts b/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/04_exportCarts.ts index 8e6c759026890..8449de8a0f50d 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/04_exportCarts.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/04_exportCarts.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boShoppingCartsPage, + type BrowserContext, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/05_deleteAbandonedCarts.ts b/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/05_deleteAbandonedCarts.ts index 884240a1b5523..d33fa28e82d68 100644 --- a/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/05_deleteAbandonedCarts.ts +++ b/tests/UI/campaigns/functional/BO/02_orders/05_shoppingCarts/05_deleteAbandonedCarts.ts @@ -8,14 +8,15 @@ import { boDashboardPage, boLoginPage, boShoppingCartsPage, + type BrowserContext, dataCustomers, dataProducts, FakerOrder, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_orders_shoppingCarts_deleteAbandonedCarts'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/01_filterProducts.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/01_filterProducts.ts index 008541d6362d0..79eb7df1817e5 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/01_filterProducts.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/01_filterProducts.ts @@ -1,5 +1,4 @@ import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // Import utils import testContext from '@utils/testContext'; @@ -8,8 +7,10 @@ import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, dataProducts, dataCategories, + type Page, type ProductFilterMinMax, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/02_CRUDStandardProduct.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/02_CRUDStandardProduct.ts index 26282ca5d25ed..ccb79a4d5df96 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/02_CRUDStandardProduct.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/02_CRUDStandardProduct.ts @@ -4,14 +4,15 @@ import testContext from '@utils/testContext'; // Import pages import createProductsPage from '@pages/BO/catalog/products/add'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicProductPage, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/03_CRUDProductWithCombinations.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/03_CRUDProductWithCombinations.ts index 198114011e50d..c4fde60360aca 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/03_CRUDProductWithCombinations.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/03_CRUDProductWithCombinations.ts @@ -8,13 +8,14 @@ import attributesPage from '@pages/BO/catalog/attributes'; import pricingTab from '@pages/BO/catalog/products/add/pricingTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicProductPage, + type Page, type ProductAttributes, type ProductCombinationBulk, type ProductCombinationOptions, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/04_CRUDPackOfProducts.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/04_CRUDPackOfProducts.ts index 6ad53af69c10a..8d0a0f0195424 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/04_CRUDPackOfProducts.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/04_CRUDPackOfProducts.ts @@ -6,16 +6,17 @@ import createProductsPage from '@pages/BO/catalog/products/add'; import packTab from '@pages/BO/catalog/products/add/packTab'; import pricingTab from '@pages/BO/catalog/products/add/pricingTab'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, dataEmployees, dataProducts, FakerProduct, foClassicProductPage, + type Page, type ProductPackOptions, utilsCore, utilsDate, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/05_CRUDVirtualProduct.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/05_CRUDVirtualProduct.ts index 37f056374c59a..f92e90e920fee 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/05_CRUDVirtualProduct.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/05_CRUDVirtualProduct.ts @@ -14,6 +14,7 @@ import { boLoginPage, boOrdersPage, boProductsPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -26,13 +27,13 @@ import { foClassicProductPage, type MailDev, type MailDevEmail, + type Page, utilsCore, utilsFile, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; const baseContext: string = 'functional_BO_catalog_products_CRUDVirtualProduct'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/06_duplicateProduct.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/06_duplicateProduct.ts index 511893bd7f90e..c09d91ef019d0 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/06_duplicateProduct.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/06_duplicateProduct.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, dataProducts, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/07_productBulkActions.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/07_productBulkActions.ts index ac1f0f9b50cec..eb465416808e7 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/07_productBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/07_productBulkActions.ts @@ -4,13 +4,14 @@ import testContext from '@utils/testContext'; // Import pages import createProductsPage from '@pages/BO/catalog/products/add'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/08_header.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/08_header.ts index 5e4d6adb4edd4..a36d9af49c0c6 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/08_header.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/08_header.ts @@ -9,7 +9,6 @@ import createProductsPage from '@pages/BO/catalog/products/add'; import detailsTab from '@pages/BO/catalog/products/add/detailsTab'; import pricingTab from '@pages/BO/catalog/products/add/pricingTab'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import {faker} from '@faker-js/faker'; import { @@ -18,7 +17,9 @@ import { boProductsPage, boProductsCreateTabDescriptionPage, boProductsCreateTabStocksPage, + type BrowserContext, FakerProduct, + type Page, type ProductHeaderSummary, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/09_footer.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/09_footer.ts index a479d927a08f3..5ba934046f302 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/09_footer.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/09_footer.ts @@ -4,13 +4,14 @@ import testContext from '@utils/testContext'; // Import pages import createProductsPage from '@pages/BO/catalog/products/add'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, dataProducts, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/10_descriptionTab.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/10_descriptionTab.ts index 26d2a9ad5ff0f..e61f6842bfc47 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/10_descriptionTab.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/10_descriptionTab.ts @@ -7,14 +7,15 @@ import {deleteProductTest} from '@commonTests/BO/catalog/product'; // Import pages import createProductsPage from '@pages/BO/catalog/products/add'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, + type BrowserContext, FakerProduct, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/11_combinationTab.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/11_combinationTab.ts index 91065359783ab..934feef7c462a 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/11_combinationTab.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/11_combinationTab.ts @@ -7,14 +7,15 @@ import combinationsTab from '@pages/BO/catalog/products/add/combinationsTab'; import attributesPage from '@pages/BO/catalog/attributes'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, FakerProduct, foClassicProductPage, + type Page, type ProductAttribute, type ProductCombinationOptions, utilsFile, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/12_packTab.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/12_packTab.ts index 41441e1de24a0..1bba192c4e07b 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/12_packTab.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/12_packTab.ts @@ -15,6 +15,7 @@ import { boLoginPage, boOrdersPage, boProductsPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -24,11 +25,11 @@ import { foClassicCheckoutPage, foClassicCheckoutOrderConfirmationPage, foClassicProductPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; const baseContext: string = 'functional_BO_catalog_products_packTab'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/13_virtualTab.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/13_virtualTab.ts index 887b66e6d35c3..d462b31bab911 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/13_virtualTab.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/13_virtualTab.ts @@ -14,6 +14,7 @@ import { boProductsPage, boProductSettingsPage, boProductsCreateTabVirtualProductPage, + type BrowserContext, dataCustomers, dataPaymentMethods, FakerProduct, @@ -23,12 +24,12 @@ import { foClassicHomePage, foClassicMyAccountPage, foClassicProductPage, + type Page, utilsDate, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; const baseContext: string = 'functional_BO_catalog_products_virtualTab'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/14_detailsTab.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/14_detailsTab.ts index 3e934ae2ba1cd..eb584e850e309 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/14_detailsTab.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/14_detailsTab.ts @@ -7,14 +7,15 @@ import createProductPage from '@pages/BO/catalog/products/add'; import detailsTab from '@pages/BO/catalog/products/add/detailsTab'; import filesPage from '@pages/BO/catalog/files'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicProductPage, + type Page, type ProductFeatures, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/15_stocksTab.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/15_stocksTab.ts index 51798bd9f74f7..c2a583d8bc3c9 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/15_stocksTab.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/15_stocksTab.ts @@ -8,16 +8,17 @@ import {deleteProductTest} from '@commonTests/BO/catalog/product'; import createProductPage from '@pages/BO/catalog/products/add'; import movementsPage from '@pages/BO/catalog/stocks/movements'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabStocksPage, + type BrowserContext, dataEmployees, FakerProduct, foClassicProductPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/16_shippingTab.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/16_shippingTab.ts index c20bb125529c9..74ec9edae8277 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/16_shippingTab.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/16_shippingTab.ts @@ -11,16 +11,17 @@ import { boProductsCreateTabShippingPage, boProductsCreateTabStocksPage, boProductSettingsPage, + type BrowserContext, dataCarriers, dataCustomers, FakerProduct, foClassicCartPage, foClassicCheckoutPage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; const baseContext: string = 'functional_BO_catalog_products_shippingTab'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/17_pricingTab.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/17_pricingTab.ts index 43a76e2ad02d9..b6774c976e5b5 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/17_pricingTab.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/17_pricingTab.ts @@ -10,15 +10,16 @@ import cartRulesPage from '@pages/BO/catalog/discounts'; // Import FO pages import catalogPriceRulesPage from '@pages/BO/catalog/discounts/catalogPriceRules'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerCatalogPriceRule, FakerProduct, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/18_seoTab.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/18_seoTab.ts index d03fe1445763f..5e7c2b566ba52 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/18_seoTab.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/18_seoTab.ts @@ -5,17 +5,18 @@ import testContext from '@utils/testContext'; import createProductPage from '@pages/BO/catalog/products/add'; import seoTab from '@pages/BO/catalog/products/add/seoTab'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, dataProducts, FakerProduct, foClassicCategoryPage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/19_optionsTab.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/19_optionsTab.ts index 906db7940c0ca..072c5baa34c3f 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/19_optionsTab.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/19_optionsTab.ts @@ -4,19 +4,20 @@ import testContext from '@utils/testContext'; import createProductPage from '@pages/BO/catalog/products/add'; import optionsTab from '@pages/BO/catalog/products/add/optionsTab'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, + type BrowserContext, FakerProduct, foClassicHomePage, foClassicCategoryPage, foClassicModalQuickViewPage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/20_multistore.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/20_multistore.ts index d2399c95c7c2a..490d8bcd83bd7 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/20_multistore.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/20_multistore.ts @@ -10,15 +10,16 @@ import shopPage from '@pages/BO/advancedParameters/multistore/shop'; import addShopUrlPage from '@pages/BO/advancedParameters/multistore/url/addURL'; import createProductPage from '@pages/BO/catalog/products/add'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, FakerShop, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/21_filterSortPagination.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/21_filterSortPagination.ts index 458791d380ce6..5f8aaa062f686 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/21_filterSortPagination.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/21_filterSortPagination.ts @@ -5,13 +5,14 @@ import testContext from '@utils/testContext'; import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, + type BrowserContext, dataCategories, + type Page, type ProductFilterMinMax, utilsCore, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/22_bulkActionsEnableDisable3DotsButton.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/22_bulkActionsEnableDisable3DotsButton.ts index aa5e9819b44cc..f2ea96509b44f 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/22_bulkActionsEnableDisable3DotsButton.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/22_bulkActionsEnableDisable3DotsButton.ts @@ -4,13 +4,14 @@ import testContext from '@utils/testContext'; // Import BO pages import createProductsPage from '@pages/BO/catalog/products/add'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/01_filterAndQuickEditCategories.ts b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/01_filterAndQuickEditCategories.ts index 15ae5c47175af..efd615b52dd8a 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/01_filterAndQuickEditCategories.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/01_filterAndQuickEditCategories.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import categoriesPage from '@pages/BO/catalog/categories'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCategories, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/02_CRUDCategoryInBO.ts b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/02_CRUDCategoryInBO.ts index dd103821776a4..3bef92bc2c1f9 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/02_CRUDCategoryInBO.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/02_CRUDCategoryInBO.ts @@ -9,15 +9,17 @@ import addCategoryPage from '@pages/BO/catalog/categories/add'; import {siteMapPage} from '@pages/FO/classic/siteMap'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boDashboardPage, boLoginPage, + type BrowserContext, type CategoryRedirection, dataCategories, FakerCategory, foClassicHomePage, foClassicCategoryPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/03_categoriesBulkAction.ts b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/03_categoriesBulkAction.ts index 326d0bc662ac3..568b0ab0a0651 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/03_categoriesBulkAction.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/03_categoriesBulkAction.ts @@ -6,11 +6,12 @@ import categoriesPage from '@pages/BO/catalog/categories'; import addCategoryPage from '@pages/BO/catalog/categories/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCategory, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/04_changeCategoryPosition.ts b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/04_changeCategoryPosition.ts index 848c1f46d55fc..05441d108b85e 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/04_changeCategoryPosition.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/04_changeCategoryPosition.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import categoriesPage from '@pages/BO/catalog/categories'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/05_paginationAndSortCategories.ts b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/05_paginationAndSortCategories.ts index ddffa74f1045f..fd57a1bd36373 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/05_paginationAndSortCategories.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/05_paginationAndSortCategories.ts @@ -12,11 +12,12 @@ import categoriesPage from '@pages/BO/catalog/categories'; import ImportCategories from '@data/import/categories'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, type CategoryFilter, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/06_helpCard.ts b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/06_helpCard.ts index 4a086f7078157..99795d4852521 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/06_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/06_helpCard.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import categoriesPage from '@pages/BO/catalog/categories'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/07_exportCategories.ts b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/07_exportCategories.ts index 003c2c2379ae1..1d00bb29ea1e1 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/07_exportCategories.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/07_exportCategories.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import categoriesPage from '@pages/BO/catalog/categories'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/08_editHomeCategory.ts b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/08_editHomeCategory.ts index a966ad28a50c8..d69cb88b27196 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/02_categories/08_editHomeCategory.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/02_categories/08_editHomeCategory.ts @@ -9,14 +9,15 @@ import editCategoryPage from '@pages/BO/catalog/categories/add'; import {siteMapPage} from '@pages/FO/classic/siteMap'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCategories, FakerCategory, foClassicHomePage, foClassicCategoryPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/01_deleteEmptyCategory.ts b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/01_deleteEmptyCategory.ts index 1668c7a24787f..0fb43e30fc49c 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/01_deleteEmptyCategory.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/01_deleteEmptyCategory.ts @@ -7,11 +7,12 @@ import addCategoryPage from '@pages/BO/catalog/categories/add'; import monitoringPage from '@pages/BO/catalog/monitoring'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCategory, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/02_monitoringProducts.ts b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/02_monitoringProducts.ts index 69ea6e350477e..6120e8f5e6906 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/02_monitoringProducts.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/02_monitoringProducts.ts @@ -7,12 +7,13 @@ import combinationsTab from '@pages/BO/catalog/products/add/combinationsTab'; import monitoringPage from '@pages/BO/catalog/monitoring'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/03_helpCard.ts b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/03_helpCard.ts index 3096d01daf340..3f92c5523d913 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/03_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/03_helpCard.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import monitoringPage from '@pages/BO/catalog/monitoring'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/01_emptyCategories.ts b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/01_emptyCategories.ts index 70fe122a78d77..4df89059e4eb1 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/01_emptyCategories.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/01_emptyCategories.ts @@ -13,11 +13,12 @@ import monitoringPage from '@pages/BO/catalog/monitoring'; import ImportCategories from '@data/import/categories'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, type CategoryFilter, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/02_withCombinationsWithoutQuantities.ts b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/02_withCombinationsWithoutQuantities.ts index 3fdba59658808..653a6b94ec653 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/02_withCombinationsWithoutQuantities.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/02_withCombinationsWithoutQuantities.ts @@ -14,10 +14,11 @@ import ImportCombinations from '@data/import/combinations'; import ImportDisabledProducts from '@data/import/disabledProducts'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/03_withoutCombinationsWithoutQuantities.ts b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/03_withoutCombinationsWithoutQuantities.ts index 7b879fda53a12..36bdc0abe8810 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/03_withoutCombinationsWithoutQuantities.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/03_withoutCombinationsWithoutQuantities.ts @@ -13,10 +13,11 @@ import monitoringPage from '@pages/BO/catalog/monitoring'; import ImportProductsWithoutQuantities from '@data/import/productsWithoutQuantities'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/04_disabledProducts.ts b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/04_disabledProducts.ts index a2c2acb3a00ee..ee8a2d8408328 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/04_disabledProducts.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/04_disabledProducts.ts @@ -13,10 +13,11 @@ import monitoringPage from '@pages/BO/catalog/monitoring'; import ImportDisabledProducts from '@data/import/disabledProducts'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/05_productsWithoutImage.ts b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/05_productsWithoutImage.ts index 99c1dd0fececa..94918eb14c77d 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/05_productsWithoutImage.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/05_productsWithoutImage.ts @@ -13,10 +13,11 @@ import monitoringPage from '@pages/BO/catalog/monitoring'; import ImportProductsWithoutQuantities from '@data/import/productsWithoutQuantities'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/06_productsWithoutDescription.ts b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/06_productsWithoutDescription.ts index cef684affcdbe..1e37a6c18a76a 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/06_productsWithoutDescription.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/06_productsWithoutDescription.ts @@ -13,10 +13,11 @@ import monitoringPage from '@pages/BO/catalog/monitoring'; import ImportDisabledProducts from '@data/import/disabledProducts'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/07_productsWithoutPrice.ts b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/07_productsWithoutPrice.ts index afd0c3f1fa11a..156da9131762f 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/07_productsWithoutPrice.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/03_monitoring/sortPaginationAndBulkDelete/07_productsWithoutPrice.ts @@ -13,10 +13,11 @@ import addProductPage from '@pages/BO/catalog/products/add'; import ImportDisabledProducts from '@data/import/disabledProducts'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/01_CRUDAttributesAndValues.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/01_CRUDAttributesAndValues.ts index b000b07f35d8c..42fb6b32fb8ed 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/01_CRUDAttributesAndValues.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/01_CRUDAttributesAndValues.ts @@ -8,12 +8,13 @@ import addValuePage from '@pages/BO/catalog/attributes/addValue'; import viewAttributePage from '@pages/BO/catalog/attributes/view'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerAttribute, FakerAttributeValue, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/02_changePosition.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/02_changePosition.ts index 0c0ef13049f1b..82e12e9a95922 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/02_changePosition.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/02_changePosition.ts @@ -6,11 +6,12 @@ import attributesPage from '@pages/BO/catalog/attributes'; import viewAttributePage from '@pages/BO/catalog/attributes/view'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataAttributes, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/attributes/01_filterAttributes.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/attributes/01_filterAttributes.ts index e9636c5ba76ad..e2d6ddfe23277 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/attributes/01_filterAttributes.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/attributes/01_filterAttributes.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import attributesPage from '@pages/BO/catalog/attributes'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataAttributes, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/attributes/02_sortPaginationAndBulkDelete.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/attributes/02_sortPaginationAndBulkDelete.ts index bcd0db8b8bfd8..3ddc5fa9b89e0 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/attributes/02_sortPaginationAndBulkDelete.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/attributes/02_sortPaginationAndBulkDelete.ts @@ -6,11 +6,12 @@ import attributesPage from '@pages/BO/catalog/attributes'; import addAttributePage from '@pages/BO/catalog/attributes/addAttribute'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerAttribute, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/attributes/04_helpCard.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/attributes/04_helpCard.ts index 97170cef7651d..d66ff4e457729 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/attributes/04_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/attributes/04_helpCard.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import attributesPage from '@pages/BO/catalog/attributes'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/values/01_filterValues.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/values/01_filterValues.ts index 8b24058dde274..bab5296151adb 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/values/01_filterValues.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/values/01_filterValues.ts @@ -6,11 +6,12 @@ import attributesPage from '@pages/BO/catalog/attributes'; import viewAttributePage from '@pages/BO/catalog/attributes/view'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataAttributes, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/values/02_sortPaginationAndBulkDelete.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/values/02_sortPaginationAndBulkDelete.ts index 5dd9dbf114687..aa695a9038956 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/values/02_sortPaginationAndBulkDelete.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/01_attributes/values/02_sortPaginationAndBulkDelete.ts @@ -7,11 +7,12 @@ import addValuePage from '@pages/BO/catalog/attributes/addValue'; import viewAttributePage from '@pages/BO/catalog/attributes/view'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerAttributeValue, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/01_CRUDFeaturesAndValues.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/01_CRUDFeaturesAndValues.ts index d575661bcb64a..7fcc59f77c650 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/01_CRUDFeaturesAndValues.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/01_CRUDFeaturesAndValues.ts @@ -9,12 +9,13 @@ import viewFeaturePage from '@pages/BO/catalog/features/view'; import addValuePage from '@pages/BO/catalog/features/addValue'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerFeature, FakerFeatureValue, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/01_filterFeatures.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/01_filterFeatures.ts index e4bf33726c2f3..8404e23259958 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/01_filterFeatures.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/01_filterFeatures.ts @@ -6,11 +6,12 @@ import attributesPage from '@pages/BO/catalog/attributes'; import featuresPage from '@pages/BO/catalog/features'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataFeatures, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/02_sortPaginationAndBulkDelete.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/02_sortPaginationAndBulkDelete.ts index 57e378ad8e58d..80ff81cebc6f0 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/02_sortPaginationAndBulkDelete.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/02_sortPaginationAndBulkDelete.ts @@ -9,11 +9,12 @@ import attributesPage from '@pages/BO/catalog/attributes'; import featuresPage from '@pages/BO/catalog/features'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerFeature, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/03_changePosition.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/03_changePosition.ts index f64fe1881bc65..75c2a7d6d8fe3 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/03_changePosition.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/03_changePosition.ts @@ -7,11 +7,12 @@ import featuresPage from '@pages/BO/catalog/features'; import addFeaturePage from '@pages/BO/catalog/features/addFeature'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerFeature, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/04_helpCard.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/04_helpCard.ts index 49bbeed2ae404..e3f9b6bcfa0ea 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/04_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/features/04_helpCard.ts @@ -6,10 +6,11 @@ import attributesPage from '@pages/BO/catalog/attributes'; import featuresPage from '@pages/BO/catalog/features'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/values/01_filterFeatureValues.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/values/01_filterFeatureValues.ts index 9a3ee21d05639..2e21f5c788669 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/values/01_filterFeatureValues.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/values/01_filterFeatureValues.ts @@ -7,11 +7,12 @@ import featuresPage from '@pages/BO/catalog/features'; import viewFeaturePage from '@pages/BO/catalog/features/view'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataFeatures, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/values/02_sortPaginationAndBulkDelete.ts b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/values/02_sortPaginationAndBulkDelete.ts index 4ddb4ae0e98a2..735ee4aa9815a 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/values/02_sortPaginationAndBulkDelete.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/04_attributesAndFeatures/02_features/values/02_sortPaginationAndBulkDelete.ts @@ -8,12 +8,13 @@ import addValuePage from '@pages/BO/catalog/features/addValue'; import viewFeaturePage from '@pages/BO/catalog/features/view'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataFeatures, FakerFeatureValue, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/01_CRUDBrandAndAddress.ts b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/01_CRUDBrandAndAddress.ts index 0cf9eef1e7308..6127032e6e298 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/01_CRUDBrandAndAddress.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/01_CRUDBrandAndAddress.ts @@ -8,12 +8,13 @@ import addBrandAddressPage from '@pages/BO/catalog/brands/addAddress'; import viewBrandPage from '@pages/BO/catalog/brands/view'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerBrand, FakerBrandAddress, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/02_helpCard.ts b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/02_helpCard.ts index 4ec896281d424..bc743b27ca356 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/02_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/02_helpCard.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import brandsPage from '@pages/BO/catalog/brands'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/addresses/01_filterAddresses.ts b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/addresses/01_filterAddresses.ts index 7f85105e6a37d..48a3dfd09bf1e 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/addresses/01_filterAddresses.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/addresses/01_filterAddresses.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import brandsPage from '@pages/BO/catalog/brands'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataBrandAddresses, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/addresses/02_sortPaginationAndBulkActions.ts b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/addresses/02_sortPaginationAndBulkActions.ts index 84bed78c088f0..c584dc83c3e45 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/addresses/02_sortPaginationAndBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/addresses/02_sortPaginationAndBulkActions.ts @@ -6,11 +6,12 @@ import brandsPage from '@pages/BO/catalog/brands'; import addBrandAddressPage from '@pages/BO/catalog/brands/addAddress'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerBrandAddress, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/brands/01_filterAndQuickEditBrands.ts b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/brands/01_filterAndQuickEditBrands.ts index d35231fea05e7..7f06027cc5f50 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/brands/01_filterAndQuickEditBrands.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/brands/01_filterAndQuickEditBrands.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import brandsPage from '@pages/BO/catalog/brands'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataBrands, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/brands/02_sortPaginationAndBulkActions.ts b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/brands/02_sortPaginationAndBulkActions.ts index a7a4203686f38..5e794ad8b999d 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/brands/02_sortPaginationAndBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/brands/02_sortPaginationAndBulkActions.ts @@ -11,10 +11,11 @@ import brandsPage from '@pages/BO/catalog/brands'; import ImportBrands from '@data/import/brands'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/brands/03_exportBrands.ts b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/brands/03_exportBrands.ts index 6fcc03e4c7be5..ec9d91fcb53ac 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/brands/03_exportBrands.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/brands/brands/03_exportBrands.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import brandsPage from '@pages/BO/catalog/brands'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/01_CRUDSupplier.ts b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/01_CRUDSupplier.ts index f9cb44aa610fc..f2a7560a9af8f 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/01_CRUDSupplier.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/01_CRUDSupplier.ts @@ -7,12 +7,13 @@ import suppliersPage from '@pages/BO/catalog/suppliers'; import viewSupplierPage from '@pages/BO/catalog/suppliers/view'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSuppliersCreate, + type BrowserContext, FakerSupplier, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/02_filterAndQuickEdit.ts b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/02_filterAndQuickEdit.ts index 460ca908f777e..c239315c6dac5 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/02_filterAndQuickEdit.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/02_filterAndQuickEdit.ts @@ -6,11 +6,12 @@ import brandsPage from '@pages/BO/catalog/brands'; import suppliersPage from '@pages/BO/catalog/suppliers'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataSuppliers, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/03_helpCard.ts b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/03_helpCard.ts index 5c00804d12e27..0216e101d682b 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/03_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/03_helpCard.ts @@ -6,10 +6,11 @@ import brandsPage from '@pages/BO/catalog/brands'; import suppliersPage from '@pages/BO/catalog/suppliers'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/04_paginationSortAndBulkActions.ts b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/04_paginationSortAndBulkActions.ts index 954147751868b..db79fb0f535d2 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/04_paginationSortAndBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/05_brandsAndSuppliers/suppliers/04_paginationSortAndBulkActions.ts @@ -6,12 +6,13 @@ import brandsPage from '@pages/BO/catalog/brands'; import suppliersPage from '@pages/BO/catalog/suppliers'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSuppliersCreate, + type BrowserContext, FakerSupplier, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/06_files/01_CRUDFile.ts b/tests/UI/campaigns/functional/BO/03_catalog/06_files/01_CRUDFile.ts index 0e176a9aea6e3..a997695256789 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/06_files/01_CRUDFile.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/06_files/01_CRUDFile.ts @@ -6,11 +6,12 @@ import filesPage from '@pages/BO/catalog/files'; import addFilePage from '@pages/BO/catalog/files/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerFile, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/06_files/03_filterSortPaginationAndBulkActions.ts b/tests/UI/campaigns/functional/BO/03_catalog/06_files/03_filterSortPaginationAndBulkActions.ts index 772a65fbec156..0658e75f7b5cc 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/06_files/03_filterSortPaginationAndBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/06_files/03_filterSortPaginationAndBulkActions.ts @@ -6,11 +6,12 @@ import filesPage from '@pages/BO/catalog/files'; import addFilePage from '@pages/BO/catalog/files/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerFile, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/06_files/04_helpCard.ts b/tests/UI/campaigns/functional/BO/03_catalog/06_files/04_helpCard.ts index 625c9e61ec757..391bad2400efb 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/06_files/04_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/06_files/04_helpCard.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import filesPage from '@pages/BO/catalog/files'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/01_withAndWithoutCode.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/01_withAndWithoutCode.ts index ab43e5fca30a3..12f786451fa7e 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/01_withAndWithoutCode.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/01_withAndWithoutCode.ts @@ -7,15 +7,16 @@ import cartRulesPage from '@pages/BO/catalog/discounts'; import addCartRulePage from '@pages/BO/catalog/discounts/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataProducts, FakerCartRule, foClassicCartPage, foClassicHomePage, foClassicProductPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/02_enableDisablePartialUse.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/02_enableDisablePartialUse.ts index e390d3c4f2088..70cc62b49459d 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/02_enableDisablePartialUse.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/02_enableDisablePartialUse.ts @@ -9,6 +9,7 @@ import {vouchersPage as foVouchersPage} from '@pages/FO/classic/myAccount/vouche import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, @@ -19,12 +20,12 @@ import { foClassicHomePage, foClassicMyAccountPage, foClassicProductPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_catalog_discounts_cartRules_CRUDCartRule_information_enableDisablePartialUse'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/03_priority.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/03_priority.ts index 113c3ef20838d..06a725a23b029 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/03_priority.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/03_priority.ts @@ -7,15 +7,16 @@ import cartRulesPage from '@pages/BO/catalog/discounts'; import addCartRulePage from '@pages/BO/catalog/discounts/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataProducts, FakerCartRule, foClassicCartPage, foClassicHomePage, foClassicProductPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/04_disableStatus.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/04_disableStatus.ts index 0b11c65e3d5bc..6c4464f7f1285 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/04_disableStatus.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/01_information/04_disableStatus.ts @@ -6,15 +6,16 @@ import cartRulesPage from '@pages/BO/catalog/discounts'; import addCartRulePage from '@pages/BO/catalog/discounts/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataProducts, FakerCartRule, foClassicCartPage, foClassicHomePage, foClassicProductPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/01_limitToSingleCustomer.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/01_limitToSingleCustomer.ts index 79fcaa8e6b752..18f3647fe2a94 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/01_limitToSingleCustomer.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/01_limitToSingleCustomer.ts @@ -15,6 +15,7 @@ import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, FakerCartRule, foClassicCartPage, @@ -22,12 +23,12 @@ import { foClassicLoginPage, foClassicModalQuickViewPage, foClassicMyAccountPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_catalog_discounts_cartRules_CRUDCartRule_conditions_limitToSingleCustomer'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/02_invalidDateTime.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/02_invalidDateTime.ts index 51f96abe7d8b9..4b116d63376e9 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/02_invalidDateTime.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/02_invalidDateTime.ts @@ -12,15 +12,16 @@ import addCartRulePage from '@pages/BO/catalog/discounts/add'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCartRule, foClassicCartPage, foClassicHomePage, foClassicLoginPage, foClassicModalQuickViewPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/03_minimumAmount.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/03_minimumAmount.ts index 6af9d8fb872ca..6e84002541016 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/03_minimumAmount.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/03_minimumAmount.ts @@ -12,16 +12,17 @@ import addCartRulePage from '@pages/BO/catalog/discounts/add'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataProducts, FakerCartRule, foClassicCartPage, foClassicHomePage, foClassicLoginPage, foClassicModalQuickViewPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/04_checkTotalAvailable.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/04_checkTotalAvailable.ts index cee1e1d6ea171..4e8e6de53fcc4 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/04_checkTotalAvailable.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/04_checkTotalAvailable.ts @@ -12,6 +12,7 @@ import addCartRulePage from '@pages/BO/catalog/discounts/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, @@ -21,12 +22,12 @@ import { foClassicCheckoutOrderConfirmationPage, foClassicHomePage, foClassicProductPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_catalog_discounts_cartRules_CRUDCartRule_conditions_checkTotalAvailable'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/05_checkTotalAvailableForEachUser.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/05_checkTotalAvailableForEachUser.ts index ff6b3ea240fb9..2d6909a721992 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/05_checkTotalAvailableForEachUser.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/05_checkTotalAvailableForEachUser.ts @@ -12,6 +12,7 @@ import addCartRulePage from '@pages/BO/catalog/discounts/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, @@ -22,12 +23,12 @@ import { foClassicHomePage, foClassicLoginPage, foClassicProductPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_catalog_discounts_cartRules_CRUDCartRule_conditions_checkTotalAvailableForEachUser'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/06_countrySelection.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/06_countrySelection.ts index b2ed23e44637a..ec495e2a5ec78 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/06_countrySelection.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/06_countrySelection.ts @@ -14,6 +14,7 @@ import { boCountriesPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCarriers, dataCountries, dataCustomers, @@ -23,11 +24,11 @@ import { foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_catalog_discounts_cartRules_CRUDCartRule_conditions_countrySelection'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/07_carrierSelection.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/07_carrierSelection.ts index b7f272e2a9daa..81ec9325caaed 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/07_carrierSelection.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/07_carrierSelection.ts @@ -12,6 +12,7 @@ import addCartRulePage from '@pages/BO/catalog/discounts/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCarriers, dataCustomers, dataProducts, @@ -20,11 +21,11 @@ import { foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_catalog_discounts_cartRules_CRUDCartRule_conditions_carrierSelection'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/08_customerGroupSelection.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/08_customerGroupSelection.ts index 44b3f3a09fddd..b0fde8f86ddf0 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/08_customerGroupSelection.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/08_customerGroupSelection.ts @@ -11,6 +11,7 @@ import addCartRulePage from '@pages/BO/catalog/discounts/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataProducts, FakerCartRule, @@ -18,11 +19,11 @@ import { foClassicHomePage, foClassicLoginPage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_catalog_discounts_cartRules_CRUDCartRule_conditions_customerGroupSelection'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/10_productSelection.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/10_productSelection.ts index 27fcba83b30d4..308a38d3b0345 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/10_productSelection.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/02_conditions/10_productSelection.ts @@ -14,6 +14,7 @@ import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataProducts, FakerCartRule, @@ -23,12 +24,12 @@ import { foClassicModalQuickViewPage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_catalog_discounts_cartRules_CRUDCartRule_conditions_productSelection'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/03_actions/07_applyToSpecificProduct.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/03_actions/07_applyToSpecificProduct.ts index 6851d5710bb5c..32413baed8aac 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/03_actions/07_applyToSpecificProduct.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/01_CRUDCartRule/03_actions/07_applyToSpecificProduct.ts @@ -14,6 +14,7 @@ import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataProducts, FakerCartRule, @@ -23,12 +24,12 @@ import { foClassicModalQuickViewPage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_catalog_discounts_cartRules_CRUDCartRule_actions_applyToSpecificProduct'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/02_filterQuickEditAndBulkActionsCartRules.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/02_filterQuickEditAndBulkActionsCartRules.ts index e4ad45646c664..a5cb1ca71b21e 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/02_filterQuickEditAndBulkActionsCartRules.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/02_filterQuickEditAndBulkActionsCartRules.ts @@ -6,11 +6,12 @@ import cartRulesPage from '@pages/BO/catalog/discounts'; import addCartRulePage from '@pages/BO/catalog/discounts/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCartRule, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/03_sortAndPaginationCartRule.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/03_sortAndPaginationCartRule.ts index bfbc7d7ba1226..99fa91e7edeee 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/03_sortAndPaginationCartRule.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/01_cartRules/03_sortAndPaginationCartRule.ts @@ -6,11 +6,12 @@ import cartRulesPage from '@pages/BO/catalog/discounts'; import addCartRulePage from '@pages/BO/catalog/discounts/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCartRule, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/02_catalogPriceRules/01_CRUDCatalogPriceRule.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/02_catalogPriceRules/01_CRUDCatalogPriceRule.ts index 8fdcf10b270c8..f0074a260485e 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/02_catalogPriceRules/01_CRUDCatalogPriceRule.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/02_catalogPriceRules/01_CRUDCatalogPriceRule.ts @@ -8,14 +8,15 @@ import catalogPriceRulesPage from '@pages/BO/catalog/discounts/catalogPriceRules import addCatalogPriceRulePage from '@pages/BO/catalog/discounts/catalogPriceRules/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataProducts, FakerCatalogPriceRule, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/02_catalogPriceRules/02_filterSortAndPagination.ts b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/02_catalogPriceRules/02_filterSortAndPagination.ts index e65733eb4dc4c..ca0bd5b362950 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/02_catalogPriceRules/02_filterSortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/07_discounts/02_catalogPriceRules/02_filterSortAndPagination.ts @@ -7,11 +7,12 @@ import catalogPriceRulesPage from '@pages/BO/catalog/discounts/catalogPriceRules import addCatalogPriceRulePage from '@pages/BO/catalog/discounts/catalogPriceRules/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCatalogPriceRule, + type Page, utilsCore, utilsDate, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/01_movements/01_filterMovements.ts b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/01_movements/01_filterMovements.ts index 5f95e83cdbbc4..e8bc0967ebf53 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/01_movements/01_filterMovements.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/01_movements/01_filterMovements.ts @@ -18,6 +18,7 @@ import { boOrdersViewBlockProductsPage, boProductsPage, boStockPage, + type BrowserContext, dataCategories, dataCustomers, dataOrderStatuses, @@ -29,13 +30,13 @@ import { foClassicCheckoutOrderConfirmationPage, foClassicHomePage, foClassicProductPage, + type Page, type ProductCombinationBulk, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_catalog_stocks_movements_filterMovements'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/01_movements/02_sortAndPagination.ts b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/01_movements/02_sortAndPagination.ts index 3cce4b779e982..0247817c31213 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/01_movements/02_sortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/01_movements/02_sortAndPagination.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import movementsPage from '@pages/BO/catalog/stocks/movements'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boStockPage, + type BrowserContext, dataProducts, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/01_simpleFilterStocks.ts b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/01_simpleFilterStocks.ts index 1188d3bf33ef0..f9eefda693870 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/01_simpleFilterStocks.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/01_simpleFilterStocks.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boStockPage, + type BrowserContext, dataProducts, dataSuppliers, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/02_sortAndPagination.ts b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/02_sortAndPagination.ts index bfffc7bcd1090..fc8aa9e41fa22 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/02_sortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/02_sortAndPagination.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boStockPage, + type BrowserContext, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/03_updateQuantity.ts b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/03_updateQuantity.ts index 107de388b69bf..4b3203815f632 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/03_updateQuantity.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/03_updateQuantity.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boStockPage, + type BrowserContext, dataProducts, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/04_bulkEditQuantity.ts b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/04_bulkEditQuantity.ts index a5cd7742ba4e3..3a0d99665ad49 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/04_bulkEditQuantity.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/04_bulkEditQuantity.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boStockPage, + type BrowserContext, dataProducts, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/05_filterStocksByStatus.ts b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/05_filterStocksByStatus.ts index 2149fa5c7206d..f98b59f944034 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/05_filterStocksByStatus.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/05_filterStocksByStatus.ts @@ -5,13 +5,14 @@ import testContext from '@utils/testContext'; import addProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boStockPage, + type BrowserContext, FakerProduct, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/06_displayProductsBelowLowStock.ts b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/06_displayProductsBelowLowStock.ts index 49c57d4180cc2..c1a72d3b6304a 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/06_displayProductsBelowLowStock.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/06_displayProductsBelowLowStock.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boStockPage, + type BrowserContext, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/07_filterStocksByCategories.ts b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/07_filterStocksByCategories.ts index 2581cca91fade..327fc5b6aac80 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/07_filterStocksByCategories.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/07_filterStocksByCategories.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import addProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boStockPage, + type BrowserContext, dataCategories, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/08_helpCard.ts b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/08_helpCard.ts index 8086767385793..a133d496705cc 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/08_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/08_stocks/08_helpCard.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boStockPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/01_customers/01_filterAndQuickEditCustomers.ts b/tests/UI/campaigns/functional/BO/04_customers/01_customers/01_filterAndQuickEditCustomers.ts index 44fc7d72c2ee7..d9f2258015f22 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/01_customers/01_filterAndQuickEditCustomers.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/01_customers/01_filterAndQuickEditCustomers.ts @@ -5,14 +5,15 @@ import { boCustomersPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataGroups, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customers_customers_filterAndQuickEditCustomers'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/01_customers/02_CRUDCustomer.ts b/tests/UI/campaigns/functional/BO/04_customers/01_customers/02_CRUDCustomer.ts index bab1dea52f080..c94d28df1efd7 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/01_customers/02_CRUDCustomer.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/01_customers/02_CRUDCustomer.ts @@ -10,14 +10,15 @@ import { boCustomersPage, boDashboardPage, boLoginPage, + type BrowserContext, FakerCustomer, foClassicHomePage, foClassicLoginPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customers_customers_CRUDCustomer'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/01_customers/03_customersBulkActions.ts b/tests/UI/campaigns/functional/BO/04_customers/01_customers/03_customersBulkActions.ts index 6aa8b513c0f6c..4f5bba158e704 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/01_customers/03_customersBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/01_customers/03_customersBulkActions.ts @@ -8,12 +8,13 @@ import { boCustomersPage, boDashboardPage, boLoginPage, + type BrowserContext, FakerCustomer, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customers_customers_customersBulkActions'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/01_customers/04_paginationAndSortCustomers.ts b/tests/UI/campaigns/functional/BO/04_customers/01_customers/04_paginationAndSortCustomers.ts index 737a0f1fb41d2..b822ed51f6da7 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/01_customers/04_paginationAndSortCustomers.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/01_customers/04_paginationAndSortCustomers.ts @@ -8,12 +8,13 @@ import {bulkDeleteCustomersTest} from '@commonTests/BO/customers/customer'; // Import data import ImportCustomers from '@data/import/customers'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boCustomersPage, boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/04_customers/01_customers/05_setRequiredFields.ts b/tests/UI/campaigns/functional/BO/04_customers/01_customers/05_setRequiredFields.ts index 6567b71114f61..ec1ce1f2ded17 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/01_customers/05_setRequiredFields.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/01_customers/05_setRequiredFields.ts @@ -6,13 +6,14 @@ import testContext from '@utils/testContext'; import {createAccountPage as foCreateAccountPage} from '@pages/FO/classic/myAccount/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boCustomersPage, boDashboardPage, boLoginPage, + type BrowserContext, foClassicHomePage, foClassicLoginPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/01_customers/06_exportCustomers.ts b/tests/UI/campaigns/functional/BO/04_customers/01_customers/06_exportCustomers.ts index 6fd367b9713ca..79e75bbaf54f0 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/01_customers/06_exportCustomers.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/01_customers/06_exportCustomers.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boCustomersPage, boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/01_customers/07_helpCard.ts b/tests/UI/campaigns/functional/BO/04_customers/01_customers/07_helpCard.ts index 1dfdc69fa341c..1bb9d6361cbbe 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/01_customers/07_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/01_customers/07_helpCard.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boCustomersPage, boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/01_customers/08_viewCustomer.ts b/tests/UI/campaigns/functional/BO/04_customers/01_customers/08_viewCustomer.ts index 869ced66da49d..5516b1de8998e 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/01_customers/08_viewCustomer.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/01_customers/08_viewCustomer.ts @@ -13,6 +13,7 @@ import { boCustomersPage, boDashboardPage, boLoginPage, + type BrowserContext, dataLanguages, dataOrderStatuses, dataPaymentMethods, @@ -24,12 +25,12 @@ import { foClassicCheckoutOrderConfirmationPage, foClassicHomePage, foClassicProductPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customers_customers_viewCustomer'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/01_customers/09_subscribeToNewsletter.ts b/tests/UI/campaigns/functional/BO/04_customers/01_customers/09_subscribeToNewsletter.ts index 37075a131394f..b3545a1760a5b 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/01_customers/09_subscribeToNewsletter.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/01_customers/09_subscribeToNewsletter.ts @@ -6,14 +6,15 @@ import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCustomers, dataModules, modPsEmailSubscriptionBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customers_customers_subscribeToNewsletter'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/01_customers/10_viewEditVoucher.ts b/tests/UI/campaigns/functional/BO/04_customers/01_customers/10_viewEditVoucher.ts index cde337c25e9bf..dd322588704a2 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/01_customers/10_viewEditVoucher.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/01_customers/10_viewEditVoucher.ts @@ -12,13 +12,14 @@ import { boCustomersPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, FakerCartRule, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customers_customers_viewEditVoucher'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/01_customers/11_transformGuestToCustomer.ts b/tests/UI/campaigns/functional/BO/04_customers/01_customers/11_transformGuestToCustomer.ts index 834a8ff9cb14a..3e0e817339b97 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/01_customers/11_transformGuestToCustomer.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/01_customers/11_transformGuestToCustomer.ts @@ -13,6 +13,7 @@ import { boCustomersPage, boDashboardPage, boLoginPage, + type BrowserContext, dataPaymentMethods, dataProducts, FakerAddress, @@ -20,12 +21,12 @@ import { FakerOrder, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext = 'functional_BO_customers_customers_transformGuestToCustomer'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/02_addresses/01_filterAddresses.ts b/tests/UI/campaigns/functional/BO/04_customers/02_addresses/01_filterAddresses.ts index f444181fa4c79..b31b7b977740d 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/02_addresses/01_filterAddresses.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/02_addresses/01_filterAddresses.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import addressesPage from '@pages/BO/customers/addresses'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataAddresses, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/02_addresses/02_CRUDAddressInBO.ts b/tests/UI/campaigns/functional/BO/04_customers/02_addresses/02_CRUDAddressInBO.ts index 9bb8d41c29585..e595af7bdbd44 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/02_addresses/02_CRUDAddressInBO.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/02_addresses/02_CRUDAddressInBO.ts @@ -8,12 +8,13 @@ import addAddressPage from '@pages/BO/customers/addresses/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerAddress, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customers_addresses_CRUDAddressInBO'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/02_addresses/03_addressesBulkActions.ts b/tests/UI/campaigns/functional/BO/04_customers/02_addresses/03_addressesBulkActions.ts index 068616a648baf..75987ddfacb66 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/02_addresses/03_addressesBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/02_addresses/03_addressesBulkActions.ts @@ -8,12 +8,13 @@ import addAddressPage from '@pages/BO/customers/addresses/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerAddress, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customers_addresses_addressesBulkActions'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/02_addresses/04_paginationAndSortAddresses.ts b/tests/UI/campaigns/functional/BO/04_customers/02_addresses/04_paginationAndSortAddresses.ts index a3212a2c74109..c536bd96034cc 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/02_addresses/04_paginationAndSortAddresses.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/02_addresses/04_paginationAndSortAddresses.ts @@ -12,10 +12,11 @@ import addressesPage from '@pages/BO/customers/addresses'; import ImportAddresses from '@data/import/addresses'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/04_customers/02_addresses/05_helpCard.ts b/tests/UI/campaigns/functional/BO/04_customers/02_addresses/05_helpCard.ts index 4ef6cece17d89..65651d4226a64 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/02_addresses/05_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/02_addresses/05_helpCard.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import addressesPage from '@pages/BO/customers/addresses'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/02_addresses/06_setRequiredFields.ts b/tests/UI/campaigns/functional/BO/04_customers/02_addresses/06_setRequiredFields.ts index 32fe08edc7471..90bcbcb7125d9 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/02_addresses/06_setRequiredFields.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/02_addresses/06_setRequiredFields.ts @@ -11,16 +11,17 @@ import {addAddressPage} from '@pages/FO/classic/myAccount/addAddress'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, FakerAddress, foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customers_addresses_setRequiredFields'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/01_helpCard.ts b/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/01_helpCard.ts index 2a411d75a710b..8597f1eb696f2 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/01_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/01_helpCard.ts @@ -8,10 +8,11 @@ import {disableB2BTest, enableB2BTest} from '@commonTests/BO/shopParameters/b2b' import outstandingPage from '@pages/BO/customers/outstanding'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/02_viewOrder.ts b/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/02_viewOrder.ts index 5d21b52cb4458..f300ded6016a5 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/02_viewOrder.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/02_viewOrder.ts @@ -13,16 +13,17 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerOrder, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customers_outstanding_viewOrder'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/03_viewInvoice.ts b/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/03_viewInvoice.ts index 6446cf1ef679d..0317175a2816e 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/03_viewInvoice.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/03_viewInvoice.ts @@ -12,17 +12,18 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerOrder, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customers_outstanding_viewInvoice'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/04_pagination.ts b/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/04_pagination.ts index fece8fc731162..2cf4defc7cbdd 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/04_pagination.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/04_pagination.ts @@ -12,16 +12,17 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerOrder, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customers_outstanding_pagination'; diff --git a/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/05_sortFilterOutstanding.ts b/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/05_sortFilterOutstanding.ts index 18b6fd86c16ec..73490a0337582 100644 --- a/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/05_sortFilterOutstanding.ts +++ b/tests/UI/campaigns/functional/BO/04_customers/03_outstanding/05_sortFilterOutstanding.ts @@ -14,19 +14,20 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataOrderStatuses, dataPaymentMethods, dataProducts, FakerAddress, FakerCustomer, FakerOrder, + type Page, utilsCore, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customers_outstanding_sortFilterOutstanding'; diff --git a/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/01_viewMessage.ts b/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/01_viewMessage.ts index 5d91f465b6ce4..759c8d66a9286 100644 --- a/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/01_viewMessage.ts +++ b/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/01_viewMessage.ts @@ -7,13 +7,14 @@ import customerServicePage from '@pages/BO/customerService/customerService'; import viewPage from '@pages/BO/customerService/customerService/view'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerContactMessage, foClassicContactUsPage, foClassicHomePage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/02_changeStatus.ts b/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/02_changeStatus.ts index 8c642326a1e6f..29e42a7c19c0f 100644 --- a/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/02_changeStatus.ts +++ b/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/02_changeStatus.ts @@ -9,18 +9,19 @@ import viewPage from '@pages/BO/customerService/customerService/view'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataEmployees, FakerContactMessage, foClassicContactUsPage, foClassicHomePage, foClassicLoginPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customerService_customerService_changeStatus'; diff --git a/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/03_respondToMessage.ts b/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/03_respondToMessage.ts index 37fc623175203..afdb862617e50 100644 --- a/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/03_respondToMessage.ts +++ b/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/03_respondToMessage.ts @@ -10,15 +10,16 @@ import customerServicePage from '@pages/BO/customerService/customerService'; import viewPage from '@pages/BO/customerService/customerService/view'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerContactMessage, foClassicContactUsPage, foClassicHomePage, type MailDev, type MailDevEmail, + type Page, utilsFile, utilsMail, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/04_contactOptions.ts b/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/04_contactOptions.ts index 136399fba9021..95124ecc46900 100644 --- a/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/04_contactOptions.ts +++ b/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/04_contactOptions.ts @@ -6,13 +6,14 @@ import customerServicePage from '@pages/BO/customerService/customerService'; import viewPage from '@pages/BO/customerService/customerService/view'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerContactMessage, foClassicContactUsPage, foClassicHomePage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/05_customerServiceOptions.ts b/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/05_customerServiceOptions.ts index e342000cf4c74..1eda0f985bbbe 100644 --- a/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/05_customerServiceOptions.ts +++ b/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/05_customerServiceOptions.ts @@ -4,12 +4,13 @@ import testContext from '@utils/testContext'; // Import pages import customerServicePage from '@pages/BO/customerService/customerService'; -import {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCustomerServiceOptions, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/06_forwardMessage.ts b/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/06_forwardMessage.ts index f355c2a2c3b71..3f9758b179624 100644 --- a/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/06_forwardMessage.ts +++ b/tests/UI/campaigns/functional/BO/05_customerService/01_customerService/06_forwardMessage.ts @@ -16,6 +16,7 @@ import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, @@ -30,13 +31,13 @@ import { foClassicMyAccountPage, type MailDev, type MailDevEmail, + type Page, utilsFile, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customerService_customerService_forwardMessage'; diff --git a/tests/UI/campaigns/functional/BO/05_customerService/02_orderMessages/01_CRUDOrderMessage.ts b/tests/UI/campaigns/functional/BO/05_customerService/02_orderMessages/01_CRUDOrderMessage.ts index 7382ffd85b08c..8925bbe45fa6d 100644 --- a/tests/UI/campaigns/functional/BO/05_customerService/02_orderMessages/01_CRUDOrderMessage.ts +++ b/tests/UI/campaigns/functional/BO/05_customerService/02_orderMessages/01_CRUDOrderMessage.ts @@ -6,11 +6,12 @@ import orderMessagesPage from '@pages/BO/customerService/orderMessages'; import addOrderMessagePage from '@pages/BO/customerService/orderMessages/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerOrderMessage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/05_customerService/02_orderMessages/02_filterAndBulkDeleteOrderMessages.ts b/tests/UI/campaigns/functional/BO/05_customerService/02_orderMessages/02_filterAndBulkDeleteOrderMessages.ts index 7c5ce52b3fed2..f6ba9e1383348 100644 --- a/tests/UI/campaigns/functional/BO/05_customerService/02_orderMessages/02_filterAndBulkDeleteOrderMessages.ts +++ b/tests/UI/campaigns/functional/BO/05_customerService/02_orderMessages/02_filterAndBulkDeleteOrderMessages.ts @@ -6,11 +6,12 @@ import orderMessagesPage from '@pages/BO/customerService/orderMessages'; import addOrderMessagePage from '@pages/BO/customerService/orderMessages/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerOrderMessage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/05_customerService/02_orderMessages/03_paginationAndSortOrderMessages.ts b/tests/UI/campaigns/functional/BO/05_customerService/02_orderMessages/03_paginationAndSortOrderMessages.ts index c2bd6511deb0a..21f2b036f05b4 100644 --- a/tests/UI/campaigns/functional/BO/05_customerService/02_orderMessages/03_paginationAndSortOrderMessages.ts +++ b/tests/UI/campaigns/functional/BO/05_customerService/02_orderMessages/03_paginationAndSortOrderMessages.ts @@ -6,11 +6,12 @@ import orderMessagesPage from '@pages/BO/customerService/orderMessages'; import addOrderMessagePage from '@pages/BO/customerService/orderMessages/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerOrderMessage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/05_customerService/03_merchandiseReturns/01_merchandiseReturnOptions.ts b/tests/UI/campaigns/functional/BO/05_customerService/03_merchandiseReturns/01_merchandiseReturnOptions.ts index 7586ca0c43bce..4ca8f4d38b582 100644 --- a/tests/UI/campaigns/functional/BO/05_customerService/03_merchandiseReturns/01_merchandiseReturnOptions.ts +++ b/tests/UI/campaigns/functional/BO/05_customerService/03_merchandiseReturns/01_merchandiseReturnOptions.ts @@ -14,6 +14,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -24,11 +25,11 @@ import { foClassicLoginPage, foClassicMyAccountPage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customerService_merchandiseReturns_merchandiseReturnOptions'; diff --git a/tests/UI/campaigns/functional/BO/05_customerService/03_merchandiseReturns/02_deleteProduct.ts b/tests/UI/campaigns/functional/BO/05_customerService/03_merchandiseReturns/02_deleteProduct.ts index d4e687acda58d..f3eba7fbb6913 100644 --- a/tests/UI/campaigns/functional/BO/05_customerService/03_merchandiseReturns/02_deleteProduct.ts +++ b/tests/UI/campaigns/functional/BO/05_customerService/03_merchandiseReturns/02_deleteProduct.ts @@ -16,6 +16,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -26,11 +27,11 @@ import { foClassicLoginPage, foClassicModalQuickViewPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customerService_merchandiseReturns_deleteProduct'; diff --git a/tests/UI/campaigns/functional/BO/05_customerService/03_merchandiseReturns/03_updateStatus.ts b/tests/UI/campaigns/functional/BO/05_customerService/03_merchandiseReturns/03_updateStatus.ts index 3034a24714475..702e942540870 100644 --- a/tests/UI/campaigns/functional/BO/05_customerService/03_merchandiseReturns/03_updateStatus.ts +++ b/tests/UI/campaigns/functional/BO/05_customerService/03_merchandiseReturns/03_updateStatus.ts @@ -20,6 +20,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataAddresses, dataCustomers, dataOrderReturnStatuses, @@ -32,6 +33,7 @@ import { foClassicMyAccountPage, type MailDev, type MailDevEmail, + type Page, utilsDate, utilsFile, utilsMail, @@ -39,7 +41,6 @@ import { } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_customerService_merchandiseReturns_updateStatus'; diff --git a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/01_filterModulesByStatus.ts b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/01_filterModulesByStatus.ts index 7192a5d30bc78..d46c7daa8f1ee 100644 --- a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/01_filterModulesByStatus.ts +++ b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/01_filterModulesByStatus.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/02_filterModulesByCategories.ts b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/02_filterModulesByCategories.ts index 91fdd72ec67bd..7cc19932ec84c 100644 --- a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/02_filterModulesByCategories.ts +++ b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/02_filterModulesByCategories.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModuleCategories, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/03_searchModule.ts b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/03_searchModule.ts index 1f1c59487d063..85b4446264d8d 100644 --- a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/03_searchModule.ts +++ b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/03_searchModule.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/04_enableDisableModule.ts b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/04_enableDisableModule.ts index 84c92c24e043e..9b3b788cf1aa4 100644 --- a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/04_enableDisableModule.ts +++ b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/04_enableDisableModule.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/05_resetModule.ts b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/05_resetModule.ts index 9a9eb31d9e171..3c6c2d635a8da 100644 --- a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/05_resetModule.ts +++ b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/05_resetModule.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/06_installUninstallModule.ts b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/06_installUninstallModule.ts index 573497582e4dc..daa614e152c92 100644 --- a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/06_installUninstallModule.ts +++ b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/06_installUninstallModule.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/07_bulkActions.ts b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/07_bulkActions.ts index c0ddcb9253790..aaf19e47d24be 100644 --- a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/07_bulkActions.ts +++ b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/07_bulkActions.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/08_uploadModule.ts b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/08_uploadModule.ts index 413c49a220f37..ced08e6776c0d 100644 --- a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/08_uploadModule.ts +++ b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/08_uploadModule.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/09_configureModule.ts b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/09_configureModule.ts index aa34638b50c91..6f818fcb7eca5 100644 --- a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/09_configureModule.ts +++ b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/01_modules/09_configureModule.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import {moduleConfigurationPage} from '@pages/BO/modules/moduleConfiguration'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/02_alerts/02_resetModule.ts b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/02_alerts/02_resetModule.ts index 618cbc91fc4f8..173d07ff0de36 100644 --- a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/02_alerts/02_resetModule.ts +++ b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/02_alerts/02_resetModule.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boModuleManagerAlertsPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/02_alerts/03_installUninstallModule.ts b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/02_alerts/03_installUninstallModule.ts index 7308fae23a381..4320b62562611 100644 --- a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/02_alerts/03_installUninstallModule.ts +++ b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/02_alerts/03_installUninstallModule.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boModuleManagerAlertsPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/02_alerts/05_configureModule.ts b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/02_alerts/05_configureModule.ts index 2272830911cdb..87a17ecd0989b 100644 --- a/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/02_alerts/05_configureModule.ts +++ b/tests/UI/campaigns/functional/BO/07_modules/01_moduleManager/02_alerts/05_configureModule.ts @@ -5,13 +5,14 @@ import testContext from '@utils/testContext'; import {moduleConfigurationPage} from '@pages/BO/modules/moduleConfiguration'; import {expect} from 'chai'; -import {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boModuleManagerAlertsPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/01_themeAndLogo/01_addNewTheme.ts b/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/01_themeAndLogo/01_addNewTheme.ts index 791e54f9c1c9d..ed7ceae67d6d5 100644 --- a/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/01_themeAndLogo/01_addNewTheme.ts +++ b/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/01_themeAndLogo/01_addNewTheme.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boThemeAndLogoPage, boThemeAndLogoImportPage, + type BrowserContext, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/01_themeAndLogo/02_exportCurrentTheme.ts b/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/01_themeAndLogo/02_exportCurrentTheme.ts index b90dec18d376c..9edf44a358293 100644 --- a/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/01_themeAndLogo/02_exportCurrentTheme.ts +++ b/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/01_themeAndLogo/02_exportCurrentTheme.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boThemeAndLogoPage, + type BrowserContext, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/02_pagesConfiguration/01_enableDisableModule.ts b/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/02_pagesConfiguration/01_enableDisableModule.ts index ca7956191d998..a52b339477cd9 100644 --- a/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/02_pagesConfiguration/01_enableDisableModule.ts +++ b/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/02_pagesConfiguration/01_enableDisableModule.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boThemeAndLogoPage, boThemePagesConfigurationPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/02_pagesConfiguration/02_resetModule.ts b/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/02_pagesConfiguration/02_resetModule.ts index 5db0b132392dd..f772c688188f7 100644 --- a/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/02_pagesConfiguration/02_resetModule.ts +++ b/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/02_pagesConfiguration/02_resetModule.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boThemeAndLogoPage, boThemePagesConfigurationPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/02_pagesConfiguration/03_installUninstallModule.ts b/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/02_pagesConfiguration/03_installUninstallModule.ts index 8d3e68b55b232..baa0f28ba9de3 100644 --- a/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/02_pagesConfiguration/03_installUninstallModule.ts +++ b/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/02_pagesConfiguration/03_installUninstallModule.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boThemeAndLogoPage, boThemePagesConfigurationPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/03_advancedCustomization/01_advancedCustomization.ts b/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/03_advancedCustomization/01_advancedCustomization.ts index 26a37873f9b45..d3dcac9434957 100644 --- a/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/03_advancedCustomization/01_advancedCustomization.ts +++ b/tests/UI/campaigns/functional/BO/08_design/01_themeAndLogo/03_advancedCustomization/01_advancedCustomization.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boThemeAndLogoPage, boThemeAdvancedConfigurationPage, + type BrowserContext, dataModules, foClassicHomePage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/01_previewEmailThemes.ts b/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/01_previewEmailThemes.ts index d73d19e1c535f..bbe68d1db7800 100644 --- a/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/01_previewEmailThemes.ts +++ b/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/01_previewEmailThemes.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boDesignEmailThemesPage, boDesignEmailThemesPreviewPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/02_selectDefaultEmailTheme.ts b/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/02_selectDefaultEmailTheme.ts index d94c2a304fbd0..3e8726f8f0e61 100644 --- a/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/02_selectDefaultEmailTheme.ts +++ b/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/02_selectDefaultEmailTheme.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boDesignEmailThemesPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/03_backToConfigurationLink.ts b/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/03_backToConfigurationLink.ts index f52113d837c9c..0183d67124355 100644 --- a/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/03_backToConfigurationLink.ts +++ b/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/03_backToConfigurationLink.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boDesignEmailThemesPage, boDesignEmailThemesPreviewPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/04_configurationOfTheWholePage.ts b/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/04_configurationOfTheWholePage.ts index e1350d43646cd..00aef9b2b4426 100644 --- a/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/04_configurationOfTheWholePage.ts +++ b/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/04_configurationOfTheWholePage.ts @@ -5,7 +5,6 @@ import testContext from '@utils/testContext'; import {setupSmtpConfigTest, resetSmtpConfigTest} from '@commonTests/BO/advancedParameters/smtp'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boDesignEmailThemesPage, @@ -13,8 +12,10 @@ import { boLoginPage, boMyProfilePage, boTranslationsPage, + type BrowserContext, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/05_viewRawHtmlAndText.ts b/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/05_viewRawHtmlAndText.ts index ef0417f6527c3..4403d844540cf 100644 --- a/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/05_viewRawHtmlAndText.ts +++ b/tests/UI/campaigns/functional/BO/08_design/03_emailTheme/05_viewRawHtmlAndText.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boDesignEmailThemesPage, boDesignEmailThemesPreviewPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/04_pages/01_CRUDPageCategory.ts b/tests/UI/campaigns/functional/BO/08_design/04_pages/01_CRUDPageCategory.ts index 17211e887b12d..7ec4943c5756a 100644 --- a/tests/UI/campaigns/functional/BO/08_design/04_pages/01_CRUDPageCategory.ts +++ b/tests/UI/campaigns/functional/BO/08_design/04_pages/01_CRUDPageCategory.ts @@ -11,13 +11,14 @@ import cmsPage from '@pages/FO/classic/cms'; import {siteMapPage} from '@pages/FO/classic/siteMap'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCMSCategory, FakerCMSPage, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/04_pages/02_helpCard.ts b/tests/UI/campaigns/functional/BO/08_design/04_pages/02_helpCard.ts index 43f148d1344b6..306c59bf9497b 100644 --- a/tests/UI/campaigns/functional/BO/08_design/04_pages/02_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/08_design/04_pages/02_helpCard.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import pagesPage from '@pages/BO/design/pages'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/04_pages/categories/01_filterAndQuickEditCategories.ts b/tests/UI/campaigns/functional/BO/08_design/04_pages/categories/01_filterAndQuickEditCategories.ts index e67b97844b446..8ad2eb3581ffd 100644 --- a/tests/UI/campaigns/functional/BO/08_design/04_pages/categories/01_filterAndQuickEditCategories.ts +++ b/tests/UI/campaigns/functional/BO/08_design/04_pages/categories/01_filterAndQuickEditCategories.ts @@ -6,11 +6,12 @@ import pagesPage from '@pages/BO/design/pages'; import addPageCategoryPage from '@pages/BO/design/pages/pageCategory/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCMSCategory, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/04_pages/categories/02_categoriesBulkActions.ts b/tests/UI/campaigns/functional/BO/08_design/04_pages/categories/02_categoriesBulkActions.ts index ce640d4fd6570..b2d1f5bdfc147 100644 --- a/tests/UI/campaigns/functional/BO/08_design/04_pages/categories/02_categoriesBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/08_design/04_pages/categories/02_categoriesBulkActions.ts @@ -6,11 +6,12 @@ import pagesPage from '@pages/BO/design/pages'; import addPageCategoryPage from '@pages/BO/design/pages/pageCategory/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCMSCategory, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/04_pages/categories/03_paginationAndSortCategories.ts b/tests/UI/campaigns/functional/BO/08_design/04_pages/categories/03_paginationAndSortCategories.ts index 740fbcb9ecb16..1dadc7ce602ef 100644 --- a/tests/UI/campaigns/functional/BO/08_design/04_pages/categories/03_paginationAndSortCategories.ts +++ b/tests/UI/campaigns/functional/BO/08_design/04_pages/categories/03_paginationAndSortCategories.ts @@ -6,11 +6,12 @@ import pagesPage from '@pages/BO/design/pages'; import addPageCategoryPage from '@pages/BO/design/pages/pageCategory/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCMSCategory, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/01_filterAndQuickEditPages.ts b/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/01_filterAndQuickEditPages.ts index bb4af3b36cc97..7df24fd100889 100644 --- a/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/01_filterAndQuickEditPages.ts +++ b/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/01_filterAndQuickEditPages.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import pagesPage from '@pages/BO/design/pages'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCMSPages, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/02_pagesBulkActions.ts b/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/02_pagesBulkActions.ts index 29057f0e4fae0..280dae0355df5 100644 --- a/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/02_pagesBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/02_pagesBulkActions.ts @@ -6,11 +6,12 @@ import addPagePage from '@pages/BO/design/pages/add'; import pagesPage from '@pages/BO/design/pages'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCMSPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/03_pagination.ts b/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/03_pagination.ts index ffb5453e8f3df..23c515156079e 100644 --- a/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/03_pagination.ts +++ b/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/03_pagination.ts @@ -6,11 +6,12 @@ import pagesPage from '@pages/BO/design/pages'; import addPagePage from '@pages/BO/design/pages/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCMSPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/04_sortPages.ts b/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/04_sortPages.ts index 354f55a4bbcab..3e8aa7ca24d22 100644 --- a/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/04_sortPages.ts +++ b/tests/UI/campaigns/functional/BO/08_design/04_pages/pages/04_sortPages.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import pagesPage from '@pages/BO/design/pages'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/05_positions/02_filterModule.ts b/tests/UI/campaigns/functional/BO/08_design/05_positions/02_filterModule.ts index 0dec7aac9f6bf..e0efe01938589 100644 --- a/tests/UI/campaigns/functional/BO/08_design/05_positions/02_filterModule.ts +++ b/tests/UI/campaigns/functional/BO/08_design/05_positions/02_filterModule.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import positionsPage from '@pages/BO/design/positions'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/05_positions/03_searchHook.ts b/tests/UI/campaigns/functional/BO/08_design/05_positions/03_searchHook.ts index 977d59e572341..2984b16bfea1b 100644 --- a/tests/UI/campaigns/functional/BO/08_design/05_positions/03_searchHook.ts +++ b/tests/UI/campaigns/functional/BO/08_design/05_positions/03_searchHook.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import positionsPage from '@pages/BO/design/positions'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/05_positions/05_unhookModuleInListByBulkActions.ts b/tests/UI/campaigns/functional/BO/08_design/05_positions/05_unhookModuleInListByBulkActions.ts index bccff38d0f806..58ab590815c5d 100644 --- a/tests/UI/campaigns/functional/BO/08_design/05_positions/05_unhookModuleInListByBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/08_design/05_positions/05_unhookModuleInListByBulkActions.ts @@ -10,11 +10,12 @@ import positionsPage from '@pages/BO/design/positions'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_design_positions_unhookModuleInListByBulkActions'; diff --git a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/01_filterImageTypes.ts b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/01_filterImageTypes.ts index b658af74eafe9..8391268817be5 100644 --- a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/01_filterImageTypes.ts +++ b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/01_filterImageTypes.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import imageSettingsPage from '@pages/BO/design/imageSettings'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataImageTypes, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/02_CRUDImageType.ts b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/02_CRUDImageType.ts index 68e6865fb7f11..7d4c7e726e7a9 100644 --- a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/02_CRUDImageType.ts +++ b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/02_CRUDImageType.ts @@ -6,11 +6,12 @@ import imageSettingsPage from '@pages/BO/design/imageSettings'; import addImageTypePage from '@pages/BO/design/imageSettings/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerImageType, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/03_bulkDeleteImageTypes.ts b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/03_bulkDeleteImageTypes.ts index b46f9990222ba..e18b513a2794e 100644 --- a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/03_bulkDeleteImageTypes.ts +++ b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/03_bulkDeleteImageTypes.ts @@ -6,11 +6,12 @@ import imageSettingsPage from '@pages/BO/design/imageSettings'; import addImageTypePage from '@pages/BO/design/imageSettings/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerImageType, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/05_sortAndPagination.ts b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/05_sortAndPagination.ts index 90a158fe4e25d..7ae305209286d 100644 --- a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/05_sortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/05_sortAndPagination.ts @@ -5,11 +5,12 @@ import imageSettingsPage from '@pages/BO/design/imageSettings'; import addImageTypePage from '@pages/BO/design/imageSettings/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerImageType, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/06_deleteActions.ts b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/06_deleteActions.ts index bc1025cb77e98..f97d952d8ed00 100644 --- a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/06_deleteActions.ts +++ b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/06_deleteActions.ts @@ -6,12 +6,13 @@ import imageSettingsPage from '@pages/BO/design/imageSettings'; import addImageTypePage from '@pages/BO/design/imageSettings/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataProducts, FakerImageType, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/09_imageGenerationOptions.ts b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/09_imageGenerationOptions.ts index b451796bfe9a8..628f11822224d 100644 --- a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/09_imageGenerationOptions.ts +++ b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/09_imageGenerationOptions.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import imageSettingsPage from '@pages/BO/design/imageSettings'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/10_regenerateThumbnails.ts b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/10_regenerateThumbnails.ts index f4c09c2d18338..49067abe319af 100644 --- a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/10_regenerateThumbnails.ts +++ b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/10_regenerateThumbnails.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import imageSettingsPage from '@pages/BO/design/imageSettings'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, type ImageTypeRegenerationSpecific, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/11_imageGenerationOnCreation.ts b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/11_imageGenerationOnCreation.ts index d3495c2c0c6e4..0eecd756d72fa 100644 --- a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/11_imageGenerationOnCreation.ts +++ b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/11_imageGenerationOnCreation.ts @@ -8,13 +8,14 @@ import createProductsPage from '@pages/BO/catalog/products/add'; import imageSettingsPage from '@pages/BO/design/imageSettings'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerCategory, FakerProduct, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/13_checkProductImageFormat.ts b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/13_checkProductImageFormat.ts index 527ca6064b633..be9bdf082f9b3 100644 --- a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/13_checkProductImageFormat.ts +++ b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/13_checkProductImageFormat.ts @@ -9,16 +9,17 @@ import createProductsPage from '@pages/BO/catalog/products/add'; import imageSettingsPage from '@pages/BO/design/imageSettings'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, + type BrowserContext, FakerProduct, foClassicCategoryPage, foClassicHomePage, foClassicModalQuickViewPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/14_checkCategoryImageFormat.ts b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/14_checkCategoryImageFormat.ts index d8d717187f7f8..de85c8af74db2 100644 --- a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/14_checkCategoryImageFormat.ts +++ b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/14_checkCategoryImageFormat.ts @@ -10,13 +10,14 @@ import addCategoryPage from '@pages/BO/catalog/categories/add'; import imageSettingsPage from '@pages/BO/design/imageSettings'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerCategory, foClassicCategoryPage, foClassicHomePage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/15_checkStoreImageFormat.ts b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/15_checkStoreImageFormat.ts index 35b74d8315cd2..54c26196d6532 100644 --- a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/15_checkStoreImageFormat.ts +++ b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/15_checkStoreImageFormat.ts @@ -10,12 +10,13 @@ import createStoresPage from '@pages/BO/shopParameters/stores/add'; import {storesPage as storePage} from '@pages/FO/classic/stores'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerStore, foClassicHomePage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/16_checkBaseImageFormat.ts b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/16_checkBaseImageFormat.ts index 0026f2725e6c8..634ecce65f2ac 100644 --- a/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/16_checkBaseImageFormat.ts +++ b/tests/UI/campaigns/functional/BO/08_design/06_imageSettings/16_checkBaseImageFormat.ts @@ -9,13 +9,14 @@ import createProductsPage from '@pages/BO/catalog/products/add'; import imageSettingsPage from '@pages/BO/design/imageSettings'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, + type BrowserContext, FakerProduct, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/07_linkWidget/01_createAndCheckFooterLinkWidget.ts b/tests/UI/campaigns/functional/BO/08_design/07_linkWidget/01_createAndCheckFooterLinkWidget.ts index 1063bcad413ef..68116e7d22d86 100644 --- a/tests/UI/campaigns/functional/BO/08_design/07_linkWidget/01_createAndCheckFooterLinkWidget.ts +++ b/tests/UI/campaigns/functional/BO/08_design/07_linkWidget/01_createAndCheckFooterLinkWidget.ts @@ -7,14 +7,15 @@ import linkWidgetsPage from '@pages/BO/design/linkWidgets'; import addLinkWidgetPage from '@pages/BO/design/linkWidgets/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataHooks, dataLinkWidgets, foClassicHomePage, type LinkWidgetPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/08_design/07_linkWidget/04_sortLinkList.ts b/tests/UI/campaigns/functional/BO/08_design/07_linkWidget/04_sortLinkList.ts index 40a8c9d1b7403..36c68f8e86450 100644 --- a/tests/UI/campaigns/functional/BO/08_design/07_linkWidget/04_sortLinkList.ts +++ b/tests/UI/campaigns/functional/BO/08_design/07_linkWidget/04_sortLinkList.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import linkWidgetsPage from '@pages/BO/design/linkWidgets'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataHooks, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/01_CRUDCarrier.ts b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/01_CRUDCarrier.ts index 8ef808b94215b..af61778af2c83 100644 --- a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/01_CRUDCarrier.ts +++ b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/01_CRUDCarrier.ts @@ -5,6 +5,7 @@ import { boCarriersPage, boCarriersCreatePage, boLoginPage, + type BrowserContext, dataCustomers, dataZones, FakerCarrier, @@ -14,12 +15,12 @@ import { foClassicHomePage, foClassicLoginPage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shipping_carriers_CRUDCarrier'; diff --git a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/02_filterSortAndPagination.ts b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/02_filterSortAndPagination.ts index 4a8552c030cf8..44ee1dcc36dc7 100644 --- a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/02_filterSortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/02_filterSortAndPagination.ts @@ -6,15 +6,16 @@ import { boCarriersCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, dataCarriers, FakerCarrier, + type Page, utilsCore, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shipping_carriers_filterSortAndPagination'; diff --git a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/03_quickEditAndBulkActions.ts b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/03_quickEditAndBulkActions.ts index 95745ff96b961..92e51858f9ff9 100644 --- a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/03_quickEditAndBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/03_quickEditAndBulkActions.ts @@ -2,12 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boCarriersPage, boCarriersCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, dataCarriers, dataCustomers, FakerCarrier, @@ -15,6 +15,7 @@ import { foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/04_quickEditStatusAndFreeShipping.ts b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/04_quickEditStatusAndFreeShipping.ts index c1b0f9c3a2245..7f7fbadf8e6d6 100644 --- a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/04_quickEditStatusAndFreeShipping.ts +++ b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/04_quickEditStatusAndFreeShipping.ts @@ -5,17 +5,18 @@ import { boCarriersPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCarriers, dataCustomers, foClassicCartPage, foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shipping_carriers_quickEditStatusAndFreeShipping'; diff --git a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/05_changePosition.ts b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/05_changePosition.ts index 9353ab83a2c15..29fc337a947da 100644 --- a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/05_changePosition.ts +++ b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/05_changePosition.ts @@ -5,19 +5,20 @@ import testContext from '@utils/testContext'; import preferencesPage from '@pages/BO/shipping/preferences'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // Import data import { boCarriersPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCarriers, dataCustomers, foClassicCartPage, foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/06_generalSettings.ts b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/06_generalSettings.ts index 293a72250da82..01342160b9fc0 100644 --- a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/06_generalSettings.ts +++ b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/06_generalSettings.ts @@ -2,7 +2,6 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // Import data import { @@ -10,6 +9,7 @@ import { boCarriersPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCarriers, dataCountries, dataCustomers, @@ -25,6 +25,7 @@ import { foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/07_shippingLocationsAndCosts.ts b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/07_shippingLocationsAndCosts.ts index 85e57cc6bf731..d8c696be83132 100644 --- a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/07_shippingLocationsAndCosts.ts +++ b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/07_shippingLocationsAndCosts.ts @@ -5,7 +5,6 @@ import testContext from '@utils/testContext'; import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // Import data import { @@ -15,6 +14,7 @@ import { boLoginPage, boProductsCreateTabShippingPage, boProductsPage, + type BrowserContext, dataCarriers, dataCustomers, dataProducts, @@ -26,6 +26,7 @@ import { foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/08_sizeAndWeight.ts b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/08_sizeAndWeight.ts index 296e10dec5b5d..150bcf7d2c9d0 100644 --- a/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/08_sizeAndWeight.ts +++ b/tests/UI/campaigns/functional/BO/09_shipping/01_carriers/08_sizeAndWeight.ts @@ -5,7 +5,6 @@ import testContext from '@utils/testContext'; import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // Import data import { @@ -15,6 +14,7 @@ import { boLoginPage, boProductsPage, boProductsCreateTabShippingPage, + type BrowserContext, dataCarriers, dataCustomers, dataProducts, @@ -26,6 +26,7 @@ import { foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/09_shipping/02_preferences/01_handling/01_handlingCharges.ts b/tests/UI/campaigns/functional/BO/09_shipping/02_preferences/01_handling/01_handlingCharges.ts index e315f6d3c0f40..7fd06d913c826 100644 --- a/tests/UI/campaigns/functional/BO/09_shipping/02_preferences/01_handling/01_handlingCharges.ts +++ b/tests/UI/campaigns/functional/BO/09_shipping/02_preferences/01_handling/01_handlingCharges.ts @@ -13,6 +13,7 @@ import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataGroups, FakerCarrier, @@ -21,12 +22,12 @@ import { foClassicHomePage, foClassicLoginPage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shipping_preferences_handling_handlingCharges'; diff --git a/tests/UI/campaigns/functional/BO/09_shipping/02_preferences/02_carrierOptions/01_defaultCarrier.ts b/tests/UI/campaigns/functional/BO/09_shipping/02_preferences/02_carrierOptions/01_defaultCarrier.ts index ee28c71d7dc4e..f20ceda118714 100644 --- a/tests/UI/campaigns/functional/BO/09_shipping/02_preferences/02_carrierOptions/01_defaultCarrier.ts +++ b/tests/UI/campaigns/functional/BO/09_shipping/02_preferences/02_carrierOptions/01_defaultCarrier.ts @@ -8,6 +8,7 @@ import preferencesPage from '@pages/BO/shipping/preferences'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCarriers, dataCustomers, FakerCarrier, @@ -15,11 +16,11 @@ import { foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shipping_preferences_carrierOptions_defaultCarrier'; diff --git a/tests/UI/campaigns/functional/BO/09_shipping/02_preferences/02_carrierOptions/02_updateCarriersSortOption.ts b/tests/UI/campaigns/functional/BO/09_shipping/02_preferences/02_carrierOptions/02_updateCarriersSortOption.ts index ce737098beecc..b860e58cee725 100644 --- a/tests/UI/campaigns/functional/BO/09_shipping/02_preferences/02_carrierOptions/02_updateCarriersSortOption.ts +++ b/tests/UI/campaigns/functional/BO/09_shipping/02_preferences/02_carrierOptions/02_updateCarriersSortOption.ts @@ -9,18 +9,19 @@ import { boCarriersPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCarriers, dataCustomers, foClassicCartPage, foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shipping_preferences_carrierOptions_updateCarriersSortOption'; diff --git a/tests/UI/campaigns/functional/BO/10_payment/01_paymentMethods/01_configureModuleLink.ts b/tests/UI/campaigns/functional/BO/10_payment/01_paymentMethods/01_configureModuleLink.ts index 0d465ff3cfb82..0698a85e41bde 100644 --- a/tests/UI/campaigns/functional/BO/10_payment/01_paymentMethods/01_configureModuleLink.ts +++ b/tests/UI/campaigns/functional/BO/10_payment/01_paymentMethods/01_configureModuleLink.ts @@ -12,14 +12,15 @@ import { boDashboardPage, boLoginPage, boPaymentMethodsPage, + type BrowserContext, dataModules, dataPaymentMethods, modPsWirepaymentBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_payment_paymentMethods_configureModuleLink'; diff --git a/tests/UI/campaigns/functional/BO/10_payment/02_preferences/01_currencyRestrictions.ts b/tests/UI/campaigns/functional/BO/10_payment/02_preferences/01_currencyRestrictions.ts index 3cff4ca6eefe6..85c170f7461c8 100644 --- a/tests/UI/campaigns/functional/BO/10_payment/02_preferences/01_currencyRestrictions.ts +++ b/tests/UI/campaigns/functional/BO/10_payment/02_preferences/01_currencyRestrictions.ts @@ -8,16 +8,17 @@ import preferencesPage from '@pages/BO/payment/preferences'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, foClassicCartPage, foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_payment_preferences_currencyRestrictions'; diff --git a/tests/UI/campaigns/functional/BO/10_payment/02_preferences/02_groupRestrictions.ts b/tests/UI/campaigns/functional/BO/10_payment/02_preferences/02_groupRestrictions.ts index 63aecb7a53e97..767f4bc730ab8 100644 --- a/tests/UI/campaigns/functional/BO/10_payment/02_preferences/02_groupRestrictions.ts +++ b/tests/UI/campaigns/functional/BO/10_payment/02_preferences/02_groupRestrictions.ts @@ -10,6 +10,7 @@ import { boCustomersPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, FakerAddress, FakerCustomer, @@ -17,11 +18,11 @@ import { foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_payment_preferences_groupRestrictions'; diff --git a/tests/UI/campaigns/functional/BO/10_payment/02_preferences/03_countryRestrictions.ts b/tests/UI/campaigns/functional/BO/10_payment/02_preferences/03_countryRestrictions.ts index bcbc69df6da96..6f20540d85dba 100644 --- a/tests/UI/campaigns/functional/BO/10_payment/02_preferences/03_countryRestrictions.ts +++ b/tests/UI/campaigns/functional/BO/10_payment/02_preferences/03_countryRestrictions.ts @@ -8,16 +8,17 @@ import preferencesPage from '@pages/BO/payment/preferences'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, foClassicCartPage, foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_payment_preferences_countryRestrictions'; diff --git a/tests/UI/campaigns/functional/BO/10_payment/02_preferences/04_carrierRestrictions.ts b/tests/UI/campaigns/functional/BO/10_payment/02_preferences/04_carrierRestrictions.ts index da7e0ce33e26d..90f0ed3d40196 100644 --- a/tests/UI/campaigns/functional/BO/10_payment/02_preferences/04_carrierRestrictions.ts +++ b/tests/UI/campaigns/functional/BO/10_payment/02_preferences/04_carrierRestrictions.ts @@ -8,17 +8,18 @@ import preferencesPage from '@pages/BO/payment/preferences'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, foClassicCartPage, foClassicCheckoutPage, foClassicHomePage, foClassicLoginPage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_payment_preferences_carrierRestrictions'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/01_importLocalizationPack.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/01_importLocalizationPack.ts index eb362125d2ab5..617d558587046 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/01_importLocalizationPack.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/01_importLocalizationPack.ts @@ -7,15 +7,16 @@ import { boLocalizationPage, boLoginPage, boCurrenciesPage, + type BrowserContext, dataCurrencies, dataLanguages, foClassicHomePage, type ImportContent, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_localization_localization_importLocalizationPack'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/02_defaultLanguage.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/02_defaultLanguage.ts index 242a976ea9894..ae3fcefc7802d 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/02_defaultLanguage.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/02_defaultLanguage.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataLanguages, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/04_defaultCountry.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/04_defaultCountry.ts index 071302631f421..c1a155ee2159e 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/04_defaultCountry.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/04_defaultCountry.ts @@ -9,12 +9,13 @@ import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataCountries, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_localization_localization_defaultCountry'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/05_updateDefaultLanguage.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/05_updateDefaultLanguage.ts index 51165d29b6a35..d208008c32202 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/05_updateDefaultLanguage.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/05_updateDefaultLanguage.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataLanguages, type ImportContent, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/06_helpButton.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/06_helpButton.ts index a2de97781dc69..a01294c11b811 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/06_helpButton.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/06_helpButton.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/07_defaultCurrency.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/07_defaultCurrency.ts index 40bea2486d5c6..3aefcf5099e87 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/07_defaultCurrency.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/01_localization/07_defaultCurrency.ts @@ -7,15 +7,16 @@ import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataCurrencies, dataLanguages, foClassicHomePage, type ImportContent, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_localization_localization_defaultCurrency'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/01_filterAndQuickEditLanguages.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/01_filterAndQuickEditLanguages.ts index c189138b6e012..bc771e7ca98f4 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/01_filterAndQuickEditLanguages.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/01_filterAndQuickEditLanguages.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLanguagesPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataLanguages, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/02_CRUDLanguage.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/02_CRUDLanguage.ts index fa13182b7e886..bda08b32d3d7e 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/02_CRUDLanguage.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/02_CRUDLanguage.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLanguagesPage, boLanguagesCreatePage, boLocalizationPage, boLoginPage, + type BrowserContext, FakerLanguage, foClassicHomePage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/03_bulkActionsLanguages.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/03_bulkActionsLanguages.ts index 7103c1b5625e7..12f5851cfd59a 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/03_bulkActionsLanguages.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/03_bulkActionsLanguages.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLanguagesPage, boLanguagesCreatePage, boLocalizationPage, boLoginPage, + type BrowserContext, FakerLanguage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/04_sortAndPagination.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/04_sortAndPagination.ts index a1e2139a31015..1f407a52951fb 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/04_sortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/04_sortAndPagination.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLanguagesPage, boLanguagesCreatePage, boLocalizationPage, boLoginPage, + type BrowserContext, dataLanguages, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/05_helpButton.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/05_helpButton.ts index 7226cb93674b6..69db0022d5fd7 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/05_helpButton.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/05_helpButton.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLanguagesPage, boLocalizationPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/01_createOfficialCurrency.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/01_createOfficialCurrency.ts index 0e09f64a762b9..ea818dd654b3a 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/01_createOfficialCurrency.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/01_createOfficialCurrency.ts @@ -8,13 +8,14 @@ import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataCurrencies, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_localization_currencies_createOfficialCurrency'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/02_createUnofficialCurrency.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/02_createUnofficialCurrency.ts index 1c3d46c49363d..0035c0476f1b9 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/02_createUnofficialCurrency.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/02_createUnofficialCurrency.ts @@ -8,13 +8,14 @@ import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataCurrencies, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_localization_currencies_createUnofficialCurrency'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/03_helpButton.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/03_helpButton.ts index 06610139da252..2760bd26bb461 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/03_helpButton.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/03_helpButton.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boCurrenciesPage, boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/04_updateExchangeRate.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/04_updateExchangeRate.ts index c163a84edad4e..9c55f4727e5f5 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/04_updateExchangeRate.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/04_updateExchangeRate.ts @@ -8,12 +8,13 @@ import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataCurrencies, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_localization_currencies_updateExchangeRate'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/05_filterSortAndPagination.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/05_filterSortAndPagination.ts index 42eccbab889c0..5ed9a48cfffd8 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/05_filterSortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/05_filterSortAndPagination.ts @@ -7,14 +7,15 @@ import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataCurrencies, type FakerCurrency, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_localization_currencies_filterSortAndPagination'; diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/06_editOfficialAndUnofficialCurrency.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/06_editOfficialAndUnofficialCurrency.ts index e4228c7ec3995..019dac18f9a49 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/06_editOfficialAndUnofficialCurrency.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/06_editOfficialAndUnofficialCurrency.ts @@ -8,14 +8,15 @@ import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataCurrencies, FakerCurrency, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect, use} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import chaiString from 'chai-string'; use(chaiString); diff --git a/tests/UI/campaigns/functional/BO/11_international/01_localization/04_geolocation/02_updateIpAddressWhitelist.ts b/tests/UI/campaigns/functional/BO/11_international/01_localization/04_geolocation/02_updateIpAddressWhitelist.ts index 8ea7aff8d2602..43f4be79fb5ef 100644 --- a/tests/UI/campaigns/functional/BO/11_international/01_localization/04_geolocation/02_updateIpAddressWhitelist.ts +++ b/tests/UI/campaigns/functional/BO/11_international/01_localization/04_geolocation/02_updateIpAddressWhitelist.ts @@ -6,12 +6,13 @@ import testContext from '@utils/testContext'; import geolocationPage from '@pages/BO/international/localization/geolocation'; import {expect} from 'chai'; -import {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, foClassicHomePage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/01_filterAndQuickEditZones.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/01_filterAndQuickEditZones.ts index 5ab8ce04f2467..fa233b68769b7 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/01_filterAndQuickEditZones.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/01_filterAndQuickEditZones.ts @@ -7,12 +7,13 @@ import zonesPage from '@pages/BO/international/locations'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataZones, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_locations_zones_filterAndQuickEditZones'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/02_CRUDZone.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/02_CRUDZone.ts index 2493a4a9d7a28..8280a44d86608 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/02_CRUDZone.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/02_CRUDZone.ts @@ -8,12 +8,13 @@ import addZonePage from '@pages/BO/international/locations/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerZone, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_locations_zones_CRUDZone'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/03_bulkActionsZones.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/03_bulkActionsZones.ts index df1e3d79cc8f3..69666cb13fdac 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/03_bulkActionsZones.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/03_bulkActionsZones.ts @@ -8,12 +8,13 @@ import addZonePage from '@pages/BO/international/locations/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerZone, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_locations_zones_bulkActionsZones'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/04_sortAndPagination.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/04_sortAndPagination.ts index c52fd006790f1..1f8d26c56f8e9 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/04_sortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/01_zones/04_sortAndPagination.ts @@ -8,13 +8,14 @@ import addZonePage from '@pages/BO/international/locations/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerZone, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_locations_zones_sortAndPagination'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/01_filterAndQuickEditCountries.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/01_filterAndQuickEditCountries.ts index d7899f2202d62..45eeb4b5fd634 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/01_filterAndQuickEditCountries.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/01_filterAndQuickEditCountries.ts @@ -8,12 +8,13 @@ import { boCountriesPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCountries, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_locations_countries_filterAndQuickEditCountries'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/02_CRUDCountry.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/02_CRUDCountry.ts index 986bb4e8ee513..a4685c6981009 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/02_CRUDCountry.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/02_CRUDCountry.ts @@ -13,16 +13,17 @@ import { boCountriesCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, FakerCountry, foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_locations_countries_CRUDCountry'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/03_bulkActionsCountries.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/03_bulkActionsCountries.ts index 746989271e72f..dc6e820c8feb2 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/03_bulkActionsCountries.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/03_bulkActionsCountries.ts @@ -9,12 +9,13 @@ import { boCountriesCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerCountry, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_locations_countries_bulkActionsCountries'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/04_sortAndPagination.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/04_sortAndPagination.ts index 825fbc1a27e89..0226e11d44157 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/04_sortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/04_sortAndPagination.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import zonesPage from '@pages/BO/international/locations'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boCountriesPage, boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/05_countriesRestrictions.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/05_countriesRestrictions.ts index 88796533db2c4..7095dad3ebfb2 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/05_countriesRestrictions.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/05_countriesRestrictions.ts @@ -12,16 +12,17 @@ import { boCountriesPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCountries, dataCustomers, foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_locations_countries_countriesRestrictions'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/05_enableDisableCountries.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/05_enableDisableCountries.ts index 0d4695c79b5ad..e88b9511ea5bc 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/05_enableDisableCountries.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/02_countries/05_enableDisableCountries.ts @@ -8,6 +8,7 @@ import { boCountriesPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCountries, dataPaymentMethods, FakerAddress, @@ -17,11 +18,11 @@ import { foClassicCheckoutOrderConfirmationPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_locations_countries_enableDisableCountries'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/01_filterAndQuickEditStates.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/01_filterAndQuickEditStates.ts index 1b3bee1e192d8..a69c13a8d6d06 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/01_filterAndQuickEditStates.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/01_filterAndQuickEditStates.ts @@ -8,12 +8,13 @@ import statesPage from '@pages/BO/international/locations/states'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataStates, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_locations_states_filterAndQuickEditStates'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/02_CRUDState.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/02_CRUDState.ts index cf1c66bf09cff..a3db3252d4aa1 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/02_CRUDState.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/02_CRUDState.ts @@ -9,12 +9,13 @@ import addStatePage from '@pages/BO/international/locations/states/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerState, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_locations_states_CRUDState'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/03_bulkActionsStates.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/03_bulkActionsStates.ts index 5a9d5bd9dc71e..7a02e0b7e4e18 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/03_bulkActionsStates.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/03_bulkActionsStates.ts @@ -9,12 +9,13 @@ import addStatePage from '@pages/BO/international/locations/states/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerState, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_locations_states_bulkActionsStates'; diff --git a/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/04_sortAndPagination.ts b/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/04_sortAndPagination.ts index 28de275c277e7..f2b61201677d3 100644 --- a/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/04_sortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/11_international/02_locations/03_states/04_sortAndPagination.ts @@ -8,13 +8,14 @@ import statesPage from '@pages/BO/international/locations/states'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCountries, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_locations_states_sortAndPagination'; diff --git a/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/01_filterAndQuickEditTaxes.ts b/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/01_filterAndQuickEditTaxes.ts index 727663c9e2bec..5641b517638ff 100644 --- a/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/01_filterAndQuickEditTaxes.ts +++ b/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/01_filterAndQuickEditTaxes.ts @@ -7,12 +7,13 @@ import taxesPage from '@pages/BO/international/taxes'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataTaxes, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_taxes_taxes_filterAndQuickEditTaxes'; diff --git a/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/02_CRUDTaxesInBO.ts b/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/02_CRUDTaxesInBO.ts index c28864ceb88f5..84c23e2369c31 100644 --- a/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/02_CRUDTaxesInBO.ts +++ b/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/02_CRUDTaxesInBO.ts @@ -8,12 +8,13 @@ import addTaxPage from '@pages/BO/international/taxes/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerTax, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_taxes_taxes_CRUDTaxesInBO'; diff --git a/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/03_taxesBulkActionsInBO.ts b/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/03_taxesBulkActionsInBO.ts index 636638f92a3b2..cac61cb678c66 100644 --- a/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/03_taxesBulkActionsInBO.ts +++ b/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/03_taxesBulkActionsInBO.ts @@ -8,12 +8,13 @@ import addTaxPage from '@pages/BO/international/taxes/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerTax, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_taxes_taxes_taxesBulkActionsInBO'; diff --git a/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/04_taxOptionsForm.ts b/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/04_taxOptionsForm.ts index 479dc1b142b32..416c5f408a56e 100644 --- a/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/04_taxOptionsForm.ts +++ b/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/04_taxOptionsForm.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import taxesPage from '@pages/BO/international/taxes'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataTaxOptions, FakerTaxOption, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/05_sortAndPagination.ts b/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/05_sortAndPagination.ts index 795a64bb6ece3..7645cbdc3802e 100644 --- a/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/05_sortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/11_international/03_taxes/01_taxes/05_sortAndPagination.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import taxesPage from '@pages/BO/international/taxes'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/03_taxes/02_taxRules/01_CRUDTaxRules.ts b/tests/UI/campaigns/functional/BO/11_international/03_taxes/02_taxRules/01_CRUDTaxRules.ts index 957c2b74d850e..c063420d5312c 100644 --- a/tests/UI/campaigns/functional/BO/11_international/03_taxes/02_taxRules/01_CRUDTaxRules.ts +++ b/tests/UI/campaigns/functional/BO/11_international/03_taxes/02_taxRules/01_CRUDTaxRules.ts @@ -7,11 +7,12 @@ import taxRulesPage from '@pages/BO/international/taxes/taxRules'; import addTaxRulesPage from '@pages/BO/international/taxes/taxRules/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerTaxRulesGroup, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/03_taxes/02_taxRules/02_filterSortAndPagination.ts b/tests/UI/campaigns/functional/BO/11_international/03_taxes/02_taxRules/02_filterSortAndPagination.ts index c4c51cda65d87..847e9d30cfcaa 100644 --- a/tests/UI/campaigns/functional/BO/11_international/03_taxes/02_taxRules/02_filterSortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/11_international/03_taxes/02_taxRules/02_filterSortAndPagination.ts @@ -10,13 +10,14 @@ import { boDashboardPage, boLoginPage, dataTaxRules, + type BrowserContext, FakerTaxRulesGroup, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_taxes_taxRules_filterSortAndPagination'; diff --git a/tests/UI/campaigns/functional/BO/11_international/03_taxes/02_taxRules/03_quickEditAndBulkActions.ts b/tests/UI/campaigns/functional/BO/11_international/03_taxes/02_taxRules/03_quickEditAndBulkActions.ts index da3a10dfbd3f8..f67ab0725c5e8 100644 --- a/tests/UI/campaigns/functional/BO/11_international/03_taxes/02_taxRules/03_quickEditAndBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/11_international/03_taxes/02_taxRules/03_quickEditAndBulkActions.ts @@ -7,11 +7,12 @@ import taxRulesPage from '@pages/BO/international/taxes/taxRules'; import addTaxRulesPage from '@pages/BO/international/taxes/taxRules/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerTaxRulesGroup, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/04_translations/01_modifyTranslation.ts b/tests/UI/campaigns/functional/BO/11_international/04_translations/01_modifyTranslation.ts index d7289a534dea9..652c70b9409c0 100644 --- a/tests/UI/campaigns/functional/BO/11_international/04_translations/01_modifyTranslation.ts +++ b/tests/UI/campaigns/functional/BO/11_international/04_translations/01_modifyTranslation.ts @@ -18,6 +18,7 @@ import { boLoginPage, boModuleManagerPage, boTranslationsPage, + type BrowserContext, dataCustomers, dataLanguages, dataModules, @@ -29,12 +30,12 @@ import { foHummingbirdLoginPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_international_translations_modifyTranslation'; diff --git a/tests/UI/campaigns/functional/BO/11_international/04_translations/02_addUpdateLanguage.ts b/tests/UI/campaigns/functional/BO/11_international/04_translations/02_addUpdateLanguage.ts index 0286f42ae968f..064d441f6fa45 100644 --- a/tests/UI/campaigns/functional/BO/11_international/04_translations/02_addUpdateLanguage.ts +++ b/tests/UI/campaigns/functional/BO/11_international/04_translations/02_addUpdateLanguage.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLanguagesPage, boLoginPage, boLocalizationPage, boTranslationsPage, + type BrowserContext, dataLanguages, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/11_international/04_translations/03_exportLanguage.ts b/tests/UI/campaigns/functional/BO/11_international/04_translations/03_exportLanguage.ts index 536cd6164964f..cff60b9b4ec7b 100644 --- a/tests/UI/campaigns/functional/BO/11_international/04_translations/03_exportLanguage.ts +++ b/tests/UI/campaigns/functional/BO/11_international/04_translations/03_exportLanguage.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boTranslationsPage, + type BrowserContext, dataLanguages, dataModules, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/03_allowIframes.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/03_allowIframes.ts index bdf7726434204..db777873368b7 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/03_allowIframes.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/03_allowIframes.ts @@ -6,15 +6,16 @@ import testContext from '@utils/testContext'; import addProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, boShopParametersPage, + type BrowserContext, dataProducts, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/05_roundMode.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/05_roundMode.ts index 8d23373988592..3af271a4905c7 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/05_roundMode.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/05_roundMode.ts @@ -9,16 +9,17 @@ import pricingTab from '@pages/BO/catalog/products/add/pricingTab'; import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boShopParametersPage, + type BrowserContext, FakerProduct, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/08_enableDisableSuppliers.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/08_enableDisableSuppliers.ts index 171097a479f84..bcc3cf2200323 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/08_enableDisableSuppliers.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/08_enableDisableSuppliers.ts @@ -9,12 +9,13 @@ import suppliersPage from '@pages/BO/catalog/suppliers'; import {siteMapPage} from '@pages/FO/classic/siteMap'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boShopParametersPage, + type BrowserContext, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/09_enableDisableBrands.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/09_enableDisableBrands.ts index 0fe091561a85a..851a4848c0f3a 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/09_enableDisableBrands.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/09_enableDisableBrands.ts @@ -6,12 +6,13 @@ import brandsPage from '@pages/BO/catalog/brands'; import {siteMapPage} from '@pages/FO/classic/siteMap'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boShopParametersPage, + type BrowserContext, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/10_enableDisableBestSellers.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/10_enableDisableBestSellers.ts index 91653b1594740..9ce3315eb2bd5 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/10_enableDisableBestSellers.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/10_enableDisableBestSellers.ts @@ -6,12 +6,13 @@ import testContext from '@utils/testContext'; import {siteMapPage} from '@pages/FO/classic/siteMap'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boShopParametersPage, + type BrowserContext, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/11_enableDisableMultistore.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/11_enableDisableMultistore.ts index c0d25d938a37e..c7ee0ffead405 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/11_enableDisableMultistore.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/general/11_enableDisableMultistore.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boShopParametersPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/maintenance/01_enableDisableShop.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/maintenance/01_enableDisableShop.ts index 1224aaf53ec33..ced91a2a81654 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/maintenance/01_enableDisableShop.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/01_general/maintenance/01_enableDisableShop.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boMaintenancePage, boShopParametersPage, + type BrowserContext, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/01_enableFinalSummary.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/01_enableFinalSummary.ts index 4bb6a8d11e386..4e4e3d9aba8fe 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/01_enableFinalSummary.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/01_enableFinalSummary.ts @@ -5,17 +5,18 @@ import { boDashboardPage, boLoginPage, boOrderSettingsPage, + type BrowserContext, dataCustomers, foClassicCartPage, foClassicCheckoutPage, foClassicCheckoutOrderConfirmationPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_orderSettings_orderSettings_general_enableFinalSummary'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/02_enableGuestCheckout.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/02_enableGuestCheckout.ts index 0f9f00a7b0238..f84fe25a171a1 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/02_enableGuestCheckout.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/02_enableGuestCheckout.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boOrderSettingsPage, + type BrowserContext, foClassicCartPage, foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/03_disableReorderingOption.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/03_disableReorderingOption.ts index f9fb021f847d7..27b0278405b50 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/03_disableReorderingOption.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/03_disableReorderingOption.ts @@ -9,15 +9,16 @@ import { boDashboardPage, boLoginPage, boOrderSettingsPage, + type BrowserContext, dataCustomers, foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_orderSettings_orderSettings_general_disableReorderingOption'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/04_minimumPurchaseTotalRequired.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/04_minimumPurchaseTotalRequired.ts index c3fcd7299fbb0..dd0627d316b33 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/04_minimumPurchaseTotalRequired.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/04_minimumPurchaseTotalRequired.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boOrderSettingsPage, + type BrowserContext, foClassicCartPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/05_recalculateShippingCosts.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/05_recalculateShippingCosts.ts index 0644cbc1fb7b2..7ea10a0565614 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/05_recalculateShippingCosts.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/05_recalculateShippingCosts.ts @@ -10,17 +10,18 @@ import { boOrdersPage, boOrdersViewBlockTabListPage, boOrderSettingsPage, + type BrowserContext, dataCarriers, dataCustomers, dataPaymentMethods, dataProducts, FakerOrder, FakerOrderShipping, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_orderSettings_orderSettings_general_recalculateShippingCosts'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/07_termsOfService.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/07_termsOfService.ts index 033103b61ecba..40525e34e75f2 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/07_termsOfService.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/07_termsOfService.ts @@ -5,17 +5,18 @@ import { boDashboardPage, boLoginPage, boOrderSettingsPage, + type BrowserContext, dataCMSPages, dataCustomers, foClassicCartPage, foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_orderSettings_orderSettings_general_termsOfService'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/08_termsAndConditions.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/08_termsAndConditions.ts index c3bfb488d9d7f..83ae241f7d192 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/08_termsAndConditions.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/general/08_termsAndConditions.ts @@ -5,17 +5,18 @@ import { boDashboardPage, boLoginPage, boOrderSettingsPage, + type BrowserContext, dataCMSPages, dataCustomers, foClassicCartPage, foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_orderSettings_orderSettings_general_termsAndConditions'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/giftOptions/01_giftOptions.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/giftOptions/01_giftOptions.ts index a82b48f87f330..6d6f5a99202a2 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/giftOptions/01_giftOptions.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/01_orderSettings/giftOptions/01_giftOptions.ts @@ -8,6 +8,7 @@ import { boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, boOrderSettingsPage, + type BrowserContext, dataCustomers, dataPaymentMethods, dataTaxes, @@ -17,11 +18,11 @@ import { foClassicHomePage, foClassicLoginPage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_orderSettings_orderSettings_giftOptions_giftOptions'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/returnStatuses/01_CRUDOrderReturnStatus.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/returnStatuses/01_CRUDOrderReturnStatus.ts index 1d2c17cbaf3b5..1e2c04639cb9c 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/returnStatuses/01_CRUDOrderReturnStatus.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/returnStatuses/01_CRUDOrderReturnStatus.ts @@ -6,12 +6,13 @@ import statusesPage from '@pages/BO/shopParameters/orderSettings/statuses'; import addOrderReturnStatusPage from '@pages/BO/shopParameters/orderSettings/statuses/returnStatus/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boOrderSettingsPage, + type BrowserContext, FakerOrderReturnStatus, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/returnStatuses/02_filterSortAndPagination.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/returnStatuses/02_filterSortAndPagination.ts index e4b0d84ef37ad..093c4784288a3 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/returnStatuses/02_filterSortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/returnStatuses/02_filterSortAndPagination.ts @@ -6,13 +6,14 @@ import statusesPage from '@pages/BO/shopParameters/orderSettings/statuses'; import addOrderReturnStatusPage from '@pages/BO/shopParameters/orderSettings/statuses/returnStatus/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boOrderSettingsPage, + type BrowserContext, dataOrderReturnStatuses, FakerOrderReturnStatus, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/01_CRUDOrderStatus.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/01_CRUDOrderStatus.ts index 5d8bf090d7390..ec4ba6b4964d2 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/01_CRUDOrderStatus.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/01_CRUDOrderStatus.ts @@ -11,13 +11,14 @@ import { boLoginPage, boOrdersPage, boOrderSettingsPage, + type BrowserContext, FakerOrderStatus, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_orderSettings_statuses_statuses_CRUDOrderStatus'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/02_filterSortAndPagination.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/02_filterSortAndPagination.ts index 609e03d6ad58f..b90a6f343db88 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/02_filterSortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/02_filterSortAndPagination.ts @@ -8,13 +8,14 @@ import { boDashboardPage, boLoginPage, boOrderSettingsPage, + type BrowserContext, dataOrderStatuses, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_orderSettings_statuses_statuses_filterSortAndPagination'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/03_quickEdit.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/03_quickEdit.ts index 70db8b428cbd8..91ccfd63a604d 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/03_quickEdit.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/03_quickEdit.ts @@ -8,12 +8,13 @@ import { boDashboardPage, boLoginPage, boOrderSettingsPage, + type BrowserContext, dataOrderStatuses, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_orderSettings_statuses_statuses_quickEdit'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/04_bulkActions.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/04_bulkActions.ts index fb232047d8b77..d0f6fc52ab7c4 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/04_bulkActions.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/02_orderSettings/02_statuses/statuses/04_bulkActions.ts @@ -9,13 +9,14 @@ import { boDashboardPage, boLoginPage, boOrderSettingsPage, + type BrowserContext, FakerOrderStatus, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_orderSettings_statuses_statuses_bulkActions'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/01_catalogMode.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/01_catalogMode.ts index 8e683d66a1640..ab26caa08d8b3 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/01_catalogMode.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/01_catalogMode.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductSettingsPage, + type BrowserContext, dataProducts, + type Page, foClassicHomePage, foClassicProductPage, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/02_newDaysNumber.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/02_newDaysNumber.ts index 31f8a6495459e..0e59d00301f20 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/02_newDaysNumber.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/02_newDaysNumber.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductSettingsPage, + type BrowserContext, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/03_maxSizeShortDescription.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/03_maxSizeShortDescription.ts index c184077dc05c0..5ff630a524688 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/03_maxSizeShortDescription.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/03_maxSizeShortDescription.ts @@ -5,14 +5,15 @@ import testContext from '@utils/testContext'; import addProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, boProductSettingsPage, + type BrowserContext, FakerProduct, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/04_quantityDiscountsBasedOn.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/04_quantityDiscountsBasedOn.ts index 3d9afddb0797a..9bbca48548c58 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/04_quantityDiscountsBasedOn.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/04_quantityDiscountsBasedOn.ts @@ -8,15 +8,16 @@ import pricingTab from '@pages/BO/catalog/products/add/pricingTab'; import combinationsTab from '@pages/BO/catalog/products/add/combinationsTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, FakerProduct, foClassicCartPage, foClassicProductPage, + type Page, type ProductAttribute, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/05_forceUpdateFriendlyURL.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/05_forceUpdateFriendlyURL.ts index 0da9bdaf39404..48a82de886725 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/05_forceUpdateFriendlyURL.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/05_forceUpdateFriendlyURL.ts @@ -6,13 +6,14 @@ import addProductPage from '@pages/BO/catalog/products/add'; import seoTab from '@pages/BO/catalog/products/add/seoTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, FakerProduct, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/06_defaultActivationStatus.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/06_defaultActivationStatus.ts index fd73c102c062c..05da74c4b7286 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/06_defaultActivationStatus.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/01_productsGeneral/06_defaultActivationStatus.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import addProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/01_displayAvailableQuantities.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/01_displayAvailableQuantities.ts index c63a1db13272f..28415ca7b3751 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/01_displayAvailableQuantities.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/01_displayAvailableQuantities.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductSettingsPage, + type BrowserContext, dataProducts, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/02_displayAddToCartButton.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/02_displayAddToCartButton.ts index 7bfb9c3ae3fd2..2db9f2a213ae4 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/02_displayAddToCartButton.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/02_displayAddToCartButton.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductSettingsPage, + type BrowserContext, foHummingbirdHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/04_separatorOfAttributeAnchor.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/04_separatorOfAttributeAnchor.ts index 00fe38b9e84a1..e5e3498544ae8 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/04_separatorOfAttributeAnchor.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/04_separatorOfAttributeAnchor.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductSettingsPage, + type BrowserContext, dataProducts, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/05_displayDiscountedPrice.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/05_displayDiscountedPrice.ts index fb2b0bb3c97ab..4d1164d8e5b7a 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/05_displayDiscountedPrice.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/05_displayDiscountedPrice.ts @@ -8,15 +8,16 @@ import catalogPriceRulesPage from '@pages/BO/catalog/discounts/catalogPriceRules import addCatalogPriceRulePage from '@pages/BO/catalog/discounts/catalogPriceRules/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductSettingsPage, + type BrowserContext, dataProducts, FakerCatalogPriceRule, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/06_displayNotifications.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/06_displayNotifications.ts index 1afdbcf81c272..b7b011a40d4bf 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/06_displayNotifications.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/02_productPage/06_displayNotifications.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductSettingsPage, + type BrowserContext, dataProducts, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/01_enableStockManagement.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/01_enableStockManagement.ts index 6326536feed2c..3ee29b87195a3 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/01_enableStockManagement.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/01_enableStockManagement.ts @@ -5,13 +5,14 @@ import testContext from '@utils/testContext'; import addProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabStocksPage, boProductSettingsPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/02_defaultPackStockManagement.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/02_defaultPackStockManagement.ts index 0f2f1aac889db..ce247be5d6431 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/02_defaultPackStockManagement.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/02_defaultPackStockManagement.ts @@ -9,6 +9,7 @@ import { boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, dataCustomers, dataPaymentMethods, FakerProduct, @@ -19,11 +20,11 @@ import { foClassicLoginPage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_productSettings_productsStock_defaultPackStockManagement'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/03_displayUnavailableProductAttributes.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/03_displayUnavailableProductAttributes.ts index 7a9e150e65180..b014e9ede354a 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/03_displayUnavailableProductAttributes.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/03_displayUnavailableProductAttributes.ts @@ -7,16 +7,17 @@ import addProductPage from '@pages/BO/catalog/products/add'; import combinationsTab from '@pages/BO/catalog/products/add/combinationsTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, FakerProduct, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/04_displayRemainingQuantities.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/04_displayRemainingQuantities.ts index 122814a144cae..752d8609dcfc3 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/04_displayRemainingQuantities.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/04_displayRemainingQuantities.ts @@ -6,16 +6,17 @@ import testContext from '@utils/testContext'; import addProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, FakerProduct, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/05_allowOrderingOutOfStock.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/05_allowOrderingOutOfStock.ts index d5c59b07ac8f7..6a398f2221bc1 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/05_allowOrderingOutOfStock.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/05_allowOrderingOutOfStock.ts @@ -6,16 +6,17 @@ import testContext from '@utils/testContext'; import addProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, FakerProduct, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/06_labelOfInStockProducts.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/06_labelOfInStockProducts.ts index ba23923581210..71e7f388195a7 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/06_labelOfInStockProducts.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/06_labelOfInStockProducts.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductSettingsPage, + type BrowserContext, dataProducts, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/07_labelOutOfStock.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/07_labelOutOfStock.ts index 080920f4c1319..3e25871d26f0c 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/07_labelOutOfStock.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/07_labelOutOfStock.ts @@ -6,16 +6,17 @@ import testContext from '@utils/testContext'; import addProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, FakerProduct, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/08_enableDeliveryTimeOfInStockProducts.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/08_enableDeliveryTimeOfInStockProducts.ts index d36db8c57443a..a15a60c552043 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/08_enableDeliveryTimeOfInStockProducts.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/08_enableDeliveryTimeOfInStockProducts.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductSettingsPage, + type BrowserContext, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/09_enableDeliveryTimeOfOutOfStockProducts.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/09_enableDeliveryTimeOfOutOfStockProducts.ts index 42a262dbdec4b..14de67eb29994 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/09_enableDeliveryTimeOfOutOfStockProducts.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/03_productsStock/09_enableDeliveryTimeOfOutOfStockProducts.ts @@ -6,16 +6,17 @@ import testContext from '@utils/testContext'; import addProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, FakerProduct, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/04_pagination/01_updateNumberOfProductsPerPage.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/04_pagination/01_updateNumberOfProductsPerPage.ts index 518c7eb308feb..88838cd13b15e 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/04_pagination/01_updateNumberOfProductsPerPage.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/04_pagination/01_updateNumberOfProductsPerPage.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductSettingsPage, + type BrowserContext, foClassicCategoryPage, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/04_pagination/02_updateDefaultProductsOrder.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/04_pagination/02_updateDefaultProductsOrder.ts index 09dc9a5a40fd2..a0a570ac4b520 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/04_pagination/02_updateDefaultProductsOrder.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/03_productSettings/04_pagination/02_updateDefaultProductsOrder.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductSettingsPage, + type BrowserContext, foClassicCategoryPage, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/01_redisplayCartAtLogin.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/01_redisplayCartAtLogin.ts index df95146d68459..7bb8a05496d2c 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/01_redisplayCartAtLogin.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/01_redisplayCartAtLogin.ts @@ -8,15 +8,16 @@ import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, foClassicHomePage, foClassicLoginPage, foClassicModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_customerSettings_customers_redisplayCartAtLogin'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/02_sendEmailAfterRegistration.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/02_sendEmailAfterRegistration.ts index 3d114da295eb1..421af58b00ee8 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/02_sendEmailAfterRegistration.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/02_sendEmailAfterRegistration.ts @@ -13,17 +13,18 @@ import { boDashboardPage, boEmailPage, boLoginPage, + type BrowserContext, FakerCustomer, foClassicHomePage, foClassicLoginPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_customerSettings_customers_sendEmailAfterRegistration'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/03_passwordResetDelay.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/03_passwordResetDelay.ts index 10846aee284aa..0fb27a52da4e5 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/03_passwordResetDelay.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/03_passwordResetDelay.ts @@ -8,6 +8,7 @@ import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, foClassicHomePage, foClassicLoginPage, @@ -15,12 +16,12 @@ import { foClassicPasswordReminderPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_customerSettings_customers_passwordResetDelay'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/04_enableB2BMode.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/04_enableB2BMode.ts index 0431cd96a867e..07cea5d708ff2 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/04_enableB2BMode.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/04_enableB2BMode.ts @@ -5,13 +5,14 @@ import testContext from '@utils/testContext'; import {createAccountPage} from '@pages/FO/classic/myAccount/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, foClassicHomePage, foClassicLoginPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/05_askForBirthDate.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/05_askForBirthDate.ts index fa19e3a8d9f6f..e141716b4f76c 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/05_askForBirthDate.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/05_askForBirthDate.ts @@ -5,13 +5,14 @@ import testContext from '@utils/testContext'; import {createAccountPage} from '@pages/FO/classic/myAccount/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, foClassicHomePage, foClassicLoginPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/06_enablePartnerOffers.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/06_enablePartnerOffers.ts index b1b72e48a8ab1..1423f811ad20a 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/06_enablePartnerOffers.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/01_customers/06_enablePartnerOffers.ts @@ -5,13 +5,14 @@ import testContext from '@utils/testContext'; import {createAccountPage} from '@pages/FO/classic/myAccount/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, foClassicHomePage, foClassicLoginPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/02_groups/01_filterSortAndPaginationGroups.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/02_groups/01_filterSortAndPaginationGroups.ts index c6531856e8ea4..bf69eda5c5166 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/02_groups/01_filterSortAndPaginationGroups.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/02_groups/01_filterSortAndPaginationGroups.ts @@ -7,14 +7,15 @@ import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, dataGroups, FakerGroup, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_customerSettings_groups_filterSortAndPaginationGroups'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/02_groups/02_CRUDGroups.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/02_groups/02_CRUDGroups.ts index 041fe1dd3d3dc..e90e7af98c1a1 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/02_groups/02_CRUDGroups.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/02_groups/02_CRUDGroups.ts @@ -7,12 +7,13 @@ import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, FakerGroup, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_customerSettings_groups_CRUDGroups'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/02_groups/03_defaultGroupsOptions.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/02_groups/03_defaultGroupsOptions.ts index 00fc9718f645f..40bdc41c4fc17 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/02_groups/03_defaultGroupsOptions.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/02_groups/03_defaultGroupsOptions.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boCustomerGroupsPage, boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/03_titles/01_filterSortAndPaginationTitles.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/03_titles/01_filterSortAndPaginationTitles.ts index cb920d7c60cb4..7614921abb75e 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/03_titles/01_filterSortAndPaginationTitles.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/03_titles/01_filterSortAndPaginationTitles.ts @@ -9,15 +9,16 @@ import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, dataTitles, FakerTitle, + type Page, utilsCore, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_customerSettings_titles_filterSortAndPaginationTitles'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/03_titles/02_CRUDTitles.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/03_titles/02_CRUDTitles.ts index c38bb615894fc..4d9403b16fb98 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/03_titles/02_CRUDTitles.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/03_titles/02_CRUDTitles.ts @@ -9,13 +9,14 @@ import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, FakerTitle, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_customerSettings_titles_CRUDTitles'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/03_titles/03_bulkActions.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/03_titles/03_bulkActions.ts index f874397e24d11..be4ead882fc45 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/03_titles/03_bulkActions.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/03_titles/03_bulkActions.ts @@ -9,13 +9,14 @@ import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, FakerTitle, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_shopParameters_customerSettings_titles_bulkActions'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/01_filterContacts.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/01_filterContacts.ts index 8717eae909e7d..fcc16988b7b66 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/01_filterContacts.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/01_filterContacts.ts @@ -6,11 +6,12 @@ import {expect} from 'chai'; // Import pages import contactsPage from '@pages/BO/shopParameters/contact'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataContacts, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/02_CRUDContact.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/02_CRUDContact.ts index 205557ff26102..9bcd039841287 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/02_CRUDContact.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/02_CRUDContact.ts @@ -6,11 +6,12 @@ import contactsPage from '@pages/BO/shopParameters/contact'; import addContactPage from '@pages/BO/shopParameters/contact/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerContact, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/03_contactBulkActions.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/03_contactBulkActions.ts index 9c2212ab36071..4ead3f17726d2 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/03_contactBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/03_contactBulkActions.ts @@ -6,11 +6,12 @@ import contactsPage from '@pages/BO/shopParameters/contact'; import addContactPage from '@pages/BO/shopParameters/contact/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerContact, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/04_sortAndPagination.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/04_sortAndPagination.ts index 93a885603995f..b2365c1585315 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/04_sortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/04_sortAndPagination.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import contactsPage from '@pages/BO/shopParameters/contact'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/01_filterAndQuickEditStores.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/01_filterAndQuickEditStores.ts index b56399a655cd1..08503c36b8db0 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/01_filterAndQuickEditStores.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/01_filterAndQuickEditStores.ts @@ -6,11 +6,12 @@ import contactPage from '@pages/BO/shopParameters/contact'; import storesPage from '@pages/BO/shopParameters/stores'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataStores, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/02_CRUDStores.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/02_CRUDStores.ts index c11993483b3e4..7f885ea63b2e6 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/02_CRUDStores.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/02_CRUDStores.ts @@ -7,11 +7,12 @@ import storesPage from '@pages/BO/shopParameters/stores'; import addStorePage from '@pages/BO/shopParameters/stores/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerStore, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/03_bulkActionsStores.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/03_bulkActionsStores.ts index e56189b6ea753..748b4c7422638 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/03_bulkActionsStores.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/03_bulkActionsStores.ts @@ -7,11 +7,12 @@ import storesPage from '@pages/BO/shopParameters/stores'; import addStorePage from '@pages/BO/shopParameters/stores/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerStore, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/04_contactDetails.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/04_contactDetails.ts index cbe86dab77d07..fa06a2dd556b0 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/04_contactDetails.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/04_contactDetails.ts @@ -6,13 +6,14 @@ import contactPage from '@pages/BO/shopParameters/contact'; import storesPage from '@pages/BO/shopParameters/stores'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataStores, FakerStore, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/05_sortAndPagination.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/05_sortAndPagination.ts index d61c0d435b234..6d814c45b1b0b 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/05_sortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/05_sortAndPagination.ts @@ -7,11 +7,12 @@ import storesPage from '@pages/BO/shopParameters/stores'; import addStorePage from '@pages/BO/shopParameters/stores/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerStore, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/01_filterSeoPages.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/01_filterSeoPages.ts index 4a5ea5c655e81..f7b456ff22331 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/01_filterSeoPages.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/01_filterSeoPages.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import seoAndUrlsPage from '@pages/BO/shopParameters/trafficAndSeo/seoAndUrls'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataSeoPages, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/02_CRUDSeoPage.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/02_CRUDSeoPage.ts index 9caff788f8c66..7b46a744e4837 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/02_CRUDSeoPage.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/02_CRUDSeoPage.ts @@ -6,12 +6,13 @@ import seoAndUrlsPage from '@pages/BO/shopParameters/trafficAndSeo/seoAndUrls'; import addSeoAndUrlPage from '@pages/BO/shopParameters/trafficAndSeo/seoAndUrls/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataSeoPages, FakerSeoPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/06_sortAndPaginationSeoPages.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/06_sortAndPaginationSeoPages.ts index 0be2cbcbe4f27..40b1068c5d30f 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/06_sortAndPaginationSeoPages.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/06_sortAndPaginationSeoPages.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import seoAndUrlsPage from '@pages/BO/shopParameters/trafficAndSeo/seoAndUrls'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/07_bulkDeleteSeoPages.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/07_bulkDeleteSeoPages.ts index 0a2ce8b160ba6..b91dc93370a89 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/07_bulkDeleteSeoPages.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/01_seoAndUrls/07_bulkDeleteSeoPages.ts @@ -6,12 +6,13 @@ import seoAndUrlsPage from '@pages/BO/shopParameters/trafficAndSeo/seoAndUrls'; import addSeoAndUrlPage from '@pages/BO/shopParameters/trafficAndSeo/seoAndUrls/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataSeoPages, FakerSeoPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/02_setUpUrls/03_enableDisableFriendlyURL.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/02_setUpUrls/03_enableDisableFriendlyURL.ts index 36f9fa04c421c..b82e945885e24 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/02_setUpUrls/03_enableDisableFriendlyURL.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/02_setUpUrls/03_enableDisableFriendlyURL.ts @@ -6,11 +6,12 @@ import testContext from '@utils/testContext'; import seoAndUrlsPage from '@pages/BO/shopParameters/trafficAndSeo/seoAndUrls'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/02_setUpUrls/04_enableDisableAccentedURL.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/02_setUpUrls/04_enableDisableAccentedURL.ts index bdd3e2b2879e5..cce37bc9fc0bb 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/02_setUpUrls/04_enableDisableAccentedURL.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/02_setUpUrls/04_enableDisableAccentedURL.ts @@ -8,13 +8,14 @@ import addProductPage from '@pages/BO/catalog/products/add'; import seoTab from '@pages/BO/catalog/products/add/seoTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/05_seoOptions/01_displayAttributesInProductMetaTitle.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/05_seoOptions/01_displayAttributesInProductMetaTitle.ts index 3717213eca4b1..9f7cd9cb0b1e2 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/05_seoOptions/01_displayAttributesInProductMetaTitle.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/05_seoOptions/01_displayAttributesInProductMetaTitle.ts @@ -6,14 +6,15 @@ import testContext from '@utils/testContext'; import seoAndUrlsPage from '@pages/BO/shopParameters/trafficAndSeo/seoAndUrls'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataAttributes, dataProducts, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/helpCard.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/helpCard.ts index 55d3a8d08e4aa..c81ba8cae2cd0 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/helpCard.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/01_seoAndUrls/helpCard.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import seoAndUrlsPage from '@pages/BO/shopParameters/trafficAndSeo/seoAndUrls'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/02_searchEngines/01_filterSortAndPagination.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/02_searchEngines/01_filterSortAndPagination.ts index 7e5bb1f41c7e9..873cd50e1f3c1 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/02_searchEngines/01_filterSortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/02_searchEngines/01_filterSortAndPagination.ts @@ -6,11 +6,12 @@ import seoAndUrlsPage from '@pages/BO/shopParameters/trafficAndSeo/seoAndUrls'; import searchEnginesPage from '@pages/BO/shopParameters/trafficAndSeo/searchEngines'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataSearchEngines, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/02_searchEngines/02_CRUDSearchEngines.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/02_searchEngines/02_CRUDSearchEngines.ts index 46d93cc00e13b..394ef70bd0923 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/02_searchEngines/02_CRUDSearchEngines.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/02_searchEngines/02_CRUDSearchEngines.ts @@ -7,11 +7,12 @@ import searchEnginesPage from '@pages/BO/shopParameters/trafficAndSeo/searchEngi import addSearchEnginePage from '@pages/BO/shopParameters/trafficAndSeo/searchEngines/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerSearchEngine, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/02_searchEngines/03_bulkActions.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/02_searchEngines/03_bulkActions.ts index a5aef65096369..312fe3b55b1e7 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/02_searchEngines/03_bulkActions.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/06_trafficAndSeo/02_searchEngines/03_bulkActions.ts @@ -7,11 +7,12 @@ import searchEnginesPage from '@pages/BO/shopParameters/trafficAndSeo/searchEngi import addSearchEnginePage from '@pages/BO/shopParameters/trafficAndSeo/searchEngines/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerSearchEngine, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_CRUDSearch.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_CRUDSearch.ts index 44c7b5c6a7889..09aea51187ef6 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_CRUDSearch.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_CRUDSearch.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSearchPage, boSearchAliasCreatePage, + type BrowserContext, FakerSearchAlias, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/02_searchExactEndMatch.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/02_searchExactEndMatch.ts index c7c22dae4555b..b9032d4227bcd 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/02_searchExactEndMatch.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/02_searchExactEndMatch.ts @@ -5,15 +5,16 @@ import testContext from '@utils/testContext'; import {createProductTest, deleteProductTest} from '@commonTests/BO/catalog/product'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSearchPage, + type BrowserContext, dataProducts, FakerProduct, foClassicHomePage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/03_fuzzySearch.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/03_fuzzySearch.ts index a7eb24e68503d..7b3fa51b7f472 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/03_fuzzySearch.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/03_fuzzySearch.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSearchPage, + type BrowserContext, foClassicHomePage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/04_maxApproximateAllowedWordsByFuzzySearch.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/04_maxApproximateAllowedWordsByFuzzySearch.ts index 60b3bc36916e6..bd855a313c50f 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/04_maxApproximateAllowedWordsByFuzzySearch.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/04_maxApproximateAllowedWordsByFuzzySearch.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSearchPage, + type BrowserContext, dataProducts, foClassicHomePage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/05_maximumWordLength.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/05_maximumWordLength.ts index 2c46b3fdbe97b..f714c381953f1 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/05_maximumWordLength.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/05_maximumWordLength.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSearchPage, + type BrowserContext, foClassicHomePage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/06_minimumWordLength.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/06_minimumWordLength.ts index ba67b322c09b8..d5fdca29543e8 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/06_minimumWordLength.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/06_minimumWordLength.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSearchPage, + type BrowserContext, foClassicHomePage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/07_blacklistedWords.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/07_blacklistedWords.ts index 6209dedbb5ef9..8ed69ddae9034 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/07_blacklistedWords.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/01_editSearchSettings/07_blacklistedWords.ts @@ -6,15 +6,16 @@ import testContext from '@utils/testContext'; import boProductsCreatePage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boSearchPage, + type BrowserContext, dataLanguages, foClassicHomePage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/02_filterSortPaginationAndBulkActions.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/02_filterSortPaginationAndBulkActions.ts index 5073cd05db86d..ca2bbea1f9e57 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/02_filterSortPaginationAndBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/02_filterSortPaginationAndBulkActions.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSearchPage, boSearchAliasCreatePage, + type BrowserContext, FakerSearchAlias, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/03_indexing.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/03_indexing.ts index 2e228e5ef05f8..0a2a5542f7902 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/03_indexing.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/03_indexing.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsCreatePage, boProductsPage, boSearchPage, + type BrowserContext, FakerProduct, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {deleteProductTest} from '@commonTests/BO/catalog/product'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/03_quickEditStatus.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/03_quickEditStatus.ts index 4b243cb432a72..b64717a8aeccb 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/03_quickEditStatus.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/01_search/03_quickEditStatus.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSearchPage, + type BrowserContext, dataSearchAliases, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/02_tags/01_CRUDTag.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/02_tags/01_CRUDTag.ts index 4c60aa3cc8422..045053bb5ff3c 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/02_tags/01_CRUDTag.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/02_tags/01_CRUDTag.ts @@ -6,13 +6,14 @@ import tagsPage from '@pages/BO/shopParameters/search/tags'; import addTagPage from '@pages/BO/shopParameters/search/tags/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSearchPage, + type BrowserContext, dataLanguages, FakerSearchTag, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/02_tags/02_filterSortAndPagination.ts b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/02_tags/02_filterSortAndPagination.ts index 8376434cb7666..649e938068d01 100644 --- a/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/02_tags/02_filterSortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/13_shopParameters/07_search/02_tags/02_filterSortAndPagination.ts @@ -6,14 +6,15 @@ import tagsPage from '@pages/BO/shopParameters/search/tags'; import addTagPage from '@pages/BO/shopParameters/search/tags/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSearchPage, + type BrowserContext, dataLanguages, dataProducts, FakerSearchTag, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/01_informations/01_informations.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/01_informations/01_informations.ts index 16975323876f4..e5212ec3aa0f6 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/01_informations/01_informations.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/01_informations/01_informations.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boInformationPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/02_performance/02_debugMode.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/02_performance/02_debugMode.ts index fb34b59ffee22..c4e94b369f2f7 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/02_performance/02_debugMode.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/02_performance/02_debugMode.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boPerformancePage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/02_performance/03_optionalFeatures.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/02_performance/03_optionalFeatures.ts index 89d2a68a676b6..bb039defd848b 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/02_performance/03_optionalFeatures.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/02_performance/03_optionalFeatures.ts @@ -9,6 +9,7 @@ import { boLoginPage, boPerformancePage, boProductsPage, + type BrowserContext, dataCustomers, dataGroups, dataProducts, @@ -17,12 +18,12 @@ import { foClassicLoginPage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_advancedParameters_performance_optionalFeatures'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/02_performance/07_clearCache.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/02_performance/07_clearCache.ts index 1dce46c247b5b..6860af321d3a4 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/02_performance/07_clearCache.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/02_performance/07_clearCache.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boPerformancePage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/03_administration/01_general.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/03_administration/01_general.ts index 7ccdc55d9c148..b4f69e4bb024d 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/03_administration/01_general.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/03_administration/01_general.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boAdministrationPage, boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/03_administration/02_uploadQuota.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/03_administration/02_uploadQuota.ts index 2a24cc3ba7195..06be7ebca1b31 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/03_administration/02_uploadQuota.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/03_administration/02_uploadQuota.ts @@ -7,7 +7,6 @@ import filesPage from '@pages/BO/catalog/files'; import addFilePage from '@pages/BO/catalog/files/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boAdministrationPage, boDashboardPage, @@ -15,8 +14,10 @@ import { boProductsPage, boProductsCreateTabDescriptionPage, boProductsCreateTabVirtualProductPage, + type BrowserContext, FakerFile, FakerProduct, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/03_administration/03_notifications.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/03_administration/03_notifications.ts index 74066131fbee4..d466b140d51bf 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/03_administration/03_notifications.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/03_administration/03_notifications.ts @@ -17,6 +17,7 @@ import { boDashboardPage, boLoginPage, boShoppingCartsPage, + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, @@ -28,12 +29,12 @@ import { foClassicLoginPage, foClassicMyAccountPage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; import {faker} from '@faker-js/faker'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_advancedParameters_administration_notifications'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/01_filterDeleteAndBulkActionsEmails.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/01_filterDeleteAndBulkActionsEmails.ts index e77760ce1306e..f6e26d7b71562 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/01_filterDeleteAndBulkActionsEmails.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/01_filterDeleteAndBulkActionsEmails.ts @@ -5,6 +5,7 @@ import { boDashboardPage, boEmailPage, boLoginPage, + type BrowserContext, dataCustomers, dataLanguages, dataPaymentMethods, @@ -13,12 +14,12 @@ import { foClassicCheckoutOrderConfirmationPage, foClassicHomePage, foClassicProductPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_advancedParameters_email_filterDeleteAndBulkActionsEmails'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/02_enableDisableLogEmails.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/02_enableDisableLogEmails.ts index e4c6edf0af0e6..2bc5895d6ee11 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/02_enableDisableLogEmails.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/02_enableDisableLogEmails.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boEmailPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/03_sendTestEmail/01_sendTestEmail.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/03_sendTestEmail/01_sendTestEmail.ts index 80f5e64818ef4..211eb8eb5997b 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/03_sendTestEmail/01_sendTestEmail.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/03_sendTestEmail/01_sendTestEmail.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boEmailPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/03_sortAndPagination.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/03_sortAndPagination.ts index 1efbdae0cfda0..6ff4390b7c1eb 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/03_sortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/04_email/03_sortAndPagination.ts @@ -5,6 +5,7 @@ import { boDashboardPage, boEmailPage, boLoginPage, + type BrowserContext, dataCustomers, dataPaymentMethods, foClassicCartPage, @@ -13,12 +14,12 @@ import { foClassicHomePage, foClassicLoginPage, foClassicProductPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_BO_advancedParameters_email_sortAndPagination'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/05_import/01_downloadSampleFiles.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/05_import/01_downloadSampleFiles.ts index 21b09cf6377b9..0a5bff7019244 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/05_import/01_downloadSampleFiles.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/05_import/01_downloadSampleFiles.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boImportPage, boLoginPage, + type BrowserContext, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/05_import/02_importFile.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/05_import/02_importFile.ts index dbac82a401174..85b88456744fb 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/05_import/02_importFile.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/05_import/02_importFile.ts @@ -5,13 +5,14 @@ import testContext from '@utils/testContext'; import {setupSmtpConfigTest, resetSmtpConfigTest} from '@commonTests/BO/advancedParameters/smtp'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boImportPage, boLoginPage, + type BrowserContext, type MailDev, type MailDevEmail, + type Page, utilsFile, utilsMail, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/01_filterAndQuickEditEmployees.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/01_filterAndQuickEditEmployees.ts index 6db5564e7c898..5130397932603 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/01_filterAndQuickEditEmployees.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/01_filterAndQuickEditEmployees.ts @@ -6,12 +6,13 @@ import employeesPage from '@pages/BO/advancedParameters/team'; import addEmployeePage from '@pages/BO/advancedParameters/team/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataEmployees, FakerEmployee, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/02_CRUDEmployee.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/02_CRUDEmployee.ts index 9ff679be20d7b..b83c476304f9d 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/02_CRUDEmployee.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/02_CRUDEmployee.ts @@ -6,13 +6,14 @@ import employeesPage from '@pages/BO/advancedParameters/team'; import addEmployeePage from '@pages/BO/advancedParameters/team/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boOrdersPage, boProductsPage, + type BrowserContext, FakerEmployee, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/03_employeesBulkActions.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/03_employeesBulkActions.ts index c255f48bf56f0..8ada5f4b2d238 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/03_employeesBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/03_employeesBulkActions.ts @@ -6,12 +6,13 @@ import employeesPage from '@pages/BO/advancedParameters/team'; import addEmployeePage from '@pages/BO/advancedParameters/team/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataEmployees, FakerEmployee, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/04_helpCard.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/04_helpCard.ts index 104389d4800ec..66478617a8e53 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/04_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/04_helpCard.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import employeesPage from '@pages/BO/advancedParameters/team'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/05_sortAndPagination.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/05_sortAndPagination.ts index f1d23434e1e86..2cec6c7bc48d8 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/05_sortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/employees/05_sortAndPagination.ts @@ -6,11 +6,12 @@ import employeesPage from '@pages/BO/advancedParameters/team'; import addEmployeePage from '@pages/BO/advancedParameters/team/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerEmployee, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/permission/01_editMenu.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/permission/01_editMenu.ts index e941bd2596415..8b52399936fd1 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/permission/01_editMenu.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/permission/01_editMenu.ts @@ -6,10 +6,11 @@ import employeesPage from '@pages/BO/advancedParameters/team'; import permissionsPage from '@pages/BO/advancedParameters/team/permissions'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/permission/02_editModules.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/permission/02_editModules.ts index a0f20fa98a6b6..fceac2e7d9b08 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/permission/02_editModules.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/permission/02_editModules.ts @@ -6,10 +6,11 @@ import employeesPage from '@pages/BO/advancedParameters/team'; import permissionsPage from '@pages/BO/advancedParameters/team/permissions'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/01_filterRoles.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/01_filterRoles.ts index b87a10c6f1154..c9e27c22340bb 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/01_filterRoles.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/01_filterRoles.ts @@ -6,10 +6,11 @@ import employeesPage from '@pages/BO/advancedParameters/team'; import rolesPage from '@pages/BO/advancedParameters/team/roles'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/02_CRUDRoles.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/02_CRUDRoles.ts index 8d46fbfa56c85..58e5c2b022f75 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/02_CRUDRoles.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/02_CRUDRoles.ts @@ -7,11 +7,12 @@ import rolesPage from '@pages/BO/advancedParameters/team/roles'; import addRolePage from '@pages/BO/advancedParameters/team/roles/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerEmployeeRole, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/03_helpCard.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/03_helpCard.ts index 8ae2d17202ff6..fcf2431988426 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/03_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/03_helpCard.ts @@ -6,10 +6,11 @@ import employeesPage from '@pages/BO/advancedParameters/team'; import rolesPage from '@pages/BO/advancedParameters/team/roles'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/04_sortRoles.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/04_sortRoles.ts index d87d2f76a71d2..aeeb1ca4c9eef 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/04_sortRoles.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/04_sortRoles.ts @@ -6,10 +6,11 @@ import employeesPage from '@pages/BO/advancedParameters/team'; import rolesPage from '@pages/BO/advancedParameters/team/roles'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/05_paginationAndBulkActions.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/05_paginationAndBulkActions.ts index 20475b8eed002..ba4033455554d 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/05_paginationAndBulkActions.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/06_team/roles/05_paginationAndBulkActions.ts @@ -7,11 +7,12 @@ import rolesPage from '@pages/BO/advancedParameters/team/roles'; import addProfilePage from '@pages/BO/advancedParameters/team/roles/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerEmployeeRole, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/dbBackup/01_createAndDeleteDbBackup.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/dbBackup/01_createAndDeleteDbBackup.ts index 4ea57b8a8fdc7..c0190c28991b0 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/dbBackup/01_createAndDeleteDbBackup.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/dbBackup/01_createAndDeleteDbBackup.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boDbBackupPage, boLoginPage, boSqlManagerPage, + type BrowserContext, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/dbBackup/02_paginationAndBulkDelete.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/dbBackup/02_paginationAndBulkDelete.ts index 81e54950f3f43..3e4875f884af8 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/dbBackup/02_paginationAndBulkDelete.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/dbBackup/02_paginationAndBulkDelete.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boDbBackupPage, boLoginPage, boSqlManagerPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/dbBackup/03_helpCard.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/dbBackup/03_helpCard.ts index 17a28df670c95..03f9a769dee1b 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/dbBackup/03_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/dbBackup/03_helpCard.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boDbBackupPage, boLoginPage, boSqlManagerPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/01_CRUDSqlQuery.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/01_CRUDSqlQuery.ts index 9c741bbb526d0..5054ae551d90d 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/01_CRUDSqlQuery.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/01_CRUDSqlQuery.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSqlManagerPage, boSqlManagerCreatePage, boSqlManagerViewPage, + type BrowserContext, dataSqlTables, FakerSqlQuery, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/02_helpCard.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/02_helpCard.ts index 1bd59ab7c23d8..3078d731dc0b7 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/02_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/02_helpCard.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSqlManagerPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/03_exportSqlQuery.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/03_exportSqlQuery.ts index cb48100b9f62e..90e9e066e35f1 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/03_exportSqlQuery.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/03_exportSqlQuery.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSqlManagerPage, boSqlManagerCreatePage, + type BrowserContext, dataSqlTables, FakerSqlQuery, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/04_filterSortAndPagination.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/04_filterSortAndPagination.ts index fd88093ddc09b..2b92bf1d8307c 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/04_filterSortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/07_database/sqlManager/04_filterSortAndPagination.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boSqlManagerPage, boSqlManagerCreatePage, + type BrowserContext, FakerSqlQuery, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/08_logs/01_filterSortAndPagination.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/08_logs/01_filterSortAndPagination.ts index 79337b0588c4d..e1559cfd91d3d 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/08_logs/01_filterSortAndPagination.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/08_logs/01_filterSortAndPagination.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; // Import pages import logsPage from '@pages/BO/advancedParameters/logs'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataEmployees, + type Page, utilsCore, utilsDate, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/08_logs/02_logsByEmail.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/08_logs/02_logsByEmail.ts index b702cd8341d61..20d84a56f7ad7 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/08_logs/02_logsByEmail.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/08_logs/02_logsByEmail.ts @@ -9,17 +9,18 @@ import {createProductTest} from '@commonTests/BO/catalog/product'; import logsPage from '@pages/BO/advancedParameters/logs'; import createProductsPage from '@pages/BO/catalog/products/add'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import {faker} from '@faker-js/faker'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, dataEmployees, FakerProduct, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/01_CRUDWebservice.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/01_CRUDWebservice.ts index f6ce4e0899565..a1ae4a228ac1c 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/01_CRUDWebservice.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/01_CRUDWebservice.ts @@ -6,11 +6,12 @@ import testContext from '@utils/testContext'; import webservicePage from '@pages/BO/advancedParameters/webservice'; import addWebservicePage from '@pages/BO/advancedParameters/webservice/add'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerWebservice, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/02_quickEditWebservice.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/02_quickEditWebservice.ts index f94b5aa8de9d7..072521b6da68f 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/02_quickEditWebservice.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/02_quickEditWebservice.ts @@ -6,11 +6,12 @@ import webservicePage from '@pages/BO/advancedParameters/webservice'; import addWebservicePage from '@pages/BO/advancedParameters/webservice/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerWebservice, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/03_helpCard.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/03_helpCard.ts index 4f509183ce857..7a2de79744797 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/03_helpCard.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/03_helpCard.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import webservicePage from '@pages/BO/advancedParameters/webservice'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/04_filterSortPagination.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/04_filterSortPagination.ts index 5cfa3017620a9..84918ef474f81 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/04_filterSortPagination.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/04_filterSortPagination.ts @@ -6,11 +6,12 @@ import webservicePage from '@pages/BO/advancedParameters/webservice'; import addWebservicePage from '@pages/BO/advancedParameters/webservice/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerWebservice, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/05_bulkActions.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/05_bulkActions.ts index c19a2d2cf5c13..8d16a4e9d37f2 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/05_bulkActions.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/05_bulkActions.ts @@ -6,11 +6,12 @@ import webservicePage from '@pages/BO/advancedParameters/webservice'; import addWebservicePage from '@pages/BO/advancedParameters/webservice/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerWebservice, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/06_configuration.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/06_configuration.ts index 25b9a23cecff2..311f4ff3a352d 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/06_configuration.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/09_webservice/06_configuration.ts @@ -6,11 +6,13 @@ import webservicePage from '@pages/BO/advancedParameters/webservice'; import addWebservicePage from '@pages/BO/advancedParameters/webservice/add'; import {expect} from 'chai'; -import type {APIRequestContext, BrowserContext, Page} from 'playwright'; import { + type APIRequestContext, boDashboardPage, boLoginPage, + type BrowserContext, FakerWebservice, + type Page, utilsPlaywright, utilsXML, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/01_CRUDShopGroups.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/01_CRUDShopGroups.ts index 901befda323df..d887919c7a55c 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/01_CRUDShopGroups.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/01_CRUDShopGroups.ts @@ -11,12 +11,13 @@ import addShopPage from '@pages/BO/advancedParameters/multistore/shop/add'; import shopPage from '@pages/BO/advancedParameters/multistore/shop'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerShop, FakerShopGroup, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/02_filterSortAndPaginationShopGroups.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/02_filterSortAndPaginationShopGroups.ts index 782b71f6184fc..00c3bcfe8640b 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/02_filterSortAndPaginationShopGroups.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/02_filterSortAndPaginationShopGroups.ts @@ -9,11 +9,12 @@ import multiStorePage from '@pages/BO/advancedParameters/multistore'; import addShopGroupPage from '@pages/BO/advancedParameters/multistore/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerShopGroup, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/03_CRUDShops.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/03_CRUDShops.ts index d2a06e7197630..7115f18c69314 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/03_CRUDShops.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/03_CRUDShops.ts @@ -11,11 +11,12 @@ import addShopUrlPage from '@pages/BO/advancedParameters/multistore/url/addURL'; import shopPage from '@pages/BO/advancedParameters/multistore/shop'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerShop, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/04_filterSortAndPaginationShops.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/04_filterSortAndPaginationShops.ts index 7d9eac6a6677b..09f2dd2682f1a 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/04_filterSortAndPaginationShops.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/04_filterSortAndPaginationShops.ts @@ -10,11 +10,12 @@ import addShopPage from '@pages/BO/advancedParameters/multistore/shop/add'; import shopPage from '@pages/BO/advancedParameters/multistore/shop'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerShop, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/05_filterSortAndPaginationShopUrls.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/05_filterSortAndPaginationShopUrls.ts index 73d30a642d8e7..e9153295fa90c 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/05_filterSortAndPaginationShopUrls.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/05_filterSortAndPaginationShopUrls.ts @@ -10,11 +10,12 @@ import addShopUrlPage from '@pages/BO/advancedParameters/multistore/url/addURL'; import shopUrlPage from '@pages/BO/advancedParameters/multistore/url'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerShop, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/06_quickEditAndBulkActionsShopUrls.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/06_quickEditAndBulkActionsShopUrls.ts index c662d165e6043..3f9f21ccab234 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/06_quickEditAndBulkActionsShopUrls.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/06_quickEditAndBulkActionsShopUrls.ts @@ -10,11 +10,12 @@ import addShopUrlPage from '@pages/BO/advancedParameters/multistore/url/addURL'; import shopUrlPage from '@pages/BO/advancedParameters/multistore/url'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerShop, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/07_editUrlOptions.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/07_editUrlOptions.ts index 19529368d278f..83f2bf820c800 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/07_editUrlOptions.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/07_editUrlOptions.ts @@ -11,11 +11,12 @@ import shopPage from '@pages/BO/advancedParameters/multistore/shop'; import editShopUrlPage from '@pages/BO/advancedParameters/multistore/url/addURL'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerShop, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/08_multistoreOptions.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/08_multistoreOptions.ts index 5f05165fa05c4..05722a9290769 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/08_multistoreOptions.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/10_multistore/08_multistoreOptions.ts @@ -11,11 +11,12 @@ import addShopPage from '@pages/BO/advancedParameters/multistore/shop/add'; import addShopUrlPage from '@pages/BO/advancedParameters/multistore/url/addURL'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerShop, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/12_adminAPI/01_CRUD.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/12_adminAPI/01_CRUD.ts index 70c76f5bfbc31..79e0fcd0d82df 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/12_adminAPI/01_CRUD.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/12_adminAPI/01_CRUD.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/12_adminAPI/02_addAPIClient.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/12_adminAPI/02_addAPIClient.ts index 3a143a201a23b..9187a837b1f77 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/12_adminAPI/02_addAPIClient.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/12_adminAPI/02_addAPIClient.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/14_advancedParameters/12_adminAPI/03_editAPIClient.ts b/tests/UI/campaigns/functional/BO/14_advancedParameters/12_adminAPI/03_editAPIClient.ts index 8929d0cc077bb..eeac6ce23492b 100644 --- a/tests/UI/campaigns/functional/BO/14_advancedParameters/12_adminAPI/03_editAPIClient.ts +++ b/tests/UI/campaigns/functional/BO/14_advancedParameters/12_adminAPI/03_editAPIClient.ts @@ -5,13 +5,14 @@ import testContext from '@utils/testContext'; import {createAPIClientTest} from '@commonTests/BO/advancedParameters/authServer'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, FakerAPIClient, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/15_header/01_leftMenu.ts b/tests/UI/campaigns/functional/BO/15_header/01_leftMenu.ts index 6361a15ef8bb5..77f9514092d27 100644 --- a/tests/UI/campaigns/functional/BO/15_header/01_leftMenu.ts +++ b/tests/UI/campaigns/functional/BO/15_header/01_leftMenu.ts @@ -2,10 +2,11 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/15_header/02_quickAccess.ts b/tests/UI/campaigns/functional/BO/15_header/02_quickAccess.ts index d1fe2fda40a10..a459a13f327fb 100644 --- a/tests/UI/campaigns/functional/BO/15_header/02_quickAccess.ts +++ b/tests/UI/campaigns/functional/BO/15_header/02_quickAccess.ts @@ -9,7 +9,6 @@ import addNewQuickAccessPage from '@pages/BO/quickAccess/add'; import newCustomerPage from '@pages/BO/customers/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, @@ -17,7 +16,9 @@ import { boModuleManagerPage, boProductsPage, boQuickAccessPage, + type BrowserContext, FakerQuickAccess, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/15_header/03_searchBar.ts b/tests/UI/campaigns/functional/BO/15_header/03_searchBar.ts index b05c1191b4d3d..3436169fe0697 100644 --- a/tests/UI/campaigns/functional/BO/15_header/03_searchBar.ts +++ b/tests/UI/campaigns/functional/BO/15_header/03_searchBar.ts @@ -4,11 +4,12 @@ import testContext from '@utils/testContext'; // Import pages import searchResultsPage from '@pages/BO/searchResults'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/15_header/05_viewMyShop.ts b/tests/UI/campaigns/functional/BO/15_header/05_viewMyShop.ts index 2aa18d09f5f6c..48a6bddf39234 100644 --- a/tests/UI/campaigns/functional/BO/15_header/05_viewMyShop.ts +++ b/tests/UI/campaigns/functional/BO/15_header/05_viewMyShop.ts @@ -1,5 +1,4 @@ // Import utils -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; // Import test context @@ -8,7 +7,9 @@ import testContext from '@utils/testContext'; import { boDashboardPage, boLoginPage, + type BrowserContext, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/15_header/07_myProfile.ts b/tests/UI/campaigns/functional/BO/15_header/07_myProfile.ts index ecc41dd891aa2..997e35f2f1760 100644 --- a/tests/UI/campaigns/functional/BO/15_header/07_myProfile.ts +++ b/tests/UI/campaigns/functional/BO/15_header/07_myProfile.ts @@ -1,5 +1,4 @@ import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // Import test context import testContext from '@utils/testContext'; @@ -17,8 +16,10 @@ import { boLoginPage, boMyProfilePage, boProductsPage, + type BrowserContext, type EmployeePermission, FakerEmployee, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/BO/15_header/08_checkNotifications.ts b/tests/UI/campaigns/functional/BO/15_header/08_checkNotifications.ts index e91373ce7eb38..91a5e78928a36 100644 --- a/tests/UI/campaigns/functional/BO/15_header/08_checkNotifications.ts +++ b/tests/UI/campaigns/functional/BO/15_header/08_checkNotifications.ts @@ -16,6 +16,7 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, @@ -25,11 +26,11 @@ import { foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import {faker} from '@faker-js/faker'; const baseContext: string = 'functional_BO_header_checkNotifications'; diff --git a/tests/UI/campaigns/functional/FO/classic/01_login/01_passwordReminder.ts b/tests/UI/campaigns/functional/FO/classic/01_login/01_passwordReminder.ts index d287c3af72df9..fdd7e2c990ffa 100644 --- a/tests/UI/campaigns/functional/FO/classic/01_login/01_passwordReminder.ts +++ b/tests/UI/campaigns/functional/FO/classic/01_login/01_passwordReminder.ts @@ -7,6 +7,7 @@ import {deleteCustomerTest} from '@commonTests/BO/customers/customer'; import {createAccountTest} from '@commonTests/FO/classic/account'; import { + type BrowserContext, FakerCustomer, foClassicHomePage, foClassicLoginPage, @@ -14,12 +15,12 @@ import { foClassicPasswordReminderPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_login_passwordReminder'; diff --git a/tests/UI/campaigns/functional/FO/classic/01_login/02_login.ts b/tests/UI/campaigns/functional/FO/classic/01_login/02_login.ts index d333aff5be5b4..090fbd457bdc3 100644 --- a/tests/UI/campaigns/functional/FO/classic/01_login/02_login.ts +++ b/tests/UI/campaigns/functional/FO/classic/01_login/02_login.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import { + type BrowserContext, dataCustomers, FakerCustomer, foClassicHomePage, foClassicLoginPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_login_login'; diff --git a/tests/UI/campaigns/functional/FO/classic/01_login/03_logout.ts b/tests/UI/campaigns/functional/FO/classic/01_login/03_logout.ts index 14bfe0102a3e4..e8f588f9d7607 100644 --- a/tests/UI/campaigns/functional/FO/classic/01_login/03_logout.ts +++ b/tests/UI/campaigns/functional/FO/classic/01_login/03_logout.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import { + type BrowserContext, dataCustomers, foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_login_logout'; diff --git a/tests/UI/campaigns/functional/FO/classic/01_login/04_createAccount.ts b/tests/UI/campaigns/functional/FO/classic/01_login/04_createAccount.ts index ead88cca0166b..cf76ea93adf66 100644 --- a/tests/UI/campaigns/functional/FO/classic/01_login/04_createAccount.ts +++ b/tests/UI/campaigns/functional/FO/classic/01_login/04_createAccount.ts @@ -9,17 +9,18 @@ import {deleteCustomerTest} from '@commonTests/BO/customers/customer'; import {createAccountPage} from '@pages/FO/classic/myAccount/add'; import { + type BrowserContext, FakerCustomer, foClassicHomePage, foClassicLoginPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_login_createAccount'; diff --git a/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/01_checkLinksInHeader.ts b/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/01_checkLinksInHeader.ts index ed05b7e074a92..479f2ff5ac665 100644 --- a/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/01_checkLinksInHeader.ts +++ b/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/01_checkLinksInHeader.ts @@ -5,6 +5,7 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import { + type BrowserContext, dataCustomers, foClassicCartPage, foClassicContactUsPage, @@ -12,11 +13,11 @@ import { foClassicLoginPage, foClassicModalQuickViewPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_headerAndFooter_checkLinksInHeader'; diff --git a/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/02_checkLinksInFooter.ts b/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/02_checkLinksInFooter.ts index c096f7c25f30c..37fba7c7e4d80 100644 --- a/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/02_checkLinksInFooter.ts +++ b/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/02_checkLinksInFooter.ts @@ -27,6 +27,7 @@ import {storesPage} from '@pages/FO/classic/stores'; import {termsAndConditionsOfUsePage} from '@pages/FO/classic/termsAndConditionsOfUse'; import { + type BrowserContext, dataCustomers, FakerCustomer, foClassicAboutUsPage, @@ -34,11 +35,11 @@ import { foClassicHomePage, foClassicLoginPage, foClassicMyWishlistsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_headerAndFooter_checkLinksInFooter'; diff --git a/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/03_changeCurrency.ts b/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/03_changeCurrency.ts index 8d690191262f2..e6746c9f2fc66 100644 --- a/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/03_changeCurrency.ts +++ b/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/03_changeCurrency.ts @@ -10,16 +10,17 @@ import { boLocalizationPage, boLoginPage, boCurrenciesPage, + type BrowserContext, dataCurrencies, dataProducts, foClassicHomePage, foClassicSearchResultsPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_headerAndFooter_changeCurrency'; diff --git a/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/04_changeLanguage.ts b/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/04_changeLanguage.ts index 2a9fdd57ef97f..9053a1a22ef29 100644 --- a/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/04_changeLanguage.ts +++ b/tests/UI/campaigns/functional/FO/classic/02_headerAndFooter/04_changeLanguage.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLanguagesPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataLanguages, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/01_creditSlips/01_consultCreditSlip.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/01_creditSlips/01_consultCreditSlip.ts index 23c2119303b07..12baccb38930e 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/01_creditSlips/01_consultCreditSlip.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/01_creditSlips/01_consultCreditSlip.ts @@ -21,6 +21,7 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataOrderStatuses, dataPaymentMethods, dataProducts, @@ -32,13 +33,13 @@ import { foClassicMyAccountPage, type MailDev, type MailDevEmail, + type Page, utilsFile, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_userAccount_creditSlips_consultCreditSlip'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/01_editInformation.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/01_editInformation.ts index 5e6fe3750404f..92885901cb29d 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/01_editInformation.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/01_editInformation.ts @@ -9,15 +9,16 @@ import {createAccountTest} from '@commonTests/FO/classic/account'; import {accountIdentityPage} from '@pages/FO/classic/myAccount/identity'; import { + type BrowserContext, FakerCustomer, foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_userAccount_editInformation'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_CRUDAddress.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_CRUDAddress.ts index dc8e6d3294fdf..032371c27ad01 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_CRUDAddress.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_CRUDAddress.ts @@ -11,6 +11,7 @@ import {addAddressPage} from '@pages/FO/classic/myAccount/addAddress'; import {addressesPage} from '@pages/FO/classic/myAccount/addresses'; import { + type BrowserContext, dataProducts, FakerAddress, FakerCustomer, @@ -20,11 +21,11 @@ import { foClassicLoginPage, foClassicMyAccountPage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_userAccount_CRUDAddress'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_consultOrderList.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_consultOrderList.ts index 82c91b6138f33..8404531d5274d 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_consultOrderList.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_consultOrderList.ts @@ -11,6 +11,7 @@ import {createOrderByCustomerTest} from '@commonTests/FO/classic/order'; import {orderHistoryPage} from '@pages/FO/classic/myAccount/orderHistory'; import { + type BrowserContext, dataOrderStatuses, dataPaymentMethods, dataProducts, @@ -21,12 +22,12 @@ import { foClassicLoginPage, foClassicMyAccountPage, type OrderHistory, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_userAccount_orderHistory_consultOrderList'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/01_reorderFromOrderDetails.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/01_reorderFromOrderDetails.ts index c5b3a7cb3e4f3..7ff1aa4d3996b 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/01_reorderFromOrderDetails.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/01_reorderFromOrderDetails.ts @@ -9,6 +9,7 @@ import {orderDetailsPage} from '@pages/FO/classic/myAccount/orderDetails'; import {orderHistoryPage} from '@pages/FO/classic/myAccount/orderHistory'; import { + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, @@ -18,11 +19,11 @@ import { foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_classic_userAccount_orderHistory_orderDetails_reorderFromOrderDetails'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/02_downloadInvoice.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/02_downloadInvoice.ts index 0f991724ff217..8ef4d5950838b 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/02_downloadInvoice.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/02_downloadInvoice.ts @@ -14,6 +14,7 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -22,12 +23,12 @@ import { foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_classic_userAccount_orderHistory_orderDetails_downloadInvoice'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/03_requestMerchandiseReturn.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/03_requestMerchandiseReturn.ts index fc2a027939c28..ecaa2abfc7d72 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/03_requestMerchandiseReturn.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/03_requestMerchandiseReturn.ts @@ -19,6 +19,7 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -27,12 +28,12 @@ import { foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_classic_userAccount_orderHistory_orderDetails_requestMerchandiseReturn'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/04_sendMessage.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/04_sendMessage.ts index 631924b697175..863c66af24ac8 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/04_sendMessage.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/01_orderDetails/04_sendMessage.ts @@ -15,6 +15,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -28,13 +29,13 @@ import { foClassicProductPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; import {faker} from '@faker-js/faker'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_userAccount_orderHistory_orderDetails_sendMessage'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/02_reorderFromOrderList.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/02_reorderFromOrderList.ts index d1ee3a24f472a..aa1f6ed9dc48c 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/02_reorderFromOrderList.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/02_reorderFromOrderList.ts @@ -9,6 +9,7 @@ import {orderDetailsPage} from '@pages/FO/classic/myAccount/orderDetails'; import {orderHistoryPage} from '@pages/FO/classic/myAccount/orderHistory'; import { + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, @@ -18,11 +19,11 @@ import { foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_classic_userAccount_orderHistory_reorderFromOrderList'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/03_downloadInvoice.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/03_downloadInvoice.ts index bbd4797062d16..1c6a90fd68ccb 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/03_downloadInvoice.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/02_orderHistory/03_downloadInvoice.ts @@ -13,6 +13,7 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -21,12 +22,12 @@ import { foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_classic_userAccount_orderHistory_downloadInvoice'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/03_merchandiseReturns/01_consultReturnDetails.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/03_merchandiseReturns/01_consultReturnDetails.ts index a81ff1a38a5b0..a89379e583d76 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/03_merchandiseReturns/01_consultReturnDetails.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/03_merchandiseReturns/01_consultReturnDetails.ts @@ -20,6 +20,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataOrderReturnStatuses, dataOrderStatuses, @@ -29,11 +30,11 @@ import { foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_userAccount_merchandiseReturns_consultReturnDetails'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/03_merchandiseReturns/02_checkOrderReturnPDF.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/03_merchandiseReturns/02_checkOrderReturnPDF.ts index 87491aaff5456..281ae1888220c 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/03_merchandiseReturns/02_checkOrderReturnPDF.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/03_merchandiseReturns/02_checkOrderReturnPDF.ts @@ -20,6 +20,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataAddresses, dataCustomers, dataOrderReturnStatuses, @@ -30,13 +31,13 @@ import { foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsDate, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_userAccount_merchandiseReturns_checkOrderReturnPDF'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/03_viewVouchers.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/03_viewVouchers.ts index 2edf53259792e..e5db22867af6e 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/03_viewVouchers.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/03_viewVouchers.ts @@ -10,17 +10,18 @@ import {createAccountTest} from '@commonTests/FO/classic/account'; import {vouchersPage as foVouchersPage} from '@pages/FO/classic/myAccount/vouchers'; import { + type BrowserContext, FakerCartRule, FakerCustomer, foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_userAccount_viewVouchers'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/04_getGDPRDataInPDF.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/04_getGDPRDataInPDF.ts index 45babb2499e99..d2b1174246a20 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/04_getGDPRDataInPDF.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/04_getGDPRDataInPDF.ts @@ -17,6 +17,7 @@ import { boLoginPage, boOrdersPage, boShoppingCartsPage, + type BrowserContext, dataPaymentMethods, dataProducts, FakerAddress, @@ -30,6 +31,7 @@ import { foClassicLoginPage, foClassicMyAccountPage, foClassicProductPage, + type Page, utilsCore, utilsDate, utilsFile, @@ -37,7 +39,6 @@ import { } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_userAccount_getGDPRDataInPDF'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/05_getGDPRDataInCSV.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/05_getGDPRDataInCSV.ts index c1e4a88583c59..57290e12f0aeb 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/05_getGDPRDataInCSV.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/05_getGDPRDataInCSV.ts @@ -16,6 +16,7 @@ import { boLoginPage, boOrdersPage, boShoppingCartsPage, + type BrowserContext, dataPaymentMethods, dataProducts, FakerAddress, @@ -29,13 +30,13 @@ import { foClassicLoginPage, foClassicMyAccountPage, foClassicProductPage, + type Page, utilsCore, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_userAccount_getGDPRDataInCSV'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/06_contactUsOnGDPRPage.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/06_contactUsOnGDPRPage.ts index c90b93b890c44..6e73b32bb5996 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/06_contactUsOnGDPRPage.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/06_contactUsOnGDPRPage.ts @@ -10,6 +10,7 @@ import {gdprPersonalDataPage} from '@pages/FO/classic/myAccount/gdprPersonalData import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataOrders, FakerContactMessage, @@ -17,12 +18,12 @@ import { foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_userAccount_contactUsOnGDPRPage'; diff --git a/tests/UI/campaigns/functional/FO/classic/03_userAccount/07_logOut.ts b/tests/UI/campaigns/functional/FO/classic/03_userAccount/07_logOut.ts index d675f4eb7c59e..e93b6642e659f 100644 --- a/tests/UI/campaigns/functional/FO/classic/03_userAccount/07_logOut.ts +++ b/tests/UI/campaigns/functional/FO/classic/03_userAccount/07_logOut.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import { + type BrowserContext, dataCustomers, foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_userAccount_logOut'; diff --git a/tests/UI/campaigns/functional/FO/classic/04_newsletter/01_subscribeNewsletter.ts b/tests/UI/campaigns/functional/FO/classic/04_newsletter/01_subscribeNewsletter.ts index 9d6393ed2b5e6..ec6d3e155bb46 100644 --- a/tests/UI/campaigns/functional/FO/classic/04_newsletter/01_subscribeNewsletter.ts +++ b/tests/UI/campaigns/functional/FO/classic/04_newsletter/01_subscribeNewsletter.ts @@ -11,17 +11,18 @@ import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCustomers, FakerModule, foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, modPsEmailSubscriptionBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_classic_newsletter_subscribeNewsletter'; diff --git a/tests/UI/campaigns/functional/FO/classic/05_contactUs/01_checkMailtoLink.ts b/tests/UI/campaigns/functional/FO/classic/05_contactUs/01_checkMailtoLink.ts index 28370e86120d3..1b559fb958e51 100644 --- a/tests/UI/campaigns/functional/FO/classic/05_contactUs/01_checkMailtoLink.ts +++ b/tests/UI/campaigns/functional/FO/classic/05_contactUs/01_checkMailtoLink.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataEmployees, foClassicContactUsPage, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/05_contactUs/02_sendMessageWithCustomer.ts b/tests/UI/campaigns/functional/FO/classic/05_contactUs/02_sendMessageWithCustomer.ts index 62ec73b83c83c..e9b3f9798c660 100644 --- a/tests/UI/campaigns/functional/FO/classic/05_contactUs/02_sendMessageWithCustomer.ts +++ b/tests/UI/campaigns/functional/FO/classic/05_contactUs/02_sendMessageWithCustomer.ts @@ -13,6 +13,7 @@ import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCustomers, dataModules, dataOrders, @@ -22,13 +23,13 @@ import { foClassicLoginPage, type MailDev, type MailDevEmail, + type Page, utilsFile, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_contactUs_sendMessageWithCustomer'; diff --git a/tests/UI/campaigns/functional/FO/classic/05_contactUs/03_sendMessageAsAnonymous.ts b/tests/UI/campaigns/functional/FO/classic/05_contactUs/03_sendMessageAsAnonymous.ts index 8da237109576b..d8db3e64d326c 100644 --- a/tests/UI/campaigns/functional/FO/classic/05_contactUs/03_sendMessageAsAnonymous.ts +++ b/tests/UI/campaigns/functional/FO/classic/05_contactUs/03_sendMessageAsAnonymous.ts @@ -13,6 +13,7 @@ import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCustomers, dataModules, FakerContactMessage, @@ -21,13 +22,13 @@ import { foClassicLoginPage, type MailDev, type MailDevEmail, + type Page, utilsFile, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_contactUs_sendMessageAsAnonymous'; diff --git a/tests/UI/campaigns/functional/FO/classic/05_contactUs/04_addAttachment.ts b/tests/UI/campaigns/functional/FO/classic/05_contactUs/04_addAttachment.ts index 6fc6dd5fb9b1d..f973a8153f1b7 100644 --- a/tests/UI/campaigns/functional/FO/classic/05_contactUs/04_addAttachment.ts +++ b/tests/UI/campaigns/functional/FO/classic/05_contactUs/04_addAttachment.ts @@ -9,18 +9,19 @@ import viewPage from '@pages/BO/customerService/customerService/view'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataOrders, FakerContactMessage, foClassicContactUsPage, foClassicHomePage, foClassicLoginPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_contactUs_addAttachment'; diff --git a/tests/UI/campaigns/functional/FO/classic/06_homePage/01_checkSlider.ts b/tests/UI/campaigns/functional/FO/classic/06_homePage/01_checkSlider.ts index dfcd1b983ed70..e0d5fa422af8b 100644 --- a/tests/UI/campaigns/functional/FO/classic/06_homePage/01_checkSlider.ts +++ b/tests/UI/campaigns/functional/FO/classic/06_homePage/01_checkSlider.ts @@ -2,9 +2,10 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/06_homePage/02_displaySomeProducts.ts b/tests/UI/campaigns/functional/FO/classic/06_homePage/02_displaySomeProducts.ts index c8ea4644920d2..cc0128db30ebd 100644 --- a/tests/UI/campaigns/functional/FO/classic/06_homePage/02_displaySomeProducts.ts +++ b/tests/UI/campaigns/functional/FO/classic/06_homePage/02_displaySomeProducts.ts @@ -6,10 +6,11 @@ import {pricesDropPage} from '@pages/FO/classic/pricesDrop'; import {newProductsPage} from '@pages/FO/classic/newProducts'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicCategoryPage, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/06_homePage/03_allProducts.ts b/tests/UI/campaigns/functional/FO/classic/06_homePage/03_allProducts.ts index 75a9870fe61c4..b9113b217ea38 100644 --- a/tests/UI/campaigns/functional/FO/classic/06_homePage/03_allProducts.ts +++ b/tests/UI/campaigns/functional/FO/classic/06_homePage/03_allProducts.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, foClassicCategoryPage, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/06_homePage/04_productQuickView.ts b/tests/UI/campaigns/functional/FO/classic/06_homePage/04_productQuickView.ts index e98bcad157614..10d44fc54a685 100644 --- a/tests/UI/campaigns/functional/FO/classic/06_homePage/04_productQuickView.ts +++ b/tests/UI/campaigns/functional/FO/classic/06_homePage/04_productQuickView.ts @@ -8,14 +8,15 @@ import {createProductTest, deleteProductTest} from '@commonTests/BO/catalog/prod import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, FakerProduct, foClassicCategoryPage, foClassicHomePage, foClassicModalQuickViewPage, + type Page, type ProductAttribute, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/06_homePage/05_selectColor.ts b/tests/UI/campaigns/functional/FO/classic/06_homePage/05_selectColor.ts index 7fa7a4793041c..6b98314792a6f 100644 --- a/tests/UI/campaigns/functional/FO/classic/06_homePage/05_selectColor.ts +++ b/tests/UI/campaigns/functional/FO/classic/06_homePage/05_selectColor.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/07_search/01_consultAutocompleteList.ts b/tests/UI/campaigns/functional/FO/classic/07_search/01_consultAutocompleteList.ts index fdc1a41298cbd..fc5857a2e395b 100644 --- a/tests/UI/campaigns/functional/FO/classic/07_search/01_consultAutocompleteList.ts +++ b/tests/UI/campaigns/functional/FO/classic/07_search/01_consultAutocompleteList.ts @@ -2,9 +2,10 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/07_search/02_searchProduct.ts b/tests/UI/campaigns/functional/FO/classic/07_search/02_searchProduct.ts index 6e1cef0109eb3..9729c40d9c1b2 100644 --- a/tests/UI/campaigns/functional/FO/classic/07_search/02_searchProduct.ts +++ b/tests/UI/campaigns/functional/FO/classic/07_search/02_searchProduct.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/07_search/03_searchNoResult.ts b/tests/UI/campaigns/functional/FO/classic/07_search/03_searchNoResult.ts index 67dbefbb0310c..e8d4284c4434a 100644 --- a/tests/UI/campaigns/functional/FO/classic/07_search/03_searchNoResult.ts +++ b/tests/UI/campaigns/functional/FO/classic/07_search/03_searchNoResult.ts @@ -2,10 +2,11 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicHomePage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/07_search/04_consultResultsList.ts b/tests/UI/campaigns/functional/FO/classic/07_search/04_consultResultsList.ts index 3bbb162a8b684..1fdb568c724d6 100644 --- a/tests/UI/campaigns/functional/FO/classic/07_search/04_consultResultsList.ts +++ b/tests/UI/campaigns/functional/FO/classic/07_search/04_consultResultsList.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/07_search/05_sortResultsList.ts b/tests/UI/campaigns/functional/FO/classic/07_search/05_sortResultsList.ts index 392d833b2c360..4c7b90e809279 100644 --- a/tests/UI/campaigns/functional/FO/classic/07_search/05_sortResultsList.ts +++ b/tests/UI/campaigns/functional/FO/classic/07_search/05_sortResultsList.ts @@ -2,10 +2,11 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicHomePage, foClassicSearchResultsPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/07_search/06_consultProductQuickView.ts b/tests/UI/campaigns/functional/FO/classic/07_search/06_consultProductQuickView.ts index 82b9bbf524e22..4f9b3232f0564 100644 --- a/tests/UI/campaigns/functional/FO/classic/07_search/06_consultProductQuickView.ts +++ b/tests/UI/campaigns/functional/FO/classic/07_search/06_consultProductQuickView.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicHomePage, foClassicModalQuickViewPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/01_navigateInCategories/01_consultCategoriesInHeader.ts b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/01_navigateInCategories/01_consultCategoriesInHeader.ts index 676b157cf6640..ed19f686db330 100644 --- a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/01_navigateInCategories/01_consultCategoriesInHeader.ts +++ b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/01_navigateInCategories/01_consultCategoriesInHeader.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataCategories, FakerCategory, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/01_navigateInCategories/02_breadcrumb.ts b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/01_navigateInCategories/02_breadcrumb.ts index a0d2547dd216d..badb9a16b597e 100644 --- a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/01_navigateInCategories/02_breadcrumb.ts +++ b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/01_navigateInCategories/02_breadcrumb.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataCategories, foClassicCategoryPage, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/01_navigateInCategories/03_sideBlockCategories.ts b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/01_navigateInCategories/03_sideBlockCategories.ts index 1d3deb47f251a..bf29067860c31 100644 --- a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/01_navigateInCategories/03_sideBlockCategories.ts +++ b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/01_navigateInCategories/03_sideBlockCategories.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataCategories, FakerCategory, foClassicCategoryPage, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/02_sortAndFilter/01_sortProducts.ts b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/02_sortAndFilter/01_sortProducts.ts index 93c9d56c5d3d8..c08c03cdac513 100644 --- a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/02_sortAndFilter/01_sortProducts.ts +++ b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/02_sortAndFilter/01_sortProducts.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, foClassicCategoryPage, foClassicHomePage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/02_sortAndFilter/02_filterProducts.ts b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/02_sortAndFilter/02_filterProducts.ts index 5405e058be4e7..a9cee635555f2 100644 --- a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/02_sortAndFilter/02_filterProducts.ts +++ b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/02_sortAndFilter/02_filterProducts.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, foClassicHomePage, foClassicCategoryPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/02_sortAndFilter/03_clearOneFilter.ts b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/02_sortAndFilter/03_clearOneFilter.ts index 121918a96f168..a6134987d9013 100644 --- a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/02_sortAndFilter/03_clearOneFilter.ts +++ b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/02_sortAndFilter/03_clearOneFilter.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, foClassicHomePage, foClassicCategoryPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/01_displayTags.ts b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/01_displayTags.ts index ef7f6acdc22f8..0c1a907cde37a 100644 --- a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/01_displayTags.ts +++ b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/01_displayTags.ts @@ -9,18 +9,19 @@ import addProductPage from '@pages/BO/catalog/products/add'; import pricingTab from '@pages/BO/catalog/products/add/pricingTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabStocksPage, boProductSettingsPage, + type BrowserContext, dataProducts, FakerProduct, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/02_pagination.ts b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/02_pagination.ts index 79e78496b6b34..b1ec38b147aff 100644 --- a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/02_pagination.ts +++ b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/02_pagination.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductSettingsPage, + type BrowserContext, foClassicCategoryPage, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/03_quickViewProducts.ts b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/03_quickViewProducts.ts index 5b34599492e33..a32f008a3c57c 100644 --- a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/03_quickViewProducts.ts +++ b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/03_quickViewProducts.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicHomePage, foClassicModalQuickViewPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/04_displayOnSaleFlag.ts b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/04_displayOnSaleFlag.ts index 26cc2fa211a98..8f6765b70b642 100644 --- a/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/04_displayOnSaleFlag.ts +++ b/tests/UI/campaigns/functional/FO/classic/08_menuAndNavigation/03_navigationAndDisplay/04_displayOnSaleFlag.ts @@ -8,13 +8,14 @@ import {deleteProductTest} from '@commonTests/BO/catalog/product'; import addProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/01_addToCart.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/01_addToCart.ts index 6f6507ad1c26d..d5188261b9413 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/01_addToCart.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/01_addToCart.ts @@ -5,18 +5,19 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import { + type BrowserContext, type CartProductDetails, dataProducts, foClassicCartPage, foClassicHomePage, foClassicModalQuickViewPage, foClassicSearchResultsPage, + type Page, type ProductAttribute, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_productPage_quickView_addToCart'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/02_changeQuantity.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/02_changeQuantity.ts index 9a3342d455725..7e49706ac5181 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/02_changeQuantity.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/02_changeQuantity.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicHomePage, foClassicModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/03_shareLinks.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/03_shareLinks.ts index 8a19b4493379c..8a5040c22f8f2 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/03_shareLinks.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/03_shareLinks.ts @@ -2,10 +2,11 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicHomePage, foClassicModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/04_displayOfTheProduct.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/04_displayOfTheProduct.ts index a57b78153b26b..b131d19434757 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/04_displayOfTheProduct.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/04_displayOfTheProduct.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicHomePage, foClassicModalQuickViewPage, + type Page, type ProductAttribute, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/05_closeModal.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/05_closeModal.ts index d1e4107bd998f..48af58169c773 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/05_closeModal.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/05_closeModal.ts @@ -2,10 +2,11 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicHomePage, foClassicModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/06_changeCombination.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/06_changeCombination.ts index a6b39521d0025..27994162f1574 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/06_changeCombination.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/06_changeCombination.ts @@ -2,10 +2,11 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicHomePage, foClassicModalQuickViewPage, + type Page, type ProductAttribute, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/07_changeImage.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/07_changeImage.ts index 0da056e4362d7..faa46661148a1 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/07_changeImage.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/01_quickView/07_changeImage.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import {createProductTest, deleteProductTest} from '@commonTests/BO/catalog/product'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, FakerProduct, foClassicHomePage, foClassicModalQuickViewPage, foClassicSearchResultsPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/01_addToCart.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/01_addToCart.ts index 68939b0d13621..79b6275004405 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/01_addToCart.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/01_addToCart.ts @@ -5,8 +5,8 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicCartPage, foClassicCategoryPage, @@ -14,6 +14,7 @@ import { foClassicModalQuickViewPage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/02_changeQuantity.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/02_changeQuantity.ts index b1a56e9d2cebb..c47b2559bb5db 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/02_changeQuantity.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/02_changeQuantity.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicCartPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/03_changeImage.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/03_changeImage.ts index ade091566a836..c31d6d95f2461 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/03_changeImage.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/03_changeImage.ts @@ -8,16 +8,17 @@ import {deleteProductTest} from '@commonTests/BO/catalog/product'; import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, + type BrowserContext, FakerProduct, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/04_shareLinks.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/04_shareLinks.ts index 5c6f972cd8ef0..3e26b5e9d9d73 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/04_shareLinks.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/04_shareLinks.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/05_addTextCustomization.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/05_addTextCustomization.ts index 538cdd10b84ee..cdc0e0eee69ac 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/05_addTextCustomization.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/05_addTextCustomization.ts @@ -9,13 +9,14 @@ import createProductPage from '@pages/BO/catalog/products/add'; import detailsTab from '@pages/BO/catalog/products/add/detailsTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/06_addFileCustomization.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/06_addFileCustomization.ts index d700ff8c1f7d8..61e06a635ce4b 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/06_addFileCustomization.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/06_addFileCustomization.ts @@ -9,13 +9,14 @@ import createProductPage from '@pages/BO/catalog/products/add'; import detailsTab from '@pages/BO/catalog/products/add/detailsTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/07_addRequiredCustomization.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/07_addRequiredCustomization.ts index 9dd85cc83c429..524ab91934002 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/07_addRequiredCustomization.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/07_addRequiredCustomization.ts @@ -9,13 +9,14 @@ import createProductPage from '@pages/BO/catalog/products/add'; import detailsTab from '@pages/BO/catalog/products/add/detailsTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/08_changeCombination.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/08_changeCombination.ts index c82f504664c6a..29534ec585dd7 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/08_changeCombination.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/08_changeCombination.ts @@ -13,17 +13,18 @@ import createProductsPage from '@pages/BO/catalog/products/add'; import combinationsTab from '@pages/BO/catalog/products/add/combinationsTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerAttribute, FakerAttributeValue, FakerProduct, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, type ProductAttribute, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/09_changeColor.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/09_changeColor.ts index 2b070ab669937..bcaaa6173bd49 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/09_changeColor.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/09_changeColor.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/10_displayDiscount.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/10_displayDiscount.ts index cdc48facdbee0..3dbcb13d5e233 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/10_displayDiscount.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/10_displayDiscount.ts @@ -9,15 +9,16 @@ import createProductPage from '@pages/BO/catalog/products/add'; import pricingTab from '@pages/BO/catalog/products/add/pricingTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicCategoryPage, foClassicHomePage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/11_displayVolumeDiscount.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/11_displayVolumeDiscount.ts index b6dc6807bafb6..0766bc3beeb7d 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/11_displayVolumeDiscount.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/11_displayVolumeDiscount.ts @@ -12,14 +12,15 @@ import pricingTab from '@pages/BO/catalog/products/add/pricingTab'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicCartPage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/12_displayTag.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/12_displayTag.ts index 4b9193dd35f82..e5eac5ff83899 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/12_displayTag.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/12_displayTag.ts @@ -9,15 +9,16 @@ import createProductPage from '@pages/BO/catalog/products/add'; import optionsTab from '@pages/BO/catalog/products/add/optionsTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicCategoryPage, foClassicHomePage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/13_displayOnSaleLabel.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/13_displayOnSaleLabel.ts index 632d76abac67e..da64caa8bab91 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/13_displayOnSaleLabel.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/13_displayOnSaleLabel.ts @@ -8,15 +8,16 @@ import {deleteProductTest} from '@commonTests/BO/catalog/product'; import createProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicCategoryPage, foClassicHomePage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/14_displaySpecificDeliveryTime.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/14_displaySpecificDeliveryTime.ts index 54a921995af8f..434437ee8f394 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/14_displaySpecificDeliveryTime.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/14_displaySpecificDeliveryTime.ts @@ -8,15 +8,16 @@ import {deleteProductTest} from '@commonTests/BO/catalog/product'; import createProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabShippingPage, boProductsCreateTabStocksPage, + type BrowserContext, FakerProduct, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/15_displayPackContentAndLinkProduct.ts b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/15_displayPackContentAndLinkProduct.ts index 23ce5e1dd53b2..b8d3a594f9f44 100644 --- a/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/15_displayPackContentAndLinkProduct.ts +++ b/tests/UI/campaigns/functional/FO/classic/09_productPage/02_productPage/15_displayPackContentAndLinkProduct.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/10_cart/01_modal/01_displayModal.ts b/tests/UI/campaigns/functional/FO/classic/10_cart/01_modal/01_displayModal.ts index 0c71e1d935b70..c9e9149fac175 100644 --- a/tests/UI/campaigns/functional/FO/classic/10_cart/01_modal/01_displayModal.ts +++ b/tests/UI/campaigns/functional/FO/classic/10_cart/01_modal/01_displayModal.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicCartPage, foClassicHomePage, foClassicModalQuickViewPage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/10_cart/01_modal/02_continueShopping.ts b/tests/UI/campaigns/functional/FO/classic/10_cart/01_modal/02_continueShopping.ts index e68b0f0eca537..d452fdc930ce1 100644 --- a/tests/UI/campaigns/functional/FO/classic/10_cart/01_modal/02_continueShopping.ts +++ b/tests/UI/campaigns/functional/FO/classic/10_cart/01_modal/02_continueShopping.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicCartPage, foClassicHomePage, foClassicModalQuickViewPage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/01_changeQuantity.ts b/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/01_changeQuantity.ts index f1da197f8b7b4..6b63353c4ad27 100644 --- a/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/01_changeQuantity.ts +++ b/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/01_changeQuantity.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicCartPage, foClassicHomePage, foClassicModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/02_deleteProduct.ts b/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/02_deleteProduct.ts index 2a93f67878e30..7d053b3f4e6d7 100644 --- a/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/02_deleteProduct.ts +++ b/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/02_deleteProduct.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicCartPage, foClassicHomePage, foClassicModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/03_addPromoCode.ts b/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/03_addPromoCode.ts index 5dcf50a774ecf..03de791b071cc 100644 --- a/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/03_addPromoCode.ts +++ b/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/03_addPromoCode.ts @@ -8,13 +8,14 @@ import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {createCartRuleTest, deleteCartRuleTest} from '@commonTests/BO/catalog/cartRule'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, FakerCartRule, foClassicCartPage, foClassicHomePage, foClassicModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/04_displayModalProductCustomization.ts b/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/04_displayModalProductCustomization.ts index 9f5b62ca85b4b..645545833cae1 100644 --- a/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/04_displayModalProductCustomization.ts +++ b/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/04_displayModalProductCustomization.ts @@ -5,13 +5,14 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicCartPage, foClassicHomePage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/05_displayDiscount.ts b/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/05_displayDiscount.ts index 79a851b64f6e3..9286d14628482 100644 --- a/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/05_displayDiscount.ts +++ b/tests/UI/campaigns/functional/FO/classic/10_cart/02_cart/05_displayDiscount.ts @@ -8,9 +8,9 @@ import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {createCartRuleTest, deleteCartRuleTest} from '@commonTests/BO/catalog/cartRule'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, FakerCartRule, foClassicCartPage, @@ -18,6 +18,7 @@ import { foClassicHomePage, foClassicModalQuickViewPage, foClassicSearchResultsPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/01_orderAsAGuest.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/01_orderAsAGuest.ts index 37e4370ad7fad..98c371530dac4 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/01_orderAsAGuest.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/01_orderAsAGuest.ts @@ -2,6 +2,7 @@ import testContext from '@utils/testContext'; import { + type BrowserContext, dataPaymentMethods, FakerAddress, FakerCustomer, @@ -10,11 +11,11 @@ import { foClassicCheckoutOrderConfirmationPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_checkout_personalInformation_orderAsAGuest'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/02_signIn.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/02_signIn.ts index 84eb82468bee6..27146d29f72fa 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/02_signIn.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/02_signIn.ts @@ -2,17 +2,18 @@ import testContext from '@utils/testContext'; import { + type BrowserContext, dataCustomers, FakerCustomer, foClassicCartPage, foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_checkout_personalInformation_signIn'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/03_createAccount.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/03_createAccount.ts index c867f7337e4c2..77d5a919abf63 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/03_createAccount.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/03_createAccount.ts @@ -6,6 +6,7 @@ import {resetSmtpConfigTest, setupSmtpConfigTest} from '@commonTests/BO/advanced import {deleteCustomerTest} from '@commonTests/BO/customers/customer'; import { + type BrowserContext, dataPaymentMethods, FakerAddress, FakerCustomer, @@ -16,12 +17,12 @@ import { foClassicProductPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_checkout_personalInformation_createAccount'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/05_passwordReminder.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/05_passwordReminder.ts index e7c2971f45481..56aea2c0b94b8 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/05_passwordReminder.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/01_personalInformation/05_passwordReminder.ts @@ -7,6 +7,7 @@ import {resetSmtpConfigTest, setupSmtpConfigTest} from '@commonTests/BO/advanced import {createAccountTest} from '@commonTests/FO/classic/account'; import { + type BrowserContext, FakerCustomer, foClassicCartPage, foClassicCheckoutPage, @@ -16,12 +17,12 @@ import { foClassicProductPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_checkout_personalInformation_passwordReminder'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/01_showDetails.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/01_showDetails.ts index 668f9368a0655..d7c8bcb7730d1 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/01_showDetails.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/01_showDetails.ts @@ -5,8 +5,8 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicCartPage, foClassicCheckoutPage, @@ -14,6 +14,7 @@ import { foClassicLoginPage, foClassicModalQuickViewPage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/01_useSameInvoiceAddress.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/01_useSameInvoiceAddress.ts index 30d0937dc5b9a..082c15b5e284c 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/01_useSameInvoiceAddress.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/01_useSameInvoiceAddress.ts @@ -2,6 +2,7 @@ import testContext from '@utils/testContext'; import { + type BrowserContext, dataPaymentMethods, dataProducts, FakerAddress, @@ -11,11 +12,11 @@ import { foClassicCheckoutOrderConfirmationPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_checkout_addresses_useSameInvoiceAddress'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/02_useDifferentInvoiceAddress.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/02_useDifferentInvoiceAddress.ts index 76074e0a12f5c..2b0515ab453ae 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/02_useDifferentInvoiceAddress.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/02_useDifferentInvoiceAddress.ts @@ -2,6 +2,7 @@ import testContext from '@utils/testContext'; import { + type BrowserContext, dataPaymentMethods, dataProducts, FakerAddress, @@ -11,11 +12,11 @@ import { foClassicCheckoutOrderConfirmationPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_checkout_addresses_useDifferentInvoiceAddress'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/03_selectAddress.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/03_selectAddress.ts index 91e043e0ff527..621791c782a6f 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/03_selectAddress.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/03_selectAddress.ts @@ -2,17 +2,18 @@ import testContext from '@utils/testContext'; import { + type BrowserContext, dataCustomers, dataProducts, foClassicCartPage, foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_checkout_addresses_selectAddress'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/04_CRUDAddress.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/04_CRUDAddress.ts index de5084ab79a77..dc0e9a508b33f 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/04_CRUDAddress.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/04_CRUDAddress.ts @@ -6,6 +6,7 @@ import {deleteCustomerTest} from '@commonTests/BO/customers/customer'; import {createAccountTest} from '@commonTests/FO/classic/account'; import { + type BrowserContext, dataProducts, FakerAddress, FakerCustomer, @@ -13,11 +14,11 @@ import { foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_checkout_addresses_CRUDAddress'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/05_billingAddressWhenLoggedIn.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/05_billingAddressWhenLoggedIn.ts index c250c1fba32c8..01748aa16712d 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/05_billingAddressWhenLoggedIn.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/02_addresses/05_billingAddressWhenLoggedIn.ts @@ -6,16 +6,17 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import { + type BrowserContext, dataCustomers, foClassicCartPage, foClassicCheckoutPage, foClassicHomePage, foClassicModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_checkout_addresses_billingAddressWhenLoggedIn'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/02_displayOfTotals.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/02_displayOfTotals.ts index 992579fa1458a..ed0835e350e82 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/02_displayOfTotals.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/02_displayOfTotals.ts @@ -8,8 +8,8 @@ import {createCartRuleTest, deleteCartRuleTest} from '@commonTests/BO/catalog/ca import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataCarriers, dataCustomers, dataProducts, @@ -20,6 +20,7 @@ import { foClassicLoginPage, foClassicModalQuickViewPage, foClassicSearchResultsPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/03_shippingMethods/01_addOrderMessage.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/03_shippingMethods/01_addOrderMessage.ts index 0c5ac5e453657..3ec2adc996d0f 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/03_shippingMethods/01_addOrderMessage.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/03_shippingMethods/01_addOrderMessage.ts @@ -6,6 +6,7 @@ import {orderHistoryPage} from '@pages/FO/classic/myAccount/orderHistory'; import {orderDetailsPage} from '@pages/FO/classic/myAccount/orderDetails'; import { + type BrowserContext, dataCarriers, dataCustomers, dataPaymentMethods, @@ -16,11 +17,11 @@ import { foClassicLoginPage, foClassicMyAccountPage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_checkout_shippingMethods_addOrderMessage'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/03_shippingMethods/02_selectCarrier.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/03_shippingMethods/02_selectCarrier.ts index 697b85d3100ad..134ec776db7c9 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/03_shippingMethods/02_selectCarrier.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/03_shippingMethods/02_selectCarrier.ts @@ -6,6 +6,7 @@ import {deleteCustomerTest} from '@commonTests/BO/customers/customer'; import {createAccountTest} from '@commonTests/FO/classic/account'; import { + type BrowserContext, dataCarriers, dataProducts, FakerAddress, @@ -14,11 +15,11 @@ import { foClassicCheckoutPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_checkout_shippingMethods_selectCarrier'; diff --git a/tests/UI/campaigns/functional/FO/classic/11_checkout/04_payment/01_choosePaymentMethod.ts b/tests/UI/campaigns/functional/FO/classic/11_checkout/04_payment/01_choosePaymentMethod.ts index 948cb9bb1036d..c12bffc8306a3 100644 --- a/tests/UI/campaigns/functional/FO/classic/11_checkout/04_payment/01_choosePaymentMethod.ts +++ b/tests/UI/campaigns/functional/FO/classic/11_checkout/04_payment/01_choosePaymentMethod.ts @@ -8,7 +8,7 @@ import {resetSmtpConfigTest, setupSmtpConfigTest} from '@commonTests/BO/advanced import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import { - // Import data + type BrowserContext, dataCustomers, dataPaymentMethods, type FakerPaymentMethod, @@ -19,12 +19,12 @@ import { foClassicModalQuickViewPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_classic_checkout_payment_choosePaymentMethod'; diff --git a/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/01_listOfOrderedProducts.ts b/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/01_listOfOrderedProducts.ts index 6bbd826e37ca8..130e2dc02a837 100644 --- a/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/01_listOfOrderedProducts.ts +++ b/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/01_listOfOrderedProducts.ts @@ -8,6 +8,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCarriers, dataCustomers, dataPaymentMethods, @@ -18,11 +19,11 @@ import { foClassicHomePage, foClassicModalQuickViewPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_classic_orderConfirmation_listOfOrderedProducts'; diff --git a/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/02_displayOfProductCustomization.ts b/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/02_displayOfProductCustomization.ts index 23e4745b8c9de..b3013c72be0e7 100644 --- a/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/02_displayOfProductCustomization.ts +++ b/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/02_displayOfProductCustomization.ts @@ -1,6 +1,7 @@ import testContext from '@utils/testContext'; import { + type BrowserContext, dataCarriers, dataPaymentMethods, dataCustomers, @@ -10,11 +11,11 @@ import { foClassicCheckoutOrderConfirmationPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_classic_orderConfirmation_displayOfProductCustomization'; diff --git a/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/03_recapPaymentMethod.ts b/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/03_recapPaymentMethod.ts index ecace57c3262b..c783f8746b8a8 100644 --- a/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/03_recapPaymentMethod.ts +++ b/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/03_recapPaymentMethod.ts @@ -7,6 +7,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCarriers, dataCustomers, dataPaymentMethods, @@ -17,11 +18,11 @@ import { foClassicHomePage, foClassicModalQuickViewPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_classic_orderConfirmation_recapPaymentMethod'; diff --git a/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/04_popularProduct.ts b/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/04_popularProduct.ts index 1ea29556813a9..2cbdb51fbbe5c 100644 --- a/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/04_popularProduct.ts +++ b/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/04_popularProduct.ts @@ -5,6 +5,7 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import { + type BrowserContext, dataCarriers, dataCustomers, dataPaymentMethods, @@ -16,11 +17,11 @@ import { foClassicHomePage, foClassicModalQuickViewPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_classic_orderConfirmation_popularProduct'; diff --git a/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/05_contactUs.ts b/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/05_contactUs.ts index dd9dba82ebbdd..bedbd440df803 100644 --- a/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/05_contactUs.ts +++ b/tests/UI/campaigns/functional/FO/classic/12_orderConfirmation/05_contactUs.ts @@ -11,6 +11,7 @@ import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, @@ -23,12 +24,12 @@ import { foClassicLoginPage, foClassicModalQuickViewPage, foClassicMyAccountPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_classic_orderConfirmation_contactUs'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/01_login/01_passwordReminder.ts b/tests/UI/campaigns/functional/FO/hummingbird/01_login/01_passwordReminder.ts index 9be47fb532d50..6862952813668 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/01_login/01_passwordReminder.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/01_login/01_passwordReminder.ts @@ -8,6 +8,7 @@ import createAccountTest from '@commonTests/FO/hummingbird/account'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import { + type BrowserContext, FakerCustomer, foHummingbirdHomePage, foHummingbirdLoginPage, @@ -15,12 +16,12 @@ import { foHummingbirdPasswordReminderPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_login_passwordReminder'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/01_login/02_login.ts b/tests/UI/campaigns/functional/FO/hummingbird/01_login/02_login.ts index 2747faecfbdb8..35868fd2d3d51 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/01_login/02_login.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/01_login/02_login.ts @@ -5,15 +5,16 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import { + type BrowserContext, dataCustomers, FakerCustomer, foHummingbirdHomePage, foHummingbirdLoginPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_login_login'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/01_login/03_logout.ts b/tests/UI/campaigns/functional/FO/hummingbird/01_login/03_logout.ts index 5956fc16ba07d..6c7266560d21a 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/01_login/03_logout.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/01_login/03_logout.ts @@ -5,15 +5,16 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import { + type BrowserContext, dataCustomers, foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_login_logout'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/01_login/04_createAccount.ts b/tests/UI/campaigns/functional/FO/hummingbird/01_login/04_createAccount.ts index e7405e69cf34b..f419d90b2ddb1 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/01_login/04_createAccount.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/01_login/04_createAccount.ts @@ -9,14 +9,15 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import createAccountPage from '@pages/FO/hummingbird/myAccount/add'; import { + type BrowserContext, FakerCustomer, foHummingbirdHomePage, foHummingbirdLoginPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_login_createAccount'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/01_checkLinksInHeader.ts b/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/01_checkLinksInHeader.ts index 99e79f2b13254..8810dbb00936d 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/01_checkLinksInHeader.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/01_checkLinksInHeader.ts @@ -8,6 +8,7 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import { + type BrowserContext, dataCustomers, foHummingbirdCartPage, foHummingbirdContactUsPage, @@ -15,11 +16,11 @@ import { foHummingbirdLoginPage, foHummingbirdModalQuickViewPage, foHummingbirdMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_headerAndFooter_checkLinksInHeader'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/02_checkLinksInFooter.ts b/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/02_checkLinksInFooter.ts index 157bc7848d0c3..3c4e834e0e38c 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/02_checkLinksInFooter.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/02_checkLinksInFooter.ts @@ -28,6 +28,7 @@ import storesPage from '@pages/FO/hummingbird/stores'; import termsAndConditionsOfUsePage from '@pages/FO/hummingbird/termsAndConditionsOfUse'; import { + type BrowserContext, dataCustomers, FakerCustomer, foHummingbirdAboutUsPage, @@ -35,11 +36,11 @@ import { foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyWishlistsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_headerAndFooter_checkLinksInFooter'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/03_changeCurrency.ts b/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/03_changeCurrency.ts index 275df296a48c4..50d572e0cc89e 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/03_changeCurrency.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/03_changeCurrency.ts @@ -11,15 +11,16 @@ import { boLoginPage, boLocalizationPage, boCurrenciesPage, + type BrowserContext, dataCurrencies, dataProducts, foHummingbirdHomePage, foHummingbirdSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_headerAndFooter_changeCurrency'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/04_changeLanguage.ts b/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/04_changeLanguage.ts index ebc0f40a64357..777d8ef949388 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/04_changeLanguage.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/02_headerAndFooter/04_changeLanguage.ts @@ -5,14 +5,15 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLanguagesPage, boLocalizationPage, boLoginPage, + type BrowserContext, dataLanguages, foHummingbirdHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/01_creditSlips/01_consultCreditSlip.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/01_creditSlips/01_consultCreditSlip.ts index 3239a222e65da..580e43bdd77a7 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/01_creditSlips/01_consultCreditSlip.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/01_creditSlips/01_consultCreditSlip.ts @@ -22,6 +22,7 @@ import { boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataOrderStatuses, dataPaymentMethods, dataProducts, @@ -33,13 +34,13 @@ import { foHummingbirdMyAccountPage, type MailDev, type MailDevEmail, + type Page, utilsFile, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_userAccount_creditSlips_consultCreditSlip'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/01_editInformation.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/01_editInformation.ts index 11d52e400b18a..4cb86b2dbdef1 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/01_editInformation.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/01_editInformation.ts @@ -10,15 +10,16 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import accountIdentityPage from '@pages/FO/hummingbird/myAccount/identity'; import { + type BrowserContext, FakerCustomer, foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_userAccount_editInformation'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_CRUDAddress.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_CRUDAddress.ts index 36f424014b888..c872275c5acfc 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_CRUDAddress.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_CRUDAddress.ts @@ -11,6 +11,7 @@ import addAddressPage from '@pages/FO/hummingbird/myAccount/addAddress'; import addressesPage from '@pages/FO/hummingbird/myAccount/addresses'; import { + type BrowserContext, dataProducts, FakerAddress, FakerCustomer, @@ -20,11 +21,11 @@ import { foHummingbirdLoginPage, foHummingbirdMyAccountPage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_userAccount_CRUDAddress'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_consultDetailsAndReorder.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_consultDetailsAndReorder.ts index 142310027dd25..f793649265405 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_consultDetailsAndReorder.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_consultDetailsAndReorder.ts @@ -13,6 +13,7 @@ import orderHistoryPage from '@pages/FO/hummingbird/myAccount/orderHistory'; import orderDetailsPage from '@pages/FO/hummingbird/myAccount/orderDetails'; import { + type BrowserContext, dataOrderStatuses, dataPaymentMethods, dataProducts, @@ -24,12 +25,12 @@ import { foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyAccountPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_userAccount_orderHistory_consultDetailsAndReorder'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/01_reorderFromOrderDetails.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/01_reorderFromOrderDetails.ts index 0f90e4ba7f27d..d0c7bed408581 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/01_reorderFromOrderDetails.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/01_reorderFromOrderDetails.ts @@ -10,6 +10,7 @@ import orderDetailsPage from '@pages/FO/hummingbird/myAccount/orderDetails'; import orderHistoryPage from '@pages/FO/hummingbird/myAccount/orderHistory'; import { + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, @@ -19,11 +20,11 @@ import { foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_hummingbird_userAccount_orderHistory_orderDetails_reorderFromOrderDetails'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/02_downloadInvoice.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/02_downloadInvoice.ts index f26fd78515c4c..cfbe9c878a56e 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/02_downloadInvoice.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/02_downloadInvoice.ts @@ -17,6 +17,7 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -25,12 +26,12 @@ import { foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyAccountPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_hummingbird_userAccount_orderHistory_orderDetails_downloadInvoice'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/03_requestMerchandiseReturn.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/03_requestMerchandiseReturn.ts index ea8923da34429..e8d21297912c2 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/03_requestMerchandiseReturn.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/03_requestMerchandiseReturn.ts @@ -22,6 +22,7 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -30,12 +31,12 @@ import { foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyAccountPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_hummingbird_userAccount_orderHistory_orderDetails_requestMerchandiseReturn'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/04_sendMessage.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/04_sendMessage.ts index eb2a74353fd14..2733b7e6df6ed 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/04_sendMessage.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/01_orderDetails/04_sendMessage.ts @@ -16,6 +16,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -29,13 +30,13 @@ import { foHummingbirdProductPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; import {faker} from '@faker-js/faker'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_userAccount_orderHistory_orderDetails_sendMessage'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/03_downloadInvoice.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/03_downloadInvoice.ts index e39364a70bc09..baa2f414fb38b 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/03_downloadInvoice.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/02_orderHistory/03_downloadInvoice.ts @@ -16,6 +16,7 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockTabListPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -24,12 +25,12 @@ import { foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyAccountPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_hummingbird_userAccount_orderHistory_downloadInvoice'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/03_merchandiseReturns/01_consultReturnDetails.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/03_merchandiseReturns/01_consultReturnDetails.ts index 7ea9eb42d5754..b988050629eb9 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/03_merchandiseReturns/01_consultReturnDetails.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/03_merchandiseReturns/01_consultReturnDetails.ts @@ -21,6 +21,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataOrderReturnStatuses, dataOrderStatuses, @@ -30,11 +31,11 @@ import { foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_userAccount_merchandiseReturns_consultReturnDetails'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/03_merchandiseReturns/02_checkOrderReturnPDF.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/03_merchandiseReturns/02_checkOrderReturnPDF.ts index 4166031ef70db..9edee0a59d83b 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/03_merchandiseReturns/02_checkOrderReturnPDF.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/03_merchandiseReturns/02_checkOrderReturnPDF.ts @@ -21,6 +21,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataAddresses, dataCustomers, dataOrderReturnStatuses, @@ -31,13 +32,13 @@ import { foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyAccountPage, + type Page, utilsDate, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_userAccount_merchandiseReturns_checkOrderReturnPDF'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/03_viewVoucher.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/03_viewVoucher.ts index a878caae53712..af061919ffddb 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/03_viewVoucher.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/03_viewVoucher.ts @@ -11,17 +11,18 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import foVouchersPage from '@pages/FO/hummingbird/myAccount/vouchers'; import { + type BrowserContext, FakerCartRule, FakerCustomer, foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyAccountPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_userAccount_viewVouchers'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/04_getGDPRDataInPDF.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/04_getGDPRDataInPDF.ts index c00e822a948ca..c878c23031ba5 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/04_getGDPRDataInPDF.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/04_getGDPRDataInPDF.ts @@ -13,13 +13,13 @@ import createAccountPage from '@pages/FO/hummingbird/myAccount/add'; import gdprPersonalDataPage from '@pages/FO/hummingbird/myAccount/gdprPersonalData'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boCustomersPage, boDashboardPage, boLoginPage, boOrdersPage, boShoppingCartsPage, + type BrowserContext, dataPaymentMethods, dataProducts, FakerContactMessage, @@ -33,6 +33,7 @@ import { foHummingbirdLoginPage, foHummingbirdMyAccountPage, foHummingbirdProductPage, + type Page, utilsCore, utilsDate, utilsFile, diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/05_getGDPRDataInCSV.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/05_getGDPRDataInCSV.ts index 1912447a16a30..14189055debb1 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/05_getGDPRDataInCSV.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/05_getGDPRDataInCSV.ts @@ -19,6 +19,7 @@ import { boLoginPage, boOrdersPage, boShoppingCartsPage, + type BrowserContext, dataPaymentMethods, dataProducts, FakerAddress, @@ -32,13 +33,13 @@ import { foHummingbirdLoginPage, foHummingbirdMyAccountPage, foHummingbirdProductPage, + type Page, utilsCore, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_userAccount_getGDPRDataInCSV'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/06_contactUsOnGDPRPage.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/06_contactUsOnGDPRPage.ts index 074a63652e88e..076c88495b277 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/06_contactUsOnGDPRPage.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/06_contactUsOnGDPRPage.ts @@ -12,6 +12,7 @@ import gdprPersonalDataPage from '@pages/FO/hummingbird/myAccount/gdprPersonalDa import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataOrders, FakerContactMessage, @@ -19,12 +20,12 @@ import { foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyAccountPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_userAccount_contactUsOnGDPRPage'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/07_logOut.ts b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/07_logOut.ts index 37cea4925ebe3..1965af104f675 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/07_logOut.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/03_userAccount/07_logOut.ts @@ -5,15 +5,16 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import { + type BrowserContext, dataCustomers, foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_userAccount_logOut'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/04_newsletter/01_subscribeNewsletter.ts b/tests/UI/campaigns/functional/FO/hummingbird/04_newsletter/01_subscribeNewsletter.ts index e2c3de4dc5780..af68b1f1aad4d 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/04_newsletter/01_subscribeNewsletter.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/04_newsletter/01_subscribeNewsletter.ts @@ -14,17 +14,18 @@ import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCustomers, FakerModule, foHummingbirdHomePage, foHummingbirdLoginPage, foHummingbirdMyAccountPage, modPsEmailSubscriptionBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_hummingbird_newsletter_subscribeNewsletter'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/01_checkMailtoLink.ts b/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/01_checkMailtoLink.ts index 74fcc69bdfe2b..a2aa9a9800869 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/01_checkMailtoLink.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/01_checkMailtoLink.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataEmployees, foHummingbirdContactUsPage, foHummingbirdHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/02_sendMessageWithCustomer.ts b/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/02_sendMessageWithCustomer.ts index 4076a59ea88b6..3d0132488e402 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/02_sendMessageWithCustomer.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/02_sendMessageWithCustomer.ts @@ -14,6 +14,7 @@ import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCustomers, dataModules, dataOrders, @@ -23,13 +24,13 @@ import { foHummingbirdLoginPage, type MailDev, type MailDevEmail, + type Page, utilsFile, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_contactUs_sendMessageWithCustomer'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/03_sendMessageAsAnonymous.ts b/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/03_sendMessageAsAnonymous.ts index e859bdf05da1f..2cf58657e98c9 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/03_sendMessageAsAnonymous.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/03_sendMessageAsAnonymous.ts @@ -14,6 +14,7 @@ import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCustomers, dataModules, FakerContactMessage, @@ -22,13 +23,13 @@ import { foHummingbirdLoginPage, type MailDev, type MailDevEmail, + type Page, utilsFile, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_contactUs_sendMessageAsAnonymous'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/04_addAttachment.ts b/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/04_addAttachment.ts index 8f634e3c4f60b..b7f83c4ed8630 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/04_addAttachment.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/05_contactUs/04_addAttachment.ts @@ -12,18 +12,19 @@ import viewPage from '@pages/BO/customerService/customerService/view'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataOrders, FakerContactMessage, foHummingbirdContactUsPage, foHummingbirdHomePage, foHummingbirdLoginPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_contactUs_addAttachment'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/01_checkSlider.ts b/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/01_checkSlider.ts index 76a2fe6c4056d..c2a9975f375c7 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/01_checkSlider.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/01_checkSlider.ts @@ -5,9 +5,10 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foHummingbirdHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/02_displaySomeProducts.ts b/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/02_displaySomeProducts.ts index 6763573a6dcbf..91ef5232859de 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/02_displaySomeProducts.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/02_displaySomeProducts.ts @@ -8,10 +8,11 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import newProductsPage from '@pages/FO/hummingbird/newProducts'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foHummingbirdCategoryPage, foHummingbirdHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/03_allProducts.ts b/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/03_allProducts.ts index 147d77c1b0a60..5c4b741130e85 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/03_allProducts.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/03_allProducts.ts @@ -5,13 +5,14 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, foHummingbirdHomePage, foHummingbirdCategoryPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/04_productQuickView.ts b/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/04_productQuickView.ts index d1cf6f103297a..7ba1dfd18cee2 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/04_productQuickView.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/04_productQuickView.ts @@ -9,13 +9,14 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, FakerProduct, foHummingbirdCategoryPage, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, + type Page, type ProductAttribute, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/05_selectColor.ts b/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/05_selectColor.ts index 704b528bbcbaf..a234cf8c97ce6 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/05_selectColor.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/06_homePage/05_selectColor.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foHummingbirdHomePage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/07_search/01_consultAutoCompleteList.ts b/tests/UI/campaigns/functional/FO/hummingbird/07_search/01_consultAutoCompleteList.ts index 34f33941770ef..9ad6eaa124d90 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/07_search/01_consultAutoCompleteList.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/07_search/01_consultAutoCompleteList.ts @@ -5,9 +5,10 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foHummingbirdHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/07_search/02_searchProductAndValidate.ts b/tests/UI/campaigns/functional/FO/hummingbird/07_search/02_searchProductAndValidate.ts index 3acdf5717ab5e..7339afbbdcdc2 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/07_search/02_searchProductAndValidate.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/07_search/02_searchProductAndValidate.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foHummingbirdHomePage, foHummingbirdProductPage, foHummingbirdSearchResultsPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/07_search/03_searchNoResult.ts b/tests/UI/campaigns/functional/FO/hummingbird/07_search/03_searchNoResult.ts index f7efa18f3a8e9..2d6cedcc94646 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/07_search/03_searchNoResult.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/07_search/03_searchNoResult.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foHummingbirdHomePage, foHummingbirdSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/07_search/04_consultResultsList.ts b/tests/UI/campaigns/functional/FO/hummingbird/07_search/04_consultResultsList.ts index f604859a8550c..13254b115a97d 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/07_search/04_consultResultsList.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/07_search/04_consultResultsList.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foHummingbirdHomePage, foHummingbirdProductPage, foHummingbirdSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/07_search/05_sortResultsList.ts b/tests/UI/campaigns/functional/FO/hummingbird/07_search/05_sortResultsList.ts index 2945945415872..3ea297470433f 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/07_search/05_sortResultsList.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/07_search/05_sortResultsList.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foHummingbirdHomePage, foHummingbirdSearchResultsPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/07_search/06_consultProductQuickView.ts b/tests/UI/campaigns/functional/FO/hummingbird/07_search/06_consultProductQuickView.ts index cd8458b25f65c..2a1cdeb2e669a 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/07_search/06_consultProductQuickView.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/07_search/06_consultProductQuickView.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, foHummingbirdSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/01_navigateInCategories/01_consultCategoriesInHeader.ts b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/01_navigateInCategories/01_consultCategoriesInHeader.ts index d099703abd6f6..fa231041c0a17 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/01_navigateInCategories/01_consultCategoriesInHeader.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/01_navigateInCategories/01_consultCategoriesInHeader.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataCategories, FakerCategory, foHummingbirdHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/01_navigateInCategories/02_breadcrumb.ts b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/01_navigateInCategories/02_breadcrumb.ts index 93cf223dc624c..137bf24329363 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/01_navigateInCategories/02_breadcrumb.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/01_navigateInCategories/02_breadcrumb.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataCategories, foHummingbirdCategoryPage, foHummingbirdHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/01_navigateInCategories/03_sideBlockCategories.ts b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/01_navigateInCategories/03_sideBlockCategories.ts index 544ad1ab60878..3f35471eb01dd 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/01_navigateInCategories/03_sideBlockCategories.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/01_navigateInCategories/03_sideBlockCategories.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataCategories, FakerCategory, foHummingbirdCategoryPage, foHummingbirdHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/02_sortAndFilter/01_sortProducts.ts b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/02_sortAndFilter/01_sortProducts.ts index 33093997fd39a..f0f02e88375be 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/02_sortAndFilter/01_sortProducts.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/02_sortAndFilter/01_sortProducts.ts @@ -5,14 +5,15 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, foHummingbirdCategoryPage, foHummingbirdHomePage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/02_sortAndFilter/02_filterProducts.ts b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/02_sortAndFilter/02_filterProducts.ts index 3d3b17bc54762..380d983291dda 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/02_sortAndFilter/02_filterProducts.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/02_sortAndFilter/02_filterProducts.ts @@ -5,14 +5,15 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, foHummingbirdCategoryPage, foHummingbirdHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/02_sortAndFilter/03_clearFilters.ts b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/02_sortAndFilter/03_clearFilters.ts index 039beb05fa5d5..cc8d0d934a286 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/02_sortAndFilter/03_clearFilters.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/02_sortAndFilter/03_clearFilters.ts @@ -5,14 +5,15 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductSettingsPage, + type BrowserContext, foHummingbirdCategoryPage, foHummingbirdHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/01_displayTags.ts b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/01_displayTags.ts index 482db13406369..fecbfcbc5b749 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/01_displayTags.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/01_displayTags.ts @@ -10,18 +10,19 @@ import addProductPage from '@pages/BO/catalog/products/add'; import pricingTab from '@pages/BO/catalog/products/add/pricingTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabStocksPage, boProductSettingsPage, + type BrowserContext, dataProducts, FakerProduct, foHummingbirdHomePage, foHummingbirdProductPage, foHummingbirdSearchResultsPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/02_pagination.ts b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/02_pagination.ts index 221b73bd752e9..fae99b74d2092 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/02_pagination.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/02_pagination.ts @@ -5,13 +5,14 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductSettingsPage, + type BrowserContext, foHummingbirdCategoryPage, foHummingbirdHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/03_quickViewProduct.ts b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/03_quickViewProduct.ts index 99de0a96a0a49..a8d8e4649dd09 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/03_quickViewProduct.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/03_quickViewProduct.ts @@ -8,12 +8,13 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, foHummingbirdSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/04_displayOnSaleFlag.ts b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/04_displayOnSaleFlag.ts index 67f4ed5bd97b7..94b5af8142ddc 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/04_displayOnSaleFlag.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/08_menuAndNavigation/03_navigationAndDisplay/04_displayOnSaleFlag.ts @@ -9,13 +9,14 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import addProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foHummingbirdProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/01_addToCart.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/01_addToCart.ts index 11711e53bff29..31d0798f80ef2 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/01_addToCart.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/01_addToCart.ts @@ -8,18 +8,19 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import { + type BrowserContext, type CartProductDetails, dataProducts, foHummingbirdCartPage, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, foHummingbirdSearchResultsPage, + type Page, type ProductAttribute, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_productPage_quickView_addToCart'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/02_changeQuantity.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/02_changeQuantity.ts index 5e75ed916e02b..02c848fb5dab7 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/02_changeQuantity.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/02_changeQuantity.ts @@ -8,10 +8,11 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/03_shareLinks.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/03_shareLinks.ts index 4ee07abcf9580..074b490783931 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/03_shareLinks.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/03_shareLinks.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/04_displayOfTheProduct.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/04_displayOfTheProduct.ts index fe5f0e66bc2ab..1513a27f143b8 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/04_displayOfTheProduct.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/04_displayOfTheProduct.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, + type Page, type ProductAttribute, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/05_closeModal.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/05_closeModal.ts index 9bb6f0dca9852..55669a5838160 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/05_closeModal.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/05_closeModal.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/06_changeCombination.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/06_changeCombination.ts index 4fa3f60bfe5e7..14fc11b0b0479 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/06_changeCombination.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/06_changeCombination.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, + type Page, type ProductAttribute, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/07_changeImage.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/07_changeImage.ts index 8185efaf8bbe3..adcf425f7023c 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/07_changeImage.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/01_quickView/07_changeImage.ts @@ -6,12 +6,13 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import {createProductTest, deleteProductTest} from '@commonTests/BO/catalog/product'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, FakerProduct, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, foHummingbirdSearchResultsPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/01_addToCart.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/01_addToCart.ts index bddef5a66ae73..5407db8c0a150 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/01_addToCart.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/01_addToCart.ts @@ -8,14 +8,15 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foHummingbirdCartPage, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, foHummingbirdProductPage, foHummingbirdSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/02_changeQuantity.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/02_changeQuantity.ts index af24ec11b4cb7..4cd468fd9e031 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/02_changeQuantity.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/02_changeQuantity.ts @@ -8,12 +8,13 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foHummingbirdCartPage, foHummingbirdHomePage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/03_changeImage.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/03_changeImage.ts index 01c443b8f1ef9..88c3d5055632a 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/03_changeImage.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/03_changeImage.ts @@ -9,16 +9,17 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import createProductsPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, + type BrowserContext, FakerProduct, foHummingbirdHomePage, foHummingbirdProductPage, foHummingbirdSearchResultsPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/04_shareLinks.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/04_shareLinks.ts index 0945ab35e2f3a..1f7a1db263f35 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/04_shareLinks.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/04_shareLinks.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foHummingbirdHomePage, foHummingbirdProductPage, foHummingbirdSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/06_addCustomization.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/06_addCustomization.ts index a67ede8c91072..72c5c29c2f17e 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/06_addCustomization.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/06_addCustomization.ts @@ -10,13 +10,14 @@ import createProductPage from '@pages/BO/catalog/products/add'; import detailsTab from '@pages/BO/catalog/products/add/detailsTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/07_changeCombination.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/07_changeCombination.ts index 69f49553991f4..d8955ee4e7793 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/07_changeCombination.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/07_changeCombination.ts @@ -14,17 +14,18 @@ import createProductsPage from '@pages/BO/catalog/products/add'; import combinationsTab from '@pages/BO/catalog/products/add/combinationsTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerAttribute, FakerAttributeValue, FakerProduct, foHummingbirdHomePage, foHummingbirdProductPage, foHummingbirdSearchResultsPage, + type Page, type ProductAttribute, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/10_outOfStockBehaviour.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/10_outOfStockBehaviour.ts index 2fc9974e1db72..aaf9245e82d3f 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/10_outOfStockBehaviour.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/10_outOfStockBehaviour.ts @@ -13,14 +13,15 @@ import movementsPage from '@pages/BO/catalog/stocks/movements'; import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabStocksPage, + type BrowserContext, FakerProduct, foHummingbirdProductPage, + type Page, utilsDate, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/11_displayTag.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/11_displayTag.ts index 3a1d1cb7cf237..82bae3608ba81 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/11_displayTag.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/11_displayTag.ts @@ -10,15 +10,16 @@ import createProductPage from '@pages/BO/catalog/products/add'; import optionsTab from '@pages/BO/catalog/products/add/optionsTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foHummingbirdCategoryPage, foHummingbirdHomePage, foHummingbirdProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/12_displayOnSaleLabel.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/12_displayOnSaleLabel.ts index 943d724c2cd23..7b6c4849da779 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/12_displayOnSaleLabel.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/12_displayOnSaleLabel.ts @@ -9,15 +9,16 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import createProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foHummingbirdCategoryPage, foHummingbirdHomePage, foHummingbirdProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/13_displaySpecificDeliveryTime.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/13_displaySpecificDeliveryTime.ts index 0abfd4fb1382b..8600a9c0a9f06 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/13_displaySpecificDeliveryTime.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/13_displaySpecificDeliveryTime.ts @@ -9,14 +9,15 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import createProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabShippingPage, boProductsCreateTabStocksPage, + type BrowserContext, FakerProduct, + type Page, foHummingbirdProductPage, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/15_displayPackContentAndLinkProduct.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/15_displayPackContentAndLinkProduct.ts index 9007d6c9472f4..d06e1a41ed65d 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/15_displayPackContentAndLinkProduct.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/15_displayPackContentAndLinkProduct.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foHummingbirdHomePage, foHummingbirdProductPage, foHummingbirdSearchResultsPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/16_displayDiscountAndVolumeDiscount.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/16_displayDiscountAndVolumeDiscount.ts index c11425038c4ab..f1f006954e16f 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/16_displayDiscountAndVolumeDiscount.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/16_displayDiscountAndVolumeDiscount.ts @@ -13,14 +13,15 @@ import pricingTab from '@pages/BO/catalog/products/add/pricingTab'; import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foHummingbirdCartPage, foHummingbirdProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/01_modal/01_displayModal.ts b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/01_modal/01_displayModal.ts index 6300f53d562aa..0e87d24d87553 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/01_modal/01_displayModal.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/01_modal/01_displayModal.ts @@ -8,12 +8,13 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foHummingbirdCartPage, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/01_modal/02_continueShopping.ts b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/01_modal/02_continueShopping.ts index 217d1d9ea0037..f65b49ba02669 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/01_modal/02_continueShopping.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/01_modal/02_continueShopping.ts @@ -8,12 +8,13 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foHummingbirdCartPage, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/01_changeQuantity.ts b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/01_changeQuantity.ts index b48e80c01c9f4..4eb20e4a9bd17 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/01_changeQuantity.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/01_changeQuantity.ts @@ -8,11 +8,12 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foHummingbirdCartPage, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/02_deleteProduct.ts b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/02_deleteProduct.ts index b637591015240..7ab0a7bb0b4d1 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/02_deleteProduct.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/02_deleteProduct.ts @@ -8,11 +8,12 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foHummingbirdCartPage, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/03_addPromoCode.ts b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/03_addPromoCode.ts index 190abf4cf2e8c..88b6ab2225375 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/03_addPromoCode.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/03_addPromoCode.ts @@ -11,12 +11,13 @@ import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {createCartRuleTest, deleteCartRuleTest} from '@commonTests/BO/catalog/cartRule'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, FakerCartRule, foHummingbirdCartPage, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/04_displayModalProductCustomization.ts b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/04_displayModalProductCustomization.ts index 3f1df1812930d..9b87867e5574c 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/04_displayModalProductCustomization.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/04_displayModalProductCustomization.ts @@ -8,13 +8,14 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foHummingbirdCartPage, foHummingbirdHomePage, foHummingbirdProductPage, foHummingbirdSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/05_displayDiscount.ts b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/05_displayDiscount.ts index 435dbb37ee593..a92a725e8212e 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/05_displayDiscount.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/10_cart/02_cart/05_displayDiscount.ts @@ -9,9 +9,9 @@ import {createCartRuleTest, deleteCartRuleTest} from '@commonTests/BO/catalog/ca import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, FakerCartRule, foHummingbirdCartPage, @@ -19,6 +19,7 @@ import { foHummingbirdHomePage, foHummingbirdModalQuickViewPage, foHummingbirdSearchResultsPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/01_orderAsAGuest.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/01_orderAsAGuest.ts index ab5167945ee1a..f78f511669240 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/01_orderAsAGuest.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/01_orderAsAGuest.ts @@ -5,6 +5,7 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import { + type BrowserContext, dataPaymentMethods, FakerAddress, FakerCustomer, @@ -13,11 +14,11 @@ import { foHummingbirdCheckoutOrderConfirmationPage, foHummingbirdHomePage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_checkout_personalInformation_orderAsAGuest'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/02_signIn.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/02_signIn.ts index f7406f2004efe..ac22259090318 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/02_signIn.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/02_signIn.ts @@ -5,17 +5,18 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import { + type BrowserContext, dataCustomers, FakerCustomer, foHummingbirdCartPage, foHummingbirdCheckoutPage, foHummingbirdHomePage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_checkout_personalInformation_signIn'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/03_createAccount.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/03_createAccount.ts index d8e3ff4f80c9f..d300e9cbca0a7 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/03_createAccount.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/03_createAccount.ts @@ -7,6 +7,7 @@ import {deleteCustomerTest} from '@commonTests/BO/customers/customer'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import { + type BrowserContext, dataPaymentMethods, FakerAddress, FakerCustomer, @@ -17,12 +18,12 @@ import { foHummingbirdProductPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_checkout_personalInformation_createAccount'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/05_passwordReminder.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/05_passwordReminder.ts index 057e4ebd3e6e0..b6f1ee4f3847c 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/05_passwordReminder.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_personalInformation/05_passwordReminder.ts @@ -8,6 +8,7 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import createAccountTest from '@commonTests/FO/hummingbird/account'; import { + type BrowserContext, FakerCustomer, foHummingbirdCartPage, foHummingbirdCheckoutPage, @@ -17,12 +18,12 @@ import { foHummingbirdProductPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_checkout_personalInformation_passwordReminder'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_showDetails.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_showDetails.ts index 6232255bf1989..111d898e745ef 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_showDetails.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/01_showDetails.ts @@ -8,8 +8,8 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foHummingbirdCartPage, foHummingbirdCheckoutPage, @@ -17,6 +17,7 @@ import { foHummingbirdLoginPage, foHummingbirdModalQuickViewPage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/01_useSameInvoiceAddress.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/01_useSameInvoiceAddress.ts index c0647501fd8a4..8fe5b2ab20578 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/01_useSameInvoiceAddress.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/01_useSameInvoiceAddress.ts @@ -5,6 +5,7 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import { + type BrowserContext, dataPaymentMethods, dataProducts, FakerAddress, @@ -14,11 +15,11 @@ import { foHummingbirdCheckoutOrderConfirmationPage, foHummingbirdHomePage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_checkout_addresses_useSameInvoiceAddress'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/02_useDifferentInvoiceAddress.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/02_useDifferentInvoiceAddress.ts index 44b1401d8e056..a4180169d9d1a 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/02_useDifferentInvoiceAddress.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/02_useDifferentInvoiceAddress.ts @@ -5,6 +5,7 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import { + type BrowserContext, dataPaymentMethods, dataProducts, FakerAddress, @@ -14,11 +15,11 @@ import { foHummingbirdCheckoutOrderConfirmationPage, foHummingbirdHomePage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_checkout_addresses_useDifferentInvoiceAddress'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/03_selectAddress.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/03_selectAddress.ts index a97e014f4b3fa..6ee483cb5cc01 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/03_selectAddress.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/03_selectAddress.ts @@ -5,17 +5,18 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import { + type BrowserContext, dataCustomers, dataProducts, foHummingbirdCartPage, foHummingbirdCheckoutPage, foHummingbirdHomePage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_checkout_addresses_selectAddress'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/04_CRUDAddress.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/04_CRUDAddress.ts index fddfbade0e0a5..3b2f3dfddd3c9 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/04_CRUDAddress.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/04_CRUDAddress.ts @@ -7,6 +7,7 @@ import createAccountTest from '@commonTests/FO/hummingbird/account'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import { + type BrowserContext, dataProducts, FakerAddress, FakerCustomer, @@ -14,11 +15,11 @@ import { foHummingbirdCheckoutPage, foHummingbirdHomePage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_checkout_addresses_CRUDAddress'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/05_billingAdressWhenLoggedIn.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/05_billingAdressWhenLoggedIn.ts index cd5a87cda9a5d..def705167a0bc 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/05_billingAdressWhenLoggedIn.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_addresses/05_billingAdressWhenLoggedIn.ts @@ -9,16 +9,17 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import { + type BrowserContext, dataCustomers, foHummingbirdCartPage, foHummingbirdCheckoutPage, foHummingbirdHomePage, foHummingbirdModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_checkout_addresses_billingAdressWhenLoggedIn'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_displayOfTotals.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_displayOfTotals.ts index 3f714b7d295ad..135890775f01e 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_displayOfTotals.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/02_displayOfTotals.ts @@ -9,6 +9,7 @@ import {createCartRuleTest, deleteCartRuleTest} from '@commonTests/BO/catalog/ca import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import { + type BrowserContext, dataCarriers, dataCustomers, dataProducts, @@ -19,12 +20,12 @@ import { foHummingbirdLoginPage, foHummingbirdModalQuickViewPage, foHummingbirdSearchResultsPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_checkout_displayOfTotals'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/03_displayOfHighlightedCartRules.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/03_displayOfHighlightedCartRules.ts index ce01931bd75b4..ee604e6476ebb 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/03_displayOfHighlightedCartRules.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/03_displayOfHighlightedCartRules.ts @@ -9,8 +9,8 @@ import {createCartRuleTest, deleteCartRuleTest} from '@commonTests/BO/catalog/ca import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, FakerCartRule, foHummingbirdCartPage, @@ -18,6 +18,7 @@ import { foHummingbirdLoginPage, foHummingbirdModalQuickViewPage, foHummingbirdSearchResultsPage, + type Page, utilsDate, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/03_shippingMethods/01_addOrderMessage.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/03_shippingMethods/01_addOrderMessage.ts index 022e27415d84c..4cb900b4a3474 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/03_shippingMethods/01_addOrderMessage.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/03_shippingMethods/01_addOrderMessage.ts @@ -9,6 +9,7 @@ import orderHistoryPage from '@pages/FO/hummingbird/myAccount/orderHistory'; import orderDetailsPage from '@pages/FO/hummingbird/myAccount/orderDetails'; import { + type BrowserContext, dataCarriers, dataCustomers, dataPaymentMethods, @@ -19,11 +20,11 @@ import { foHummingbirdLoginPage, foHummingbirdMyAccountPage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_checkout_shippingMethods_addOrderMessage'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/03_shippingMethods/02_selectCarrier.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/03_shippingMethods/02_selectCarrier.ts index 10c68545d2fa4..d7d6b38b422b1 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/03_shippingMethods/02_selectCarrier.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/03_shippingMethods/02_selectCarrier.ts @@ -7,6 +7,7 @@ import createAccountTest from '@commonTests/FO/hummingbird/account'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import { + type BrowserContext, dataCarriers, dataProducts, FakerAddress, @@ -15,11 +16,11 @@ import { foHummingbirdCheckoutPage, foHummingbirdHomePage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_checkout_shippingMethods_selectCarrier'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/04_payment/01_choosePaymentMethod.ts b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/04_payment/01_choosePaymentMethod.ts index 986b9f781fc98..74fb59a231fd3 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/04_payment/01_choosePaymentMethod.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/11_checkout/04_payment/01_choosePaymentMethod.ts @@ -9,6 +9,7 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import { + type BrowserContext, dataCustomers, dataPaymentMethods, type FakerPaymentMethod, @@ -19,12 +20,12 @@ import { foHummingbirdModalQuickViewPage, type MailDev, type MailDevEmail, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'functional_FO_hummingbird_checkout_payment_choosePaymentMethod'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/01_listOfOrderedProducts.ts b/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/01_listOfOrderedProducts.ts index dd34420a7ab98..1e51e351a6c16 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/01_listOfOrderedProducts.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/01_listOfOrderedProducts.ts @@ -11,6 +11,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCarriers, dataCustomers, dataPaymentMethods, @@ -21,11 +22,11 @@ import { foHummingbirdHomePage, foHummingbirdModalQuickViewPage, foHummingbirdSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_hummingbird_orderConfirmation_listOfOrderedProducts'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/02_displayOfProductCustomization.ts b/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/02_displayOfProductCustomization.ts index 7eecc0139709f..3e82974403bd5 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/02_displayOfProductCustomization.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/02_displayOfProductCustomization.ts @@ -5,6 +5,7 @@ import testContext from '@utils/testContext'; import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/hummingbird'; import { + type BrowserContext, dataCarriers, dataCustomers, dataPaymentMethods, @@ -14,11 +15,11 @@ import { foHummingbirdCheckoutOrderConfirmationPage, foHummingbirdHomePage, foHummingbirdProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_hummingbird_orderConfirmation_displayOfProductCustomization'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/03_recapPaymentMethod.ts b/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/03_recapPaymentMethod.ts index 904df184804ac..f6023f389424d 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/03_recapPaymentMethod.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/03_recapPaymentMethod.ts @@ -11,6 +11,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCarriers, dataCustomers, dataPaymentMethods, @@ -21,11 +22,11 @@ import { foHummingbirdHomePage, foHummingbirdModalQuickViewPage, foHummingbirdSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_hummingbird_orderConfirmation_recapPaymentMethod'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/04_popularProduct.ts b/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/04_popularProduct.ts index 6519ab88259f1..78913e0d5c666 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/04_popularProduct.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/04_popularProduct.ts @@ -8,6 +8,7 @@ import {enableHummingbird, disableHummingbird} from '@commonTests/BO/design/humm import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import { + type BrowserContext, dataCarriers, dataCustomers, dataPaymentMethods, @@ -19,11 +20,11 @@ import { foHummingbirdHomePage, foHummingbirdModalQuickViewPage, foHummingbirdSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_hummingbird_orderConfirmation_popularProduct'; diff --git a/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/05_contactUs.ts b/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/05_contactUs.ts index 81bd3e6dbfc4b..1f6fca7e2330f 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/05_contactUs.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/12_orderConfirmation/05_contactUs.ts @@ -14,6 +14,7 @@ import blockCartModal from '@pages/FO/hummingbird/modal/blockCart'; import { boDashboardPage, boLoginPage, + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, @@ -26,12 +27,12 @@ import { foHummingbirdLoginPage, foHummingbirdModalQuickViewPage, foHummingbirdMyAccountPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; // context const baseContext: string = 'functional_FO_hummingbird_orderConfirmation_contactUs'; diff --git a/tests/UI/campaigns/functional/WS/01_countriesCRUD.ts b/tests/UI/campaigns/functional/WS/01_countriesCRUD.ts index 152706efa9a0f..151cbd3bf7be6 100644 --- a/tests/UI/campaigns/functional/WS/01_countriesCRUD.ts +++ b/tests/UI/campaigns/functional/WS/01_countriesCRUD.ts @@ -16,14 +16,15 @@ import zonesPage from '@pages/BO/international/locations'; import getCountryXml from '@data/xml/country'; import {expect} from 'chai'; -import type { - APIResponse, APIRequestContext, BrowserContext, Page, -} from 'playwright'; import { + type APIRequestContext, + type APIResponse, boCountriesPage, boCountriesCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, utilsXML, type WebservicePermission, diff --git a/tests/UI/campaigns/functional/WS/02_ordersCRUD.ts b/tests/UI/campaigns/functional/WS/02_ordersCRUD.ts index 7888fdd68b1cb..b1a2d2d1c1a37 100644 --- a/tests/UI/campaigns/functional/WS/02_ordersCRUD.ts +++ b/tests/UI/campaigns/functional/WS/02_ordersCRUD.ts @@ -19,16 +19,20 @@ import orderPagePaymentBlock from '@pages/BO/orders/view/paymentBlock'; import getOrderXml from '@data/xml/order'; import { + type APIRequestContext, + type APIResponse, boDashboardPage, boLoginPage, boOrdersPage, boOrdersViewBlockProductsPage, boOrdersViewBlockTabListPage, boShoppingCartsPage, + type BrowserContext, dataAddresses, dataCustomers, dataProducts, FakerOrder, + type Page, utilsDate, utilsPlaywright, utilsXML, @@ -37,9 +41,6 @@ import { import {use, expect} from 'chai'; import chaiString from 'chai-string'; -import type { - APIResponse, APIRequestContext, BrowserContext, Page, -} from 'playwright'; use(chaiString); diff --git a/tests/UI/campaigns/functional/WS/03_productsCRUD.ts b/tests/UI/campaigns/functional/WS/03_productsCRUD.ts index 674fbd5dbb2c7..cd40db352ce4b 100644 --- a/tests/UI/campaigns/functional/WS/03_productsCRUD.ts +++ b/tests/UI/campaigns/functional/WS/03_productsCRUD.ts @@ -21,16 +21,17 @@ import seoTab from '@pages/BO/catalog/products/add/seoTab'; import getProductXml from '@data/xml/product'; import {expect} from 'chai'; -import type { - APIResponse, APIRequestContext, BrowserContext, Page, -} from 'playwright'; import { + type APIRequestContext, + type APIResponse, boDashboardPage, boLoginPage, boProductsPage, boProductsCreateTabDescriptionPage, boProductsCreateTabShippingPage, boProductsCreateTabStocksPage, + type BrowserContext, + type Page, utilsPlaywright, utilsXML, type WebservicePermission, diff --git a/tests/UI/campaigns/functional/WS/04_storesCRUD.ts b/tests/UI/campaigns/functional/WS/04_storesCRUD.ts index fcfe93338e476..0c705508f3c6b 100644 --- a/tests/UI/campaigns/functional/WS/04_storesCRUD.ts +++ b/tests/UI/campaigns/functional/WS/04_storesCRUD.ts @@ -18,12 +18,13 @@ import addStorePage from '@pages/BO/shopParameters/stores/add'; import {getStoreXml, getUpdateStoreXml} from '@data/xml/store'; import {expect} from 'chai'; -import type { - APIResponse, APIRequestContext, BrowserContext, Page, -} from 'playwright'; import { + type APIRequestContext, + type APIResponse, boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, utilsXML, type WebservicePermission, diff --git a/tests/UI/campaigns/modules/blockwishlist/01_installation/04_resetModule.ts b/tests/UI/campaigns/modules/blockwishlist/01_installation/04_resetModule.ts index df645cc5433e5..3aecbd31bc598 100644 --- a/tests/UI/campaigns/modules/blockwishlist/01_installation/04_resetModule.ts +++ b/tests/UI/campaigns/modules/blockwishlist/01_installation/04_resetModule.ts @@ -5,6 +5,7 @@ import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCustomers, dataModules, dataProducts, @@ -15,11 +16,11 @@ import { foClassicProductPage, foClassicSearchResultsPage, modBlockwishlistBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'modules_blockwishlist_installation_resetModule'; diff --git a/tests/UI/campaigns/modules/blockwishlist/01_installation/05_uninstallAndDeleteModule.ts b/tests/UI/campaigns/modules/blockwishlist/01_installation/05_uninstallAndDeleteModule.ts index 94726af0e930e..d666fe3db605d 100644 --- a/tests/UI/campaigns/modules/blockwishlist/01_installation/05_uninstallAndDeleteModule.ts +++ b/tests/UI/campaigns/modules/blockwishlist/01_installation/05_uninstallAndDeleteModule.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, dataProducts, foClassicHomePage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/blockwishlist/02_configuration/02_statisticsTabSettings.ts b/tests/UI/campaigns/modules/blockwishlist/02_configuration/02_statisticsTabSettings.ts index 8883df0af94b0..170fabeca4214 100644 --- a/tests/UI/campaigns/modules/blockwishlist/02_configuration/02_statisticsTabSettings.ts +++ b/tests/UI/campaigns/modules/blockwishlist/02_configuration/02_statisticsTabSettings.ts @@ -8,18 +8,19 @@ import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, + dataCustomers, + dataModules, foClassicCategoryPage, foClassicHomePage, foClassicLoginPage, modBlockwishlistBoMain, modBlockwishlistBoStatistics, - dataCustomers, - dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'modules_blockwishlist_configuration_statisticsTabSettings'; diff --git a/tests/UI/campaigns/modules/blockwishlist/02_configuration/04_helpHeaderButtons.ts b/tests/UI/campaigns/modules/blockwishlist/02_configuration/04_helpHeaderButtons.ts index 1efb778cf5433..b2d473d2c8e91 100644 --- a/tests/UI/campaigns/modules/blockwishlist/02_configuration/04_helpHeaderButtons.ts +++ b/tests/UI/campaigns/modules/blockwishlist/02_configuration/04_helpHeaderButtons.ts @@ -5,13 +5,14 @@ import { boDashboardPage, boLoginPage, boModuleManagerPage, - modBlockwishlistBoMain, + type BrowserContext, dataModules, + modBlockwishlistBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'modules_blockwishlist_configuration_helpHeaderButtons'; diff --git a/tests/UI/campaigns/modules/blockwishlist/03_frontOffice/01_lists/03_shareList.ts b/tests/UI/campaigns/modules/blockwishlist/03_frontOffice/01_lists/03_shareList.ts index 73ca540138aef..3ce143042c2b4 100644 --- a/tests/UI/campaigns/modules/blockwishlist/03_frontOffice/01_lists/03_shareList.ts +++ b/tests/UI/campaigns/modules/blockwishlist/03_frontOffice/01_lists/03_shareList.ts @@ -2,6 +2,7 @@ import testContext from '@utils/testContext'; import { + type BrowserContext, dataCustomers, dataModules, foClassicHomePage, @@ -10,11 +11,11 @@ import { foClassicMyAccountPage, foClassicMyWishlistsPage, foClassicMyWishlistsViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import {resetModule} from '@commonTests/BO/modules/moduleManager'; const baseContext: string = 'modules_blockwishlist_frontOffice_lists_shareList'; diff --git a/tests/UI/campaigns/modules/blockwishlist/03_frontOffice/02_products/01_addProductToList.ts b/tests/UI/campaigns/modules/blockwishlist/03_frontOffice/02_products/01_addProductToList.ts index f60d31e6c4673..ea66a8c084b2f 100644 --- a/tests/UI/campaigns/modules/blockwishlist/03_frontOffice/02_products/01_addProductToList.ts +++ b/tests/UI/campaigns/modules/blockwishlist/03_frontOffice/02_products/01_addProductToList.ts @@ -5,6 +5,7 @@ import testContext from '@utils/testContext'; import {createProductTest, deleteProductTest} from '@commonTests/BO/catalog/product'; import { + type BrowserContext, dataCustomers, dataProducts, FakerProduct, @@ -16,11 +17,11 @@ import { foClassicMyWishlistsViewPage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'modules_blockwishlist_frontOffice_products_addProductToList'; diff --git a/tests/UI/campaigns/modules/ps_apiresources/01_installation/01_uninstallAndInstallModule.ts b/tests/UI/campaigns/modules/ps_apiresources/01_installation/01_uninstallAndInstallModule.ts index c8cc676737294..28f2f4f45ca9b 100644 --- a/tests/UI/campaigns/modules/ps_apiresources/01_installation/01_uninstallAndInstallModule.ts +++ b/tests/UI/campaigns/modules/ps_apiresources/01_installation/01_uninstallAndInstallModule.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_apiresources/01_installation/02_disableEnableModule.ts b/tests/UI/campaigns/modules/ps_apiresources/01_installation/02_disableEnableModule.ts index e48b241887f1e..7969987bbb14b 100644 --- a/tests/UI/campaigns/modules/ps_apiresources/01_installation/02_disableEnableModule.ts +++ b/tests/UI/campaigns/modules/ps_apiresources/01_installation/02_disableEnableModule.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_cashondelivery/01_installation/01_upgradeModule.ts b/tests/UI/campaigns/modules/ps_cashondelivery/01_installation/01_upgradeModule.ts index 2d095226b6cc5..ec55254f6a322 100644 --- a/tests/UI/campaigns/modules/ps_cashondelivery/01_installation/01_upgradeModule.ts +++ b/tests/UI/campaigns/modules/ps_cashondelivery/01_installation/01_upgradeModule.ts @@ -5,13 +5,13 @@ import testContext from '@utils/testContext'; import {installModule, uninstallModule} from '@commonTests/BO/modules/moduleManager'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boMaintenancePage, boModuleManagerPage, boShopParametersPage, + type BrowserContext, dataCustomers, dataModules, foClassicCartPage, @@ -19,6 +19,7 @@ import { foClassicHomePage, foClassicLoginPage, foClassicModalQuickViewPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_cashondelivery/01_installation/04_resetModule.ts b/tests/UI/campaigns/modules/ps_cashondelivery/01_installation/04_resetModule.ts index 51d21fb77b8b2..00d3a10648ea6 100644 --- a/tests/UI/campaigns/modules/ps_cashondelivery/01_installation/04_resetModule.ts +++ b/tests/UI/campaigns/modules/ps_cashondelivery/01_installation/04_resetModule.ts @@ -9,6 +9,7 @@ import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCustomers, dataModules, foClassicCartPage, @@ -16,11 +17,11 @@ import { foClassicHomePage, foClassicLoginPage, foClassicModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'modules_ps_cashondelivery_installation_resetModule'; diff --git a/tests/UI/campaigns/modules/ps_cashondelivery/02_configuration/01_placeOrderWithIt.ts b/tests/UI/campaigns/modules/ps_cashondelivery/02_configuration/01_placeOrderWithIt.ts index 0a3d50516eaa5..ca029db3bfa60 100644 --- a/tests/UI/campaigns/modules/ps_cashondelivery/02_configuration/01_placeOrderWithIt.ts +++ b/tests/UI/campaigns/modules/ps_cashondelivery/02_configuration/01_placeOrderWithIt.ts @@ -9,6 +9,7 @@ import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataCustomers, dataOrderStatuses, dataPaymentMethods, @@ -18,11 +19,11 @@ import { foClassicHomePage, foClassicLoginPage, foClassicModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'modules_ps_cashondelivery_configuration_placeOrderWithIt'; diff --git a/tests/UI/campaigns/modules/ps_categoryproducts/01_installation/01_disableEnableModule.ts b/tests/UI/campaigns/modules/ps_categoryproducts/01_installation/01_disableEnableModule.ts index 9f3522b3deb5b..efe8191e265de 100644 --- a/tests/UI/campaigns/modules/ps_categoryproducts/01_installation/01_disableEnableModule.ts +++ b/tests/UI/campaigns/modules/ps_categoryproducts/01_installation/01_disableEnableModule.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, dataProducts, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_emailalerts/01_installation/01_uninstallAndInstallModule.ts b/tests/UI/campaigns/modules/ps_emailalerts/01_installation/01_uninstallAndInstallModule.ts index 8e40c151ba399..629e6859212f7 100644 --- a/tests/UI/campaigns/modules/ps_emailalerts/01_installation/01_uninstallAndInstallModule.ts +++ b/tests/UI/campaigns/modules/ps_emailalerts/01_installation/01_uninstallAndInstallModule.ts @@ -5,17 +5,18 @@ import testContext from '@utils/testContext'; import {createProductTest, deleteProductTest} from '@commonTests/BO/catalog/product'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boProductsPage, + type BrowserContext, dataModules, FakerProduct, foClassicCategoryPage, foClassicHomePage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_emailalerts/01_installation/03_uninstallAndDeleteModule.ts b/tests/UI/campaigns/modules/ps_emailalerts/01_installation/03_uninstallAndDeleteModule.ts index e830df5ceb653..7802053667504 100644 --- a/tests/UI/campaigns/modules/ps_emailalerts/01_installation/03_uninstallAndDeleteModule.ts +++ b/tests/UI/campaigns/modules/ps_emailalerts/01_installation/03_uninstallAndDeleteModule.ts @@ -6,17 +6,18 @@ import {createProductTest, deleteProductTest} from '@commonTests/BO/catalog/prod import {installModule} from '@commonTests/BO/modules/moduleManager'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boProductsPage, + type BrowserContext, dataModules, FakerProduct, foClassicCategoryPage, foClassicHomePage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_emailalerts/01_installation/05_disableEnableModule.ts b/tests/UI/campaigns/modules/ps_emailalerts/01_installation/05_disableEnableModule.ts index 8331fbd2957fb..6eb4c340fcb50 100644 --- a/tests/UI/campaigns/modules/ps_emailalerts/01_installation/05_disableEnableModule.ts +++ b/tests/UI/campaigns/modules/ps_emailalerts/01_installation/05_disableEnableModule.ts @@ -5,17 +5,18 @@ import testContext from '@utils/testContext'; import {createProductTest, deleteProductTest} from '@commonTests/BO/catalog/product'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boProductsPage, + type BrowserContext, dataModules, FakerProduct, foClassicCategoryPage, foClassicHomePage, foClassicProductPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/01_boHeaderButtons.ts b/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/01_boHeaderButtons.ts index c8ca5f22ec621..c1a32f2ea168d 100644 --- a/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/01_boHeaderButtons.ts +++ b/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/01_boHeaderButtons.ts @@ -6,13 +6,14 @@ import testContext from '@utils/testContext'; import boDesignPositionsPage from '@pages/BO/design/positions'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, modPsEmailAlertsBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/01_customerNotifications/01_enableDisableProductAvailability.ts b/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/01_customerNotifications/01_enableDisableProductAvailability.ts index 4922640937134..3a1225381b353 100644 --- a/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/01_customerNotifications/01_enableDisableProductAvailability.ts +++ b/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/01_customerNotifications/01_enableDisableProductAvailability.ts @@ -20,6 +20,7 @@ import { boProductsPage, boProductsCreateTabStocksPage, boStockPage, + type BrowserContext, dataCustomers, dataModules, dataOrderStatuses, @@ -35,6 +36,7 @@ import { type MailDev, type MailDevEmail, modPsEmailAlertsBoMain, + type Page, utilsFile, utilsMail, utilsPlaywright, @@ -42,7 +44,6 @@ import { import {expect} from 'chai'; import {faker} from '@faker-js/faker'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'modules_ps_emailalerts_configuration_customerNotifications_enableDisableProductAvailability'; diff --git a/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/01_customerNotifications/02_enableDisableOrderEdit.ts b/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/01_customerNotifications/02_enableDisableOrderEdit.ts index e82656e7490d0..1e796ef3ee47e 100644 --- a/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/01_customerNotifications/02_enableDisableOrderEdit.ts +++ b/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/01_customerNotifications/02_enableDisableOrderEdit.ts @@ -11,6 +11,7 @@ import { boModuleManagerPage, boOrdersPage, boOrdersViewBlockProductsPage, + type BrowserContext, dataCustomers, dataModules, dataPaymentMethods, @@ -19,12 +20,12 @@ import { type MailDev, type MailDevEmail, modPsEmailAlertsBoMain, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'modules_ps_emailalerts_configuration_customerNotifications_enableDisableOrderEdit'; diff --git a/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/02_merchantNotifications/01_enableDisableNewOrder.ts b/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/02_merchantNotifications/01_enableDisableNewOrder.ts index 41d233dbc6987..f6ede563bbdba 100644 --- a/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/02_merchantNotifications/01_enableDisableNewOrder.ts +++ b/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/02_merchantNotifications/01_enableDisableNewOrder.ts @@ -13,6 +13,7 @@ import { boLoginPage, boModuleManagerPage, boOrdersPage, + type BrowserContext, dataCustomers, dataModules, dataPaymentMethods, @@ -27,12 +28,12 @@ import { type MailDev, type MailDevEmail, modPsEmailAlertsBoMain, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'modules_ps_emailalerts_configuration_merchantNotifications_enableDisableNewOrder'; diff --git a/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/02_merchantNotifications/02_enableDisableOutOfStock.ts b/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/02_merchantNotifications/02_enableDisableOutOfStock.ts index 0e96b0155ea67..612560f2c44fe 100644 --- a/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/02_merchantNotifications/02_enableDisableOutOfStock.ts +++ b/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/02_merchantNotifications/02_enableDisableOutOfStock.ts @@ -6,17 +6,18 @@ import {setupSmtpConfigTest, resetSmtpConfigTest} from '@commonTests/BO/advanced import {createProductTest, deleteProductTest} from '@commonTests/BO/catalog/product'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boStockPage, + type BrowserContext, dataModules, FakerProduct, type MailDev, type MailDevEmail, modPsEmailAlertsBoMain, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/02_merchantNotifications/04_enableDisableReturn.ts b/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/02_merchantNotifications/04_enableDisableReturn.ts index 2d726d693a88e..37eecaa76e06c 100644 --- a/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/02_merchantNotifications/04_enableDisableReturn.ts +++ b/tests/UI/campaigns/modules/ps_emailalerts/02_configuration/02_merchantNotifications/04_enableDisableReturn.ts @@ -19,6 +19,7 @@ import { boLoginPage, boModuleManagerPage, boOrdersPage, + type BrowserContext, dataCustomers, dataModules, dataOrderStatuses, @@ -31,12 +32,12 @@ import { type MailDev, type MailDevEmail, modPsEmailAlertsBoMain, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'modules_ps_emailalerts_configuration_merchantNotifications_enableDisableReturn'; diff --git a/tests/UI/campaigns/modules/ps_emailsubscription/02_configuration/01_checkVerificationEmail.ts b/tests/UI/campaigns/modules/ps_emailsubscription/02_configuration/01_checkVerificationEmail.ts index ed1ddaa62170c..1c7f21ad6d429 100644 --- a/tests/UI/campaigns/modules/ps_emailsubscription/02_configuration/01_checkVerificationEmail.ts +++ b/tests/UI/campaigns/modules/ps_emailsubscription/02_configuration/01_checkVerificationEmail.ts @@ -5,16 +5,17 @@ import testContext from '@utils/testContext'; import {setupSmtpConfigTest, resetSmtpConfigTest} from '@commonTests/BO/advancedParameters/smtp'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicHomePage, type MailDev, type MailDevEmail, modPsEmailSubscriptionBoMain, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_emailsubscription/02_configuration/02_checkConfirmationEmail.ts b/tests/UI/campaigns/modules/ps_emailsubscription/02_configuration/02_checkConfirmationEmail.ts index 0b96591934ccf..55592f210d34c 100644 --- a/tests/UI/campaigns/modules/ps_emailsubscription/02_configuration/02_checkConfirmationEmail.ts +++ b/tests/UI/campaigns/modules/ps_emailsubscription/02_configuration/02_checkConfirmationEmail.ts @@ -5,17 +5,18 @@ import testContext from '@utils/testContext'; import {setupSmtpConfigTest, resetSmtpConfigTest} from '@commonTests/BO/advancedParameters/smtp'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicEmailSubscriptionPage, foClassicHomePage, type MailDev, type MailDevEmail, modPsEmailSubscriptionBoMain, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_emailsubscription/02_configuration/03_checkWelcomeVoucher.ts b/tests/UI/campaigns/modules/ps_emailsubscription/02_configuration/03_checkWelcomeVoucher.ts index 089ad8682e68c..a9161e6b0bc9a 100644 --- a/tests/UI/campaigns/modules/ps_emailsubscription/02_configuration/03_checkWelcomeVoucher.ts +++ b/tests/UI/campaigns/modules/ps_emailsubscription/02_configuration/03_checkWelcomeVoucher.ts @@ -5,16 +5,17 @@ import testContext from '@utils/testContext'; import {setupSmtpConfigTest, resetSmtpConfigTest} from '@commonTests/BO/advancedParameters/smtp'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicHomePage, MailDev, type MailDevEmail, modPsEmailSubscriptionBoMain, + type Page, utilsMail, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/02_uninstallAndInstallModule.ts b/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/02_uninstallAndInstallModule.ts index 42521f1fb7396..6416dc687a872 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/02_uninstallAndInstallModule.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/02_uninstallAndInstallModule.ts @@ -2,16 +2,17 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCategories, dataModules, foClassicCategoryPage, foClassicHomePage, foClassicProductPage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/03_disableEnableModule.ts b/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/03_disableEnableModule.ts index c0db1eb43eef5..f25083fef7974 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/03_disableEnableModule.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/03_disableEnableModule.ts @@ -2,16 +2,17 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCategories, dataModules, foClassicCategoryPage, foClassicHomePage, modPsFacetedsearchBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/04_uninstallAndDeleteModule.ts b/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/04_uninstallAndDeleteModule.ts index eaef5a7bba8b9..7a1b77ee82c40 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/04_uninstallAndDeleteModule.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/04_uninstallAndDeleteModule.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCategories, dataModules, foClassicCategoryPage, foClassicHomePage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/05_resetModule.ts b/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/05_resetModule.ts index 608c34e4a2e77..d34cfe044cd42 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/05_resetModule.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/01_installation/05_resetModule.ts @@ -2,16 +2,17 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicCategoryPage, foClassicHomePage, modPsFacetedsearchBoFilterTemplate, modPsFacetedsearchBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/03_showProductsOnlyFromDefaultCategorysFieldConfiguration.ts b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/03_showProductsOnlyFromDefaultCategorysFieldConfiguration.ts index e5b05f770bc6e..c5c43ed28e8b5 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/03_showProductsOnlyFromDefaultCategorysFieldConfiguration.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/03_showProductsOnlyFromDefaultCategorysFieldConfiguration.ts @@ -2,16 +2,17 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCategories, dataModules, foClassicCategoryPage, foClassicHomePage, modPsFacetedsearchBoMain, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/04_showUnavailableOutOfStockLastFieldConfiguration.ts b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/04_showUnavailableOutOfStockLastFieldConfiguration.ts index 86197d47b8d5e..c151e8f860555 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/04_showUnavailableOutOfStockLastFieldConfiguration.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/04_showUnavailableOutOfStockLastFieldConfiguration.ts @@ -5,17 +5,18 @@ import testContext from '@utils/testContext'; import {createProductTest, deleteProductTest} from '@commonTests/BO/catalog/product'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boProductsPage, + type BrowserContext, dataModules, FakerProduct, foClassicCategoryPage, foClassicHomePage, modPsFacetedsearchBoMain, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/05_categoryFilterDepthFieldConfiguration.ts b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/05_categoryFilterDepthFieldConfiguration.ts index 69b56df635cc4..fdf5676b2fea9 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/05_categoryFilterDepthFieldConfiguration.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/05_categoryFilterDepthFieldConfiguration.ts @@ -2,15 +2,16 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicCategoryPage, foClassicHomePage, modPsFacetedsearchBoMain, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/09_editTemplateSubCategoriesFilter.ts b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/09_editTemplateSubCategoriesFilter.ts index 3eeaf6f0aca07..f9b57f9851db2 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/09_editTemplateSubCategoriesFilter.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/09_editTemplateSubCategoriesFilter.ts @@ -2,16 +2,17 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicCategoryPage, foClassicHomePage, modPsFacetedsearchBoFilterTemplate, modPsFacetedsearchBoMain, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/10_editTemplateSizeFilter.ts b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/10_editTemplateSizeFilter.ts index 946a4582cafd8..e673bf76754ec 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/10_editTemplateSizeFilter.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/10_editTemplateSizeFilter.ts @@ -2,16 +2,17 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicCategoryPage, foClassicHomePage, modPsFacetedsearchBoFilterTemplate, modPsFacetedsearchBoMain, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/14_editTemplateProductStockFilter.ts b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/14_editTemplateProductStockFilter.ts index 5b79ecefe6c5e..9e16b36f4bed3 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/14_editTemplateProductStockFilter.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/14_editTemplateProductStockFilter.ts @@ -2,16 +2,17 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicCategoryPage, foClassicHomePage, modPsFacetedsearchBoFilterTemplate, modPsFacetedsearchBoMain, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/15_editTemplateProductBrandFilter.ts b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/15_editTemplateProductBrandFilter.ts index 31794b01a8c01..9b06ea6490ac3 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/15_editTemplateProductBrandFilter.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/15_editTemplateProductBrandFilter.ts @@ -2,16 +2,17 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicCategoryPage, foClassicHomePage, modPsFacetedsearchBoFilterTemplate, modPsFacetedsearchBoMain, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/16_editTemplateProductConditionFilter.ts b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/16_editTemplateProductConditionFilter.ts index bf64c506f1025..326b25dc1e352 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/16_editTemplateProductConditionFilter.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/16_editTemplateProductConditionFilter.ts @@ -2,17 +2,18 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, FakerProduct, foClassicCategoryPage, foClassicHomePage, modPsFacetedsearchBoFilterTemplate, modPsFacetedsearchBoMain, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/17_editTemplateDimensionFilter.ts b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/17_editTemplateDimensionFilter.ts index 07627bf2404d5..9936b99144f65 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/17_editTemplateDimensionFilter.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/17_editTemplateDimensionFilter.ts @@ -2,16 +2,17 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicCategoryPage, foClassicHomePage, modPsFacetedsearchBoFilterTemplate, modPsFacetedsearchBoMain, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/18_editTemplatePaperTypeFilter.ts b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/18_editTemplatePaperTypeFilter.ts index 85bafee9cd24e..7ca0f51ac9c1c 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/18_editTemplatePaperTypeFilter.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/18_editTemplatePaperTypeFilter.ts @@ -2,16 +2,17 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicCategoryPage, foClassicHomePage, modPsFacetedsearchBoFilterTemplate, modPsFacetedsearchBoMain, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/20_editTemplateProductPriceFilter.ts b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/20_editTemplateProductPriceFilter.ts index bf98e2f55139d..270e92b902a88 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/20_editTemplateProductPriceFilter.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/20_editTemplateProductPriceFilter.ts @@ -2,16 +2,17 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicCategoryPage, foClassicHomePage, modPsFacetedsearchBoFilterTemplate, modPsFacetedsearchBoMain, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/21_addNewTemplate.ts b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/21_addNewTemplate.ts index 4e2b37deb4cec..da336b0ed5a6f 100644 --- a/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/21_addNewTemplate.ts +++ b/tests/UI/campaigns/modules/ps_facetedsearch/02_configuration/21_addNewTemplate.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, modPsFacetedsearchBoFilterTemplate, modPsFacetedsearchBoMain, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_newproducts/01_installation/01_upgradeModule.ts b/tests/UI/campaigns/modules/ps_newproducts/01_installation/01_upgradeModule.ts index aeb083cf858e8..a8bab073842b3 100644 --- a/tests/UI/campaigns/modules/ps_newproducts/01_installation/01_upgradeModule.ts +++ b/tests/UI/campaigns/modules/ps_newproducts/01_installation/01_upgradeModule.ts @@ -5,15 +5,16 @@ import testContext from '@utils/testContext'; import {installModule, uninstallModule} from '@commonTests/BO/modules/moduleManager'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boMaintenancePage, boModuleManagerPage, boShopParametersPage, + type BrowserContext, dataModules, foClassicHomePage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_newproducts/01_installation/03_uninstallAndDeleteModule.ts b/tests/UI/campaigns/modules/ps_newproducts/01_installation/03_uninstallAndDeleteModule.ts index b813bd6ae160a..0dd396c81a188 100644 --- a/tests/UI/campaigns/modules/ps_newproducts/01_installation/03_uninstallAndDeleteModule.ts +++ b/tests/UI/campaigns/modules/ps_newproducts/01_installation/03_uninstallAndDeleteModule.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicHomePage, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_newproducts/01_installation/04_resetModule.ts b/tests/UI/campaigns/modules/ps_newproducts/01_installation/04_resetModule.ts index cde7e684c8388..af464f4d48c18 100644 --- a/tests/UI/campaigns/modules/ps_newproducts/01_installation/04_resetModule.ts +++ b/tests/UI/campaigns/modules/ps_newproducts/01_installation/04_resetModule.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicHomePage, modPsNewProductsBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_newproducts/01_installation/05_disableEnableModule.ts b/tests/UI/campaigns/modules/ps_newproducts/01_installation/05_disableEnableModule.ts index 74c112adf162f..71fe279bc579e 100644 --- a/tests/UI/campaigns/modules/ps_newproducts/01_installation/05_disableEnableModule.ts +++ b/tests/UI/campaigns/modules/ps_newproducts/01_installation/05_disableEnableModule.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicHomePage, modPsNewProductsBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_newproducts/02_configuration/01_configureSettingsProductsToDisplay.ts b/tests/UI/campaigns/modules/ps_newproducts/02_configuration/01_configureSettingsProductsToDisplay.ts index e9a315a8a5ae4..fbf147384053f 100644 --- a/tests/UI/campaigns/modules/ps_newproducts/02_configuration/01_configureSettingsProductsToDisplay.ts +++ b/tests/UI/campaigns/modules/ps_newproducts/02_configuration/01_configureSettingsProductsToDisplay.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicHomePage, modPsNewProductsBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_newproducts/02_configuration/02_boHeaderButtons.ts b/tests/UI/campaigns/modules/ps_newproducts/02_configuration/02_boHeaderButtons.ts index 8dbb52a76958a..a511f26e39ac1 100644 --- a/tests/UI/campaigns/modules/ps_newproducts/02_configuration/02_boHeaderButtons.ts +++ b/tests/UI/campaigns/modules/ps_newproducts/02_configuration/02_boHeaderButtons.ts @@ -6,13 +6,14 @@ import testContext from '@utils/testContext'; import boDesignPositionsPage from '@pages/BO/design/positions'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, modPsNewProductsBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_newproducts/02_configuration/03_configureSettingsNumberOfDays.ts b/tests/UI/campaigns/modules/ps_newproducts/02_configuration/03_configureSettingsNumberOfDays.ts index e2f57d27d98bd..6608fe914a9ba 100644 --- a/tests/UI/campaigns/modules/ps_newproducts/02_configuration/03_configureSettingsNumberOfDays.ts +++ b/tests/UI/campaigns/modules/ps_newproducts/02_configuration/03_configureSettingsNumberOfDays.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicHomePage, modPsNewProductsBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_supplierlist/01_configure/01_configureSettings.ts b/tests/UI/campaigns/modules/ps_supplierlist/01_configure/01_configureSettings.ts index 60054e284437e..c511ed3086880 100644 --- a/tests/UI/campaigns/modules/ps_supplierlist/01_configure/01_configureSettings.ts +++ b/tests/UI/campaigns/modules/ps_supplierlist/01_configure/01_configureSettings.ts @@ -2,16 +2,17 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataModules, foClassicCategoryPage, foClassicHomePage, modPsNewProductsBoMain, modPsSupplierListBoMain, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_themecusto/01_installation/02_uninstallAndInstallModule.ts b/tests/UI/campaigns/modules/ps_themecusto/01_installation/02_uninstallAndInstallModule.ts index a059150ef8ce6..f7c8bf1130441 100644 --- a/tests/UI/campaigns/modules/ps_themecusto/01_installation/02_uninstallAndInstallModule.ts +++ b/tests/UI/campaigns/modules/ps_themecusto/01_installation/02_uninstallAndInstallModule.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boThemeAndLogoPage, + type BrowserContext, dataModules, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_themecusto/01_installation/03_uninstallAndDeleteModule.ts b/tests/UI/campaigns/modules/ps_themecusto/01_installation/03_uninstallAndDeleteModule.ts index 4a8a334db56a4..37b9962f60d77 100644 --- a/tests/UI/campaigns/modules/ps_themecusto/01_installation/03_uninstallAndDeleteModule.ts +++ b/tests/UI/campaigns/modules/ps_themecusto/01_installation/03_uninstallAndDeleteModule.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boThemeAndLogoPage, + type BrowserContext, dataModules, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_themecusto/01_installation/04_resetModule.ts b/tests/UI/campaigns/modules/ps_themecusto/01_installation/04_resetModule.ts index 929181ef801d1..57a098ae18bb5 100644 --- a/tests/UI/campaigns/modules/ps_themecusto/01_installation/04_resetModule.ts +++ b/tests/UI/campaigns/modules/ps_themecusto/01_installation/04_resetModule.ts @@ -2,7 +2,6 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, @@ -10,7 +9,9 @@ import { boThemeAdvancedConfigurationPage, boThemeAndLogoPage, boThemePagesConfigurationPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_themecusto/01_installation/05_disableEnableModule.ts b/tests/UI/campaigns/modules/ps_themecusto/01_installation/05_disableEnableModule.ts index 90bd2107fb66a..49afdd50a123a 100644 --- a/tests/UI/campaigns/modules/ps_themecusto/01_installation/05_disableEnableModule.ts +++ b/tests/UI/campaigns/modules/ps_themecusto/01_installation/05_disableEnableModule.ts @@ -1,14 +1,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boThemeAndLogoPage, + type BrowserContext, dataModules, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/ps_themecusto/02_configuration/02_advancedCustomizationTab.ts b/tests/UI/campaigns/modules/ps_themecusto/02_configuration/02_advancedCustomizationTab.ts index 3855990699196..de092d332f8f4 100644 --- a/tests/UI/campaigns/modules/ps_themecusto/02_configuration/02_advancedCustomizationTab.ts +++ b/tests/UI/campaigns/modules/ps_themecusto/02_configuration/02_advancedCustomizationTab.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boThemeAdvancedConfigurationPage, boThemeAndLogoPage, + type BrowserContext, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/psgdpr/02_configuration/03_consentCheckboxCustomization.ts b/tests/UI/campaigns/modules/psgdpr/02_configuration/03_consentCheckboxCustomization.ts index a94b3b2465497..e4c6ce3d5e102 100644 --- a/tests/UI/campaigns/modules/psgdpr/02_configuration/03_consentCheckboxCustomization.ts +++ b/tests/UI/campaigns/modules/psgdpr/02_configuration/03_consentCheckboxCustomization.ts @@ -13,13 +13,13 @@ import {accountIdentityPage} from '@pages/FO/classic/myAccount/identity'; import boDesignPositionsPage from '@pages/BO/design/positions'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import {faker, fakerFR} from '@faker-js/faker'; import { boDashboardPage, boDesignPositionsHookModulePage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataLanguages, dataModules, dataProducts, @@ -33,6 +33,7 @@ import { foClassicSearchResultsPage, modPsGdprBoMain, modPsGdprBoTabDataConsent, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/psgdpr/02_configuration/04_customerActivityTracking.ts b/tests/UI/campaigns/modules/psgdpr/02_configuration/04_customerActivityTracking.ts index 88e57ddc8e47e..f503dce22e6d4 100644 --- a/tests/UI/campaigns/modules/psgdpr/02_configuration/04_customerActivityTracking.ts +++ b/tests/UI/campaigns/modules/psgdpr/02_configuration/04_customerActivityTracking.ts @@ -6,11 +6,11 @@ import testContext from '@utils/testContext'; import {createAccountPage as foCreateAccountPage} from '@pages/FO/classic/myAccount/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, dataCustomers, dataModules, FakerCustomer, @@ -19,6 +19,7 @@ import { foClassicMyAccountPage, modPsGdprBoMain, modPsGdprBoTabCustomerActivity, + type Page, utilsCore, utilsFile, utilsPlaywright, diff --git a/tests/UI/campaigns/modules/psgdpr/02_configuration/05_help.ts b/tests/UI/campaigns/modules/psgdpr/02_configuration/05_help.ts index 6b397ee35740e..ee90e903ff4fa 100644 --- a/tests/UI/campaigns/modules/psgdpr/02_configuration/05_help.ts +++ b/tests/UI/campaigns/modules/psgdpr/02_configuration/05_help.ts @@ -2,17 +2,18 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boMyProfilePage, + type BrowserContext, dataEmployees, dataModules, FakerEmployee, modPsGdprBoMain, modPsGdprBoTabHelp, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/psgdpr/02_configuration/07_multistore.ts b/tests/UI/campaigns/modules/psgdpr/02_configuration/07_multistore.ts index d8aecef2c3d67..05715b600a17c 100644 --- a/tests/UI/campaigns/modules/psgdpr/02_configuration/07_multistore.ts +++ b/tests/UI/campaigns/modules/psgdpr/02_configuration/07_multistore.ts @@ -9,18 +9,19 @@ import addShopPage from '@pages/BO/advancedParameters/multistore/shop/add'; import addShopUrlPage from '@pages/BO/advancedParameters/multistore/url/addURL'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boShopParametersPage, + type BrowserContext, dataModules, FakerShop, foClassicContactUsPage, foClassicHomePage, modPsGdprBoMain, modPsGdprBoTabDataConsent, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/modules/psgdpr/02_configuration/08_personalDataManagerForGuest.ts b/tests/UI/campaigns/modules/psgdpr/02_configuration/08_personalDataManagerForGuest.ts index 985dc0910140d..d94f0819641d7 100644 --- a/tests/UI/campaigns/modules/psgdpr/02_configuration/08_personalDataManagerForGuest.ts +++ b/tests/UI/campaigns/modules/psgdpr/02_configuration/08_personalDataManagerForGuest.ts @@ -9,12 +9,12 @@ import {createOrderByGuestTest} from '@commonTests/FO/classic/order'; import {viewOrderBasePage} from '@pages/BO/orders/view/viewOrderBasePage'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boModuleManagerPage, boOrdersPage, + type BrowserContext, dataModules, dataOrderStatuses, dataPaymentMethods, @@ -24,6 +24,7 @@ import { FakerOrder, modPsGdprBoMain, modPsGdprBoTabDataConfig, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/regression/checkout/100PercentDiscount_FO.ts b/tests/UI/campaigns/regression/checkout/100PercentDiscount_FO.ts index e3cf14ddccfc6..a7f57242ca211 100644 --- a/tests/UI/campaigns/regression/checkout/100PercentDiscount_FO.ts +++ b/tests/UI/campaigns/regression/checkout/100PercentDiscount_FO.ts @@ -11,6 +11,7 @@ import { boDashboardPage, boLoginPage, boOrderSettingsPage, + type BrowserContext, dataCMSPages, FakerAddress, FakerCartRule, @@ -20,11 +21,11 @@ import { foClassicCheckoutOrderConfirmationPage, foClassicHomePage, foClassicModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'regression_checkout_100PercentDiscount_FO'; diff --git a/tests/UI/campaigns/regression/currencies/computingPrecision_FO.ts b/tests/UI/campaigns/regression/currencies/computingPrecision_FO.ts index 75928fcfad7f8..377cb5bcb76e7 100644 --- a/tests/UI/campaigns/regression/currencies/computingPrecision_FO.ts +++ b/tests/UI/campaigns/regression/currencies/computingPrecision_FO.ts @@ -16,6 +16,7 @@ import { boSqlManagerPage, boSqlManagerCreatePage, boSqlManagerViewPage, + type BrowserContext, dataCurrencies, dataCustomers, dataPaymentMethods, @@ -30,11 +31,11 @@ import { foClassicLoginPage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'regression_currencies_computingPrecision_FO'; diff --git a/tests/UI/campaigns/regression/menu/deniedAccessToModuleCatalogPage.ts b/tests/UI/campaigns/regression/menu/deniedAccessToModuleCatalogPage.ts index 89de3653c4d7c..a41a72d0e761f 100644 --- a/tests/UI/campaigns/regression/menu/deniedAccessToModuleCatalogPage.ts +++ b/tests/UI/campaigns/regression/menu/deniedAccessToModuleCatalogPage.ts @@ -6,10 +6,11 @@ import errorPage from '@pages/BO/error'; import moduleCatalogPage from '@pages/BO/modules/moduleCatalog'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/sanity/01_installShop/01_installShop.ts b/tests/UI/campaigns/sanity/01_installShop/01_installShop.ts index 27799a5641144..9684f78910145 100644 --- a/tests/UI/campaigns/sanity/01_installShop/01_installShop.ts +++ b/tests/UI/campaigns/sanity/01_installShop/01_installShop.ts @@ -5,9 +5,10 @@ import testContext from '@utils/testContext'; import installPage from '@pages/install'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/sanity/02_ordersBO/01_filterOrders.ts b/tests/UI/campaigns/sanity/02_ordersBO/01_filterOrders.ts index 2277c0ffdeecb..bf1c956119c76 100644 --- a/tests/UI/campaigns/sanity/02_ordersBO/01_filterOrders.ts +++ b/tests/UI/campaigns/sanity/02_ordersBO/01_filterOrders.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boOrdersPage, + type BrowserContext, dataOrders, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/sanity/02_ordersBO/02_editOrder.ts b/tests/UI/campaigns/sanity/02_ordersBO/02_editOrder.ts index 2766783e845b9..09e8039be8fd3 100644 --- a/tests/UI/campaigns/sanity/02_ordersBO/02_editOrder.ts +++ b/tests/UI/campaigns/sanity/02_ordersBO/02_editOrder.ts @@ -6,12 +6,13 @@ import { boLoginPage, boOrdersPage, boOrdersViewBlockProductsPage, + type BrowserContext, dataOrderStatuses, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'sanity_ordersBO_editOrder'; diff --git a/tests/UI/campaigns/sanity/03_productsBO/01_filterProducts.ts b/tests/UI/campaigns/sanity/03_productsBO/01_filterProducts.ts index d18aae85825c1..7e3bfe53d48f3 100644 --- a/tests/UI/campaigns/sanity/03_productsBO/01_filterProducts.ts +++ b/tests/UI/campaigns/sanity/03_productsBO/01_filterProducts.ts @@ -2,13 +2,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, dataCategories, dataProducts, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/sanity/03_productsBO/02_CRUDStandardProduct.ts b/tests/UI/campaigns/sanity/03_productsBO/02_CRUDStandardProduct.ts index caae13b96ec47..11d53370a7b74 100644 --- a/tests/UI/campaigns/sanity/03_productsBO/02_CRUDStandardProduct.ts +++ b/tests/UI/campaigns/sanity/03_productsBO/02_CRUDStandardProduct.ts @@ -4,14 +4,15 @@ import testContext from '@utils/testContext'; // Import BO pages import createProductsPage from '@pages/BO/catalog/products/add'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicProductPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/sanity/03_productsBO/03_CRUDProductWithCombinations.ts b/tests/UI/campaigns/sanity/03_productsBO/03_CRUDProductWithCombinations.ts index ab2e0b35780e3..5319201e94dfd 100644 --- a/tests/UI/campaigns/sanity/03_productsBO/03_CRUDProductWithCombinations.ts +++ b/tests/UI/campaigns/sanity/03_productsBO/03_CRUDProductWithCombinations.ts @@ -7,13 +7,14 @@ import createProductsPage from '@pages/BO/catalog/products/add'; import combinationsTab from '@pages/BO/catalog/products/add/combinationsTab'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/sanity/03_productsBO/04_CRUDVirtualProduct.ts b/tests/UI/campaigns/sanity/03_productsBO/04_CRUDVirtualProduct.ts index fd4bac554d1d4..effc7cf71da1d 100644 --- a/tests/UI/campaigns/sanity/03_productsBO/04_CRUDVirtualProduct.ts +++ b/tests/UI/campaigns/sanity/03_productsBO/04_CRUDVirtualProduct.ts @@ -1,4 +1,3 @@ -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; // Import utils @@ -12,8 +11,10 @@ import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, foClassicProductPage, + type Page, utilsCore, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/sanity/03_productsBO/05_deleteProduct.ts b/tests/UI/campaigns/sanity/03_productsBO/05_deleteProduct.ts index dc44bc8d61c5d..2105daee6e8a0 100644 --- a/tests/UI/campaigns/sanity/03_productsBO/05_deleteProduct.ts +++ b/tests/UI/campaigns/sanity/03_productsBO/05_deleteProduct.ts @@ -4,13 +4,14 @@ import testContext from '@utils/testContext'; // Import pages import createProductsPage from '@pages/BO/catalog/products/add'; -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/sanity/03_productsBO/06_deleteProductsWithBulkActions.ts b/tests/UI/campaigns/sanity/03_productsBO/06_deleteProductsWithBulkActions.ts index 7c8ffdb5e05e1..d12ea5f2999a3 100644 --- a/tests/UI/campaigns/sanity/03_productsBO/06_deleteProductsWithBulkActions.ts +++ b/tests/UI/campaigns/sanity/03_productsBO/06_deleteProductsWithBulkActions.ts @@ -1,4 +1,3 @@ -import type {BrowserContext, Page} from 'playwright'; import {expect} from 'chai'; // Import utils @@ -11,7 +10,9 @@ import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/sanity/04_catalogFO/01_filterProducts.ts b/tests/UI/campaigns/sanity/04_catalogFO/01_filterProducts.ts index 4af5170dd549f..52275d8ee7ca4 100644 --- a/tests/UI/campaigns/sanity/04_catalogFO/01_filterProducts.ts +++ b/tests/UI/campaigns/sanity/04_catalogFO/01_filterProducts.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataCategories, foClassicCategoryPage, foClassicHomePage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/sanity/04_catalogFO/02_checkProduct.ts b/tests/UI/campaigns/sanity/04_catalogFO/02_checkProduct.ts index f7c4829c34075..ec91e6c2375e3 100644 --- a/tests/UI/campaigns/sanity/04_catalogFO/02_checkProduct.ts +++ b/tests/UI/campaigns/sanity/04_catalogFO/02_checkProduct.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/sanity/05_cartFO/01_editCheckCart.ts b/tests/UI/campaigns/sanity/05_cartFO/01_editCheckCart.ts index 34e4ef80dd5c0..cb71a43c2f745 100644 --- a/tests/UI/campaigns/sanity/05_cartFO/01_editCheckCart.ts +++ b/tests/UI/campaigns/sanity/05_cartFO/01_editCheckCart.ts @@ -2,12 +2,13 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, dataProducts, foClassicCartPage, foClassicHomePage, foClassicProductPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/campaigns/sanity/06_checkoutFO/01_orderProduct.ts b/tests/UI/campaigns/sanity/06_checkoutFO/01_orderProduct.ts index dfb306c77dd26..63c1ee3a66afb 100644 --- a/tests/UI/campaigns/sanity/06_checkoutFO/01_orderProduct.ts +++ b/tests/UI/campaigns/sanity/06_checkoutFO/01_orderProduct.ts @@ -5,6 +5,7 @@ import testContext from '@utils/testContext'; import {blockCartModal} from '@pages/FO/classic/modal/blockCart'; import { + type BrowserContext, dataCustomers, dataPaymentMethods, dataProducts, @@ -14,11 +15,11 @@ import { foClassicHomePage, foClassicLoginPage, foClassicModalQuickViewPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; const baseContext: string = 'sanity_checkoutFO_orderProduct'; diff --git a/tests/UI/commonTests/BO/advancedParameters/authServer.ts b/tests/UI/commonTests/BO/advancedParameters/authServer.ts index 85172465d02ee..d4b61faa61183 100644 --- a/tests/UI/commonTests/BO/advancedParameters/authServer.ts +++ b/tests/UI/commonTests/BO/advancedParameters/authServer.ts @@ -1,13 +1,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boApiClientsPage, boApiClientsCreatePage, boDashboardPage, boLoginPage, + type BrowserContext, type FakerAPIClient, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/advancedParameters/cache.ts b/tests/UI/commonTests/BO/advancedParameters/cache.ts index b0aa1dbaf07fc..b89ca7205df7c 100644 --- a/tests/UI/commonTests/BO/advancedParameters/cache.ts +++ b/tests/UI/commonTests/BO/advancedParameters/cache.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boPerformancePage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/advancedParameters/employee.ts b/tests/UI/commonTests/BO/advancedParameters/employee.ts index 239fdea9fea27..c7d49782cc842 100644 --- a/tests/UI/commonTests/BO/advancedParameters/employee.ts +++ b/tests/UI/commonTests/BO/advancedParameters/employee.ts @@ -6,11 +6,12 @@ import employeesPage from '@pages/BO/advancedParameters/team'; import addEmployeePage from '@pages/BO/advancedParameters/team/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, type FakerEmployee, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/advancedParameters/importFile.ts b/tests/UI/commonTests/BO/advancedParameters/importFile.ts index e4cd26ed8e3e8..b59550b06f59c 100644 --- a/tests/UI/commonTests/BO/advancedParameters/importFile.ts +++ b/tests/UI/commonTests/BO/advancedParameters/importFile.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boImportPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/advancedParameters/multistore.ts b/tests/UI/commonTests/BO/advancedParameters/multistore.ts index 3effd61d35742..95d15a78d033a 100644 --- a/tests/UI/commonTests/BO/advancedParameters/multistore.ts +++ b/tests/UI/commonTests/BO/advancedParameters/multistore.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boShopParametersPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/advancedParameters/newFeatures.ts b/tests/UI/commonTests/BO/advancedParameters/newFeatures.ts index f965141573a46..192910dc0cb46 100644 --- a/tests/UI/commonTests/BO/advancedParameters/newFeatures.ts +++ b/tests/UI/commonTests/BO/advancedParameters/newFeatures.ts @@ -1,11 +1,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boFeatureFlagPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/advancedParameters/setPermissions.ts b/tests/UI/commonTests/BO/advancedParameters/setPermissions.ts index cc31a2c569527..b3e78dee01e7f 100644 --- a/tests/UI/commonTests/BO/advancedParameters/setPermissions.ts +++ b/tests/UI/commonTests/BO/advancedParameters/setPermissions.ts @@ -6,11 +6,12 @@ import employeesPage from '@pages/BO/advancedParameters/team'; import permissionsPage from '@pages/BO/advancedParameters/team/permissions'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, type EmployeePermission, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/advancedParameters/smtp.ts b/tests/UI/commonTests/BO/advancedParameters/smtp.ts index f7a4d069c00c6..89da8b5257ed4 100644 --- a/tests/UI/commonTests/BO/advancedParameters/smtp.ts +++ b/tests/UI/commonTests/BO/advancedParameters/smtp.ts @@ -5,12 +5,13 @@ import { boDashboardPage, boEmailPage, boLoginPage, + type BrowserContext, dataCustomers, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; let browserContext: BrowserContext; let page: Page; diff --git a/tests/UI/commonTests/BO/advancedParameters/ws.ts b/tests/UI/commonTests/BO/advancedParameters/ws.ts index 4aaa0a52d4b36..058b6b9b90efd 100644 --- a/tests/UI/commonTests/BO/advancedParameters/ws.ts +++ b/tests/UI/commonTests/BO/advancedParameters/ws.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import webservicePage from '@pages/BO/advancedParameters/webservice'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import addWebservicePage from '@pages/BO/advancedParameters/webservice/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerWebservice, + type Page, utilsPlaywright, type WebservicePermission, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/catalog/cartRule.ts b/tests/UI/commonTests/BO/catalog/cartRule.ts index 26f51cc4448af..6f3f053db8ec7 100644 --- a/tests/UI/commonTests/BO/catalog/cartRule.ts +++ b/tests/UI/commonTests/BO/catalog/cartRule.ts @@ -6,11 +6,12 @@ import cartRulesPage from '@pages/BO/catalog/discounts'; import addCartRulePage from '@pages/BO/catalog/discounts/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, type FakerCartRule, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/catalog/category.ts b/tests/UI/commonTests/BO/catalog/category.ts index 46d623720242b..368ef59bd55cd 100644 --- a/tests/UI/commonTests/BO/catalog/category.ts +++ b/tests/UI/commonTests/BO/catalog/category.ts @@ -5,11 +5,12 @@ import testContext from '@utils/testContext'; import categoriesPage from '@pages/BO/catalog/categories'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, type CategoryFilter, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/catalog/features.ts b/tests/UI/commonTests/BO/catalog/features.ts index 6d4ce85e3e1b1..f89a0a6a0d0a8 100644 --- a/tests/UI/commonTests/BO/catalog/features.ts +++ b/tests/UI/commonTests/BO/catalog/features.ts @@ -7,11 +7,12 @@ import addFeaturePage from '@pages/BO/catalog/features/addFeature'; import attributesPage from '@pages/BO/catalog/attributes'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, type FakerFeature, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/catalog/monitoring.ts b/tests/UI/commonTests/BO/catalog/monitoring.ts index 313f6e89c0dcb..7f8815fbb481e 100644 --- a/tests/UI/commonTests/BO/catalog/monitoring.ts +++ b/tests/UI/commonTests/BO/catalog/monitoring.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import monitoringPage from '@pages/BO/catalog/monitoring'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/catalog/product.ts b/tests/UI/commonTests/BO/catalog/product.ts index 021490393156c..765930efde9cc 100644 --- a/tests/UI/commonTests/BO/catalog/product.ts +++ b/tests/UI/commonTests/BO/catalog/product.ts @@ -5,12 +5,13 @@ import testContext from '@utils/testContext'; import addProductPage from '@pages/BO/catalog/products/add'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boProductsPage, + type BrowserContext, FakerProduct, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/customerService/merchandiseReturns.ts b/tests/UI/commonTests/BO/customerService/merchandiseReturns.ts index 346d2f1249c6d..08ed5dc57c901 100644 --- a/tests/UI/commonTests/BO/customerService/merchandiseReturns.ts +++ b/tests/UI/commonTests/BO/customerService/merchandiseReturns.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import merchandiseReturnsPage from '@pages/BO/customerService/merchandiseReturns'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/customers/address.ts b/tests/UI/commonTests/BO/customers/address.ts index df154cdeb8126..a67eb63237492 100644 --- a/tests/UI/commonTests/BO/customers/address.ts +++ b/tests/UI/commonTests/BO/customers/address.ts @@ -8,12 +8,13 @@ import addAddressPage from '@pages/BO/customers/addresses/add'; import { boDashboardPage, boLoginPage, + type BrowserContext, FakerAddress, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; let browserContext: BrowserContext; let page: Page; diff --git a/tests/UI/commonTests/BO/customers/customer.ts b/tests/UI/commonTests/BO/customers/customer.ts index e3bf5648c1e35..40450dadda02c 100644 --- a/tests/UI/commonTests/BO/customers/customer.ts +++ b/tests/UI/commonTests/BO/customers/customer.ts @@ -8,12 +8,13 @@ import { boCustomersPage, boDashboardPage, boLoginPage, + type BrowserContext, FakerCustomer, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; let browserContext: BrowserContext; let page: Page; diff --git a/tests/UI/commonTests/BO/design/hummingbird.ts b/tests/UI/commonTests/BO/design/hummingbird.ts index 428a251ee8b17..7c6690b7519d6 100644 --- a/tests/UI/commonTests/BO/design/hummingbird.ts +++ b/tests/UI/commonTests/BO/design/hummingbird.ts @@ -1,11 +1,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boThemeAndLogoPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/design/positions.ts b/tests/UI/commonTests/BO/design/positions.ts index 8ee5014c7691c..c56235dabe2ee 100644 --- a/tests/UI/commonTests/BO/design/positions.ts +++ b/tests/UI/commonTests/BO/design/positions.ts @@ -1,13 +1,14 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boDesignPositionsHookModulePage, boDesignPositionsPage, boLoginPage, + type BrowserContext, type FakerModule, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/international/currency.ts b/tests/UI/commonTests/BO/international/currency.ts index 535cc5d5f138f..58149665c54d4 100644 --- a/tests/UI/commonTests/BO/international/currency.ts +++ b/tests/UI/commonTests/BO/international/currency.ts @@ -8,12 +8,13 @@ import { boDashboardPage, boLocalizationPage, boLoginPage, + type BrowserContext, type FakerCurrency, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; let browserContext: BrowserContext; let page: Page; diff --git a/tests/UI/commonTests/BO/international/ecoTax.ts b/tests/UI/commonTests/BO/international/ecoTax.ts index 73f546b136eed..c67fff38dc10c 100644 --- a/tests/UI/commonTests/BO/international/ecoTax.ts +++ b/tests/UI/commonTests/BO/international/ecoTax.ts @@ -5,10 +5,11 @@ import testContext from '@utils/testContext'; import taxesPage from '@pages/BO/international/taxes'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/modules/moduleManager.ts b/tests/UI/commonTests/BO/modules/moduleManager.ts index 2a02d1a5bf6da..362a9ac7147d2 100644 --- a/tests/UI/commonTests/BO/modules/moduleManager.ts +++ b/tests/UI/commonTests/BO/modules/moduleManager.ts @@ -4,13 +4,14 @@ import { boDashboardPage, boLoginPage, boModuleManagerPage, + type BrowserContext, type FakerModule, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; /** * diff --git a/tests/UI/commonTests/BO/orders/shoppingCarts.ts b/tests/UI/commonTests/BO/orders/shoppingCarts.ts index 2069592b5e356..4175ffc5507a7 100644 --- a/tests/UI/commonTests/BO/orders/shoppingCarts.ts +++ b/tests/UI/commonTests/BO/orders/shoppingCarts.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boDashboardPage, boLoginPage, boShoppingCartsPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/BO/shopParameters/b2b.ts b/tests/UI/commonTests/BO/shopParameters/b2b.ts index ce0e3230a7f1f..8e73b14cf14c9 100644 --- a/tests/UI/commonTests/BO/shopParameters/b2b.ts +++ b/tests/UI/commonTests/BO/shopParameters/b2b.ts @@ -2,11 +2,12 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { boCustomerSettingsPage, boDashboardPage, boLoginPage, + type BrowserContext, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/FO/classic/account.ts b/tests/UI/commonTests/FO/classic/account.ts index afab38c51b76f..80926cc5f8e3f 100644 --- a/tests/UI/commonTests/FO/classic/account.ts +++ b/tests/UI/commonTests/FO/classic/account.ts @@ -7,16 +7,17 @@ import {addressesPage} from '@pages/FO/classic/myAccount/addresses'; import {addAddressPage} from '@pages/FO/classic/myAccount/addAddress'; import { + type BrowserContext, FakerAddress, FakerCustomer, foClassicHomePage, foClassicLoginPage, foClassicMyAccountPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; let browserContext: BrowserContext; let page: Page; diff --git a/tests/UI/commonTests/FO/classic/loginFO.ts b/tests/UI/commonTests/FO/classic/loginFO.ts index 211dab8296807..f0252a4b7ee47 100644 --- a/tests/UI/commonTests/FO/classic/loginFO.ts +++ b/tests/UI/commonTests/FO/classic/loginFO.ts @@ -5,11 +5,11 @@ import { FakerCustomer, foClassicLoginPage, foClassicMyAccountPage, + type Page, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; import type {Context} from 'mocha'; -import type {Page} from 'playwright'; export default { async loginFO(mochaContext: Context, page: Page, customer: FakerCustomer): Promise { diff --git a/tests/UI/commonTests/FO/classic/order.ts b/tests/UI/commonTests/FO/classic/order.ts index 9cab52026c4e7..57b5b13dcb9cc 100644 --- a/tests/UI/commonTests/FO/classic/order.ts +++ b/tests/UI/commonTests/FO/classic/order.ts @@ -2,8 +2,8 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, FakerOrder, foClassicCartPage, foClassicCheckoutPage, @@ -12,6 +12,7 @@ import { foClassicLoginPage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/FO/classic/shoppingCart.ts b/tests/UI/commonTests/FO/classic/shoppingCart.ts index 25f5a1c4d25c4..4e6110bec9bbd 100644 --- a/tests/UI/commonTests/FO/classic/shoppingCart.ts +++ b/tests/UI/commonTests/FO/classic/shoppingCart.ts @@ -2,14 +2,15 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, FakerOrder, foClassicCartPage, foClassicHomePage, foClassicLoginPage, foClassicProductPage, foClassicSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/commonTests/FO/hummingbird/account.ts b/tests/UI/commonTests/FO/hummingbird/account.ts index 23b0c98be9a70..c2b00c1f6bb79 100644 --- a/tests/UI/commonTests/FO/hummingbird/account.ts +++ b/tests/UI/commonTests/FO/hummingbird/account.ts @@ -5,14 +5,15 @@ import testContext from '@utils/testContext'; import foCreateAccountPage from '@pages/FO/hummingbird/myAccount/add'; import { + type BrowserContext, FakerCustomer, foHummingbirdHomePage, foHummingbirdLoginPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; let browserContext: BrowserContext; let page: Page; diff --git a/tests/UI/commonTests/FO/hummingbird/order.ts b/tests/UI/commonTests/FO/hummingbird/order.ts index 65d91b12612d9..62130469c42a1 100644 --- a/tests/UI/commonTests/FO/hummingbird/order.ts +++ b/tests/UI/commonTests/FO/hummingbird/order.ts @@ -2,8 +2,8 @@ import testContext from '@utils/testContext'; import {expect} from 'chai'; -import type {BrowserContext, Page} from 'playwright'; import { + type BrowserContext, FakerOrder, foHummingbirdCartPage, foHummingbirdCheckoutPage, @@ -12,6 +12,7 @@ import { foHummingbirdLoginPage, foHummingbirdProductPage, foHummingbirdSearchResultsPage, + type Page, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/package-lock.json b/tests/UI/package-lock.json index 85b256bd72a6d..93b177666835c 100644 --- a/tests/UI/package-lock.json +++ b/tests/UI/package-lock.json @@ -16,8 +16,7 @@ "dotenv": "^16.4.5", "mocha": "^10.7.3", "mochawesome": "^7.1.3", - "mysql2": "^3.11.3", - "playwright": "^1.48.1" + "mysql2": "^3.11.3" }, "devDependencies": { "@types/chai": "^4.3.11", @@ -434,7 +433,7 @@ }, "node_modules/@prestashop-core/ui-testing": { "version": "0.0.12", - "resolved": "git+ssh://git@github.com/PrestaShop/ui-testing-library.git#5645b09cda20d71724f268fe30d22de5af47ea14", + "resolved": "git+ssh://git@github.com/PrestaShop/ui-testing-library.git#159941cd08a70d82aa35fb547456967d69e4827d", "license": "MIT", "dependencies": { "@faker-js/faker": "^8.3.1", @@ -8432,7 +8431,7 @@ } }, "@prestashop-core/ui-testing": { - "version": "git+ssh://git@github.com/PrestaShop/ui-testing-library.git#5645b09cda20d71724f268fe30d22de5af47ea14", + "version": "git+ssh://git@github.com/PrestaShop/ui-testing-library.git#159941cd08a70d82aa35fb547456967d69e4827d", "from": "@prestashop-core/ui-testing@https://github.com/PrestaShop/ui-testing-library#main", "requires": { "@faker-js/faker": "^8.3.1", diff --git a/tests/UI/package.json b/tests/UI/package.json index 3471fea8a54b6..c1c9a0b1b294e 100644 --- a/tests/UI/package.json +++ b/tests/UI/package.json @@ -112,8 +112,7 @@ "dotenv": "^16.4.5", "mocha": "^10.7.3", "mochawesome": "^7.1.3", - "mysql2": "^3.11.3", - "playwright": "^1.48.1" + "mysql2": "^3.11.3" }, "devDependencies": { "@types/chai": "^4.3.11", diff --git a/tests/UI/pages/BO/BObasePage.ts b/tests/UI/pages/BO/BObasePage.ts index 93272160847cb..f896c2773c610 100644 --- a/tests/UI/pages/BO/BObasePage.ts +++ b/tests/UI/pages/BO/BObasePage.ts @@ -1,8 +1,12 @@ // Import pages import CommonPage from '@pages/commonPage'; -import {Frame, FrameLocator, Page} from 'playwright'; -import type {PageFunction} from 'playwright-core/types/structs'; +import { + type Frame, + type FrameLocator, + type Page, + type PageFunction, +} from '@prestashop-core/ui-testing'; /** * BO parent page, contains functions that can be used on all BO page diff --git a/tests/UI/pages/BO/advancedParameters/logs/index.ts b/tests/UI/pages/BO/advancedParameters/logs/index.ts index 664214ccf7f31..fa7999ebb410f 100644 --- a/tests/UI/pages/BO/advancedParameters/logs/index.ts +++ b/tests/UI/pages/BO/advancedParameters/logs/index.ts @@ -1,5 +1,7 @@ import BOBasePage from '@pages/BO/BObasePage'; -import {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Logs page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/advancedParameters/menuTab/index.ts b/tests/UI/pages/BO/advancedParameters/menuTab/index.ts index 7d43e1c924362..15c0e6a0d948f 100644 --- a/tests/UI/pages/BO/advancedParameters/menuTab/index.ts +++ b/tests/UI/pages/BO/advancedParameters/menuTab/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * MenuTab page, should not be displayed on BO diff --git a/tests/UI/pages/BO/advancedParameters/multistore/add.ts b/tests/UI/pages/BO/advancedParameters/multistore/add.ts index 5ceedb5f574ca..c4f30a54e8832 100644 --- a/tests/UI/pages/BO/advancedParameters/multistore/add.ts +++ b/tests/UI/pages/BO/advancedParameters/multistore/add.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerShopGroup, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/advancedParameters/multistore/index.ts b/tests/UI/pages/BO/advancedParameters/multistore/index.ts index 80c6ddc9c6b43..55f6b69997ff8 100644 --- a/tests/UI/pages/BO/advancedParameters/multistore/index.ts +++ b/tests/UI/pages/BO/advancedParameters/multistore/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Multistore page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/advancedParameters/multistore/shop/add.ts b/tests/UI/pages/BO/advancedParameters/multistore/shop/add.ts index 990711c8d50d7..21cc64ff47e01 100644 --- a/tests/UI/pages/BO/advancedParameters/multistore/shop/add.ts +++ b/tests/UI/pages/BO/advancedParameters/multistore/shop/add.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerShop, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/advancedParameters/multistore/shop/index.ts b/tests/UI/pages/BO/advancedParameters/multistore/shop/index.ts index da372bec9c0a9..5eb9d0de83e1c 100644 --- a/tests/UI/pages/BO/advancedParameters/multistore/shop/index.ts +++ b/tests/UI/pages/BO/advancedParameters/multistore/shop/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Shop page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/advancedParameters/multistore/url/addURL.ts b/tests/UI/pages/BO/advancedParameters/multistore/url/addURL.ts index ed231ba606e9e..3fc00b931783d 100644 --- a/tests/UI/pages/BO/advancedParameters/multistore/url/addURL.ts +++ b/tests/UI/pages/BO/advancedParameters/multistore/url/addURL.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Add url page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/advancedParameters/multistore/url/index.ts b/tests/UI/pages/BO/advancedParameters/multistore/url/index.ts index 2a3e2215aeff9..26d56f4e0136e 100644 --- a/tests/UI/pages/BO/advancedParameters/multistore/url/index.ts +++ b/tests/UI/pages/BO/advancedParameters/multistore/url/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Shop url page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/advancedParameters/team/add.ts b/tests/UI/pages/BO/advancedParameters/team/add.ts index f1e7b8a7b4d2f..88bb4612097c3 100644 --- a/tests/UI/pages/BO/advancedParameters/team/add.ts +++ b/tests/UI/pages/BO/advancedParameters/team/add.ts @@ -1,7 +1,8 @@ import EmployeeBasePage from '@pages/BO/advancedParameters/team/employeeBasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerEmployee, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/advancedParameters/team/employeeBasePage.ts b/tests/UI/pages/BO/advancedParameters/team/employeeBasePage.ts index ad49ddbabf42e..ae77a93036c65 100644 --- a/tests/UI/pages/BO/advancedParameters/team/employeeBasePage.ts +++ b/tests/UI/pages/BO/advancedParameters/team/employeeBasePage.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Employee base page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/advancedParameters/team/index.ts b/tests/UI/pages/BO/advancedParameters/team/index.ts index 2e46a8f17a646..b24ff55131700 100644 --- a/tests/UI/pages/BO/advancedParameters/team/index.ts +++ b/tests/UI/pages/BO/advancedParameters/team/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Employees page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/advancedParameters/team/permissions/index.ts b/tests/UI/pages/BO/advancedParameters/team/permissions/index.ts index aa0e4853420a9..44de51c8e3228 100644 --- a/tests/UI/pages/BO/advancedParameters/team/permissions/index.ts +++ b/tests/UI/pages/BO/advancedParameters/team/permissions/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Permissions page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/advancedParameters/team/roles/add.ts b/tests/UI/pages/BO/advancedParameters/team/roles/add.ts index f159b4813745e..57ad9c2396005 100644 --- a/tests/UI/pages/BO/advancedParameters/team/roles/add.ts +++ b/tests/UI/pages/BO/advancedParameters/team/roles/add.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerEmployeeRole, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/advancedParameters/team/roles/index.ts b/tests/UI/pages/BO/advancedParameters/team/roles/index.ts index f482918a7651f..a405da3f34dd6 100644 --- a/tests/UI/pages/BO/advancedParameters/team/roles/index.ts +++ b/tests/UI/pages/BO/advancedParameters/team/roles/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Roles page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/advancedParameters/webservice/add.ts b/tests/UI/pages/BO/advancedParameters/webservice/add.ts index 801b5e8dd67de..d58a87705088a 100644 --- a/tests/UI/pages/BO/advancedParameters/webservice/add.ts +++ b/tests/UI/pages/BO/advancedParameters/webservice/add.ts @@ -1,8 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; - import { + type Page, + FakerWebservice, type WebserviceMethod, type WebservicePermission, diff --git a/tests/UI/pages/BO/advancedParameters/webservice/index.ts b/tests/UI/pages/BO/advancedParameters/webservice/index.ts index 085f79015a0ab..a8daa44a68556 100644 --- a/tests/UI/pages/BO/advancedParameters/webservice/index.ts +++ b/tests/UI/pages/BO/advancedParameters/webservice/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Webservice page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/catalog/attributes/addAttribute.ts b/tests/UI/pages/BO/catalog/attributes/addAttribute.ts index b134b9c1bd776..d38a8bb131444 100644 --- a/tests/UI/pages/BO/catalog/attributes/addAttribute.ts +++ b/tests/UI/pages/BO/catalog/attributes/addAttribute.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerAttribute, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/catalog/attributes/addValue.ts b/tests/UI/pages/BO/catalog/attributes/addValue.ts index 874ee5fc54259..3550c651c9bcb 100644 --- a/tests/UI/pages/BO/catalog/attributes/addValue.ts +++ b/tests/UI/pages/BO/catalog/attributes/addValue.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerAttributeValue, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/catalog/attributes/index.ts b/tests/UI/pages/BO/catalog/attributes/index.ts index 6408d26c8b07d..6d6125d37ef6d 100644 --- a/tests/UI/pages/BO/catalog/attributes/index.ts +++ b/tests/UI/pages/BO/catalog/attributes/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Attributes page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/catalog/attributes/view.ts b/tests/UI/pages/BO/catalog/attributes/view.ts index 141795ffd482d..bb33734986b57 100644 --- a/tests/UI/pages/BO/catalog/attributes/view.ts +++ b/tests/UI/pages/BO/catalog/attributes/view.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * View attribute page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/catalog/brands/add.ts b/tests/UI/pages/BO/catalog/brands/add.ts index 0b7fed74373f1..5033db1cbe41a 100644 --- a/tests/UI/pages/BO/catalog/brands/add.ts +++ b/tests/UI/pages/BO/catalog/brands/add.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerBrand, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/catalog/brands/addAddress.ts b/tests/UI/pages/BO/catalog/brands/addAddress.ts index c96514076a596..4651d39bff534 100644 --- a/tests/UI/pages/BO/catalog/brands/addAddress.ts +++ b/tests/UI/pages/BO/catalog/brands/addAddress.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerBrandAddress, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/catalog/brands/index.ts b/tests/UI/pages/BO/catalog/brands/index.ts index 19a04067dd106..d93fe184f5715 100644 --- a/tests/UI/pages/BO/catalog/brands/index.ts +++ b/tests/UI/pages/BO/catalog/brands/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; import { FakerBrand, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/catalog/brands/view.ts b/tests/UI/pages/BO/catalog/brands/view.ts index 6dad90ca4d72d..1b98a0d1183bd 100644 --- a/tests/UI/pages/BO/catalog/brands/view.ts +++ b/tests/UI/pages/BO/catalog/brands/view.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * View brands page, contains selectors and functions for the page diff --git a/tests/UI/pages/BO/catalog/categories/add.ts b/tests/UI/pages/BO/catalog/categories/add.ts index 7c82092bfa0ec..9beca9f28e10c 100644 --- a/tests/UI/pages/BO/catalog/categories/add.ts +++ b/tests/UI/pages/BO/catalog/categories/add.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerCategory, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/catalog/categories/index.ts b/tests/UI/pages/BO/catalog/categories/index.ts index 2dd8f4b512846..9fdf80e57815d 100644 --- a/tests/UI/pages/BO/catalog/categories/index.ts +++ b/tests/UI/pages/BO/catalog/categories/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Categories page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/catalog/discounts/add.ts b/tests/UI/pages/BO/catalog/discounts/add.ts index 5f241b7b58620..59abf65dabd88 100644 --- a/tests/UI/pages/BO/catalog/discounts/add.ts +++ b/tests/UI/pages/BO/catalog/discounts/add.ts @@ -1,8 +1,9 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Frame, Page} from 'playwright'; import { type FakerCartRule, + type Frame, + type Page, } from '@prestashop-core/ui-testing'; /** diff --git a/tests/UI/pages/BO/catalog/discounts/catalogPriceRules/add.ts b/tests/UI/pages/BO/catalog/discounts/catalogPriceRules/add.ts index 547869aaa0269..80290bcb0c1b0 100644 --- a/tests/UI/pages/BO/catalog/discounts/catalogPriceRules/add.ts +++ b/tests/UI/pages/BO/catalog/discounts/catalogPriceRules/add.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerCatalogPriceRule, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/catalog/discounts/catalogPriceRules/index.ts b/tests/UI/pages/BO/catalog/discounts/catalogPriceRules/index.ts index 1aae4d9cce829..eea94503842a5 100644 --- a/tests/UI/pages/BO/catalog/discounts/catalogPriceRules/index.ts +++ b/tests/UI/pages/BO/catalog/discounts/catalogPriceRules/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Add catalog price rule page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/catalog/discounts/index.ts b/tests/UI/pages/BO/catalog/discounts/index.ts index c0130e5d20be1..9f5dcbd6a4fc1 100644 --- a/tests/UI/pages/BO/catalog/discounts/index.ts +++ b/tests/UI/pages/BO/catalog/discounts/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Cart rules page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/catalog/features/addFeature.ts b/tests/UI/pages/BO/catalog/features/addFeature.ts index 26297c2d2ec9f..f811ab3d493b8 100644 --- a/tests/UI/pages/BO/catalog/features/addFeature.ts +++ b/tests/UI/pages/BO/catalog/features/addFeature.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerFeature, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/catalog/features/addValue.ts b/tests/UI/pages/BO/catalog/features/addValue.ts index 241e520b8b287..f6b1c8c0c9666 100644 --- a/tests/UI/pages/BO/catalog/features/addValue.ts +++ b/tests/UI/pages/BO/catalog/features/addValue.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerFeatureValue, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/catalog/features/index.ts b/tests/UI/pages/BO/catalog/features/index.ts index a2abab7f7f356..2803c8b86ffa1 100644 --- a/tests/UI/pages/BO/catalog/features/index.ts +++ b/tests/UI/pages/BO/catalog/features/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Features page, contains functions that can be used on features page diff --git a/tests/UI/pages/BO/catalog/features/view.ts b/tests/UI/pages/BO/catalog/features/view.ts index 78f0586cf4f8e..c7d18e32b4852 100644 --- a/tests/UI/pages/BO/catalog/features/view.ts +++ b/tests/UI/pages/BO/catalog/features/view.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * View feature page, contains functions that can be used on view feature page diff --git a/tests/UI/pages/BO/catalog/files/add.ts b/tests/UI/pages/BO/catalog/files/add.ts index 77cde9c593355..9dc376ff02059 100644 --- a/tests/UI/pages/BO/catalog/files/add.ts +++ b/tests/UI/pages/BO/catalog/files/add.ts @@ -1,8 +1,7 @@ -import {Page} from 'playwright'; - import BOBasePage from '@pages/BO/BObasePage'; import { type FakerFile, + type Page, } from '@prestashop-core/ui-testing'; /** diff --git a/tests/UI/pages/BO/catalog/files/index.ts b/tests/UI/pages/BO/catalog/files/index.ts index 4d3120af5cc62..30d9d18f8b445 100644 --- a/tests/UI/pages/BO/catalog/files/index.ts +++ b/tests/UI/pages/BO/catalog/files/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Files page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/catalog/monitoring/index.ts b/tests/UI/pages/BO/catalog/monitoring/index.ts index de7e5a0b49311..b945747d3ac59 100644 --- a/tests/UI/pages/BO/catalog/monitoring/index.ts +++ b/tests/UI/pages/BO/catalog/monitoring/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Monitoring page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/catalog/products/add/combinationsTab.ts b/tests/UI/pages/BO/catalog/products/add/combinationsTab.ts index e342c26e76ad6..1ffe3f2ea6cb0 100644 --- a/tests/UI/pages/BO/catalog/products/add/combinationsTab.ts +++ b/tests/UI/pages/BO/catalog/products/add/combinationsTab.ts @@ -2,6 +2,8 @@ import BOBasePage from '@pages/BO/BObasePage'; import { + type Frame, + type Page, type ProductAttributes, type ProductCombinationBulk, type ProductCombinationBulkRetailPrice, @@ -11,7 +13,6 @@ import { type ProductStockMovement, } from '@prestashop-core/ui-testing'; -import type {Frame, Page} from 'playwright'; import {expect} from 'chai'; /** diff --git a/tests/UI/pages/BO/catalog/products/add/detailsTab.ts b/tests/UI/pages/BO/catalog/products/add/detailsTab.ts index ad7ddad1a0815..5bbbd75ce655a 100644 --- a/tests/UI/pages/BO/catalog/products/add/detailsTab.ts +++ b/tests/UI/pages/BO/catalog/products/add/detailsTab.ts @@ -2,10 +2,11 @@ import BOBasePage from '@pages/BO/BObasePage'; import createProductPage from '@pages/BO/catalog/products/add'; -import type {Frame, Page} from 'playwright'; import {expect} from 'chai'; import { type FakerProduct, + type Frame, + type Page, type ProductFeatures, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/catalog/products/add/index.ts b/tests/UI/pages/BO/catalog/products/add/index.ts index 207491663ec06..8697f1f505e58 100644 --- a/tests/UI/pages/BO/catalog/products/add/index.ts +++ b/tests/UI/pages/BO/catalog/products/add/index.ts @@ -4,7 +4,6 @@ import detailsTab from '@pages/BO/catalog/products/add/detailsTab'; import pricingTab from '@pages/BO/catalog/products/add/pricingTab'; import packTab from '@pages/BO/catalog/products/add/packTab'; -import type {Frame, Page} from 'playwright'; import { boProductsCreateTabDescriptionPage, boProductsCreateTabShippingPage, @@ -12,6 +11,8 @@ import { boProductsCreateTabVirtualProductPage, boProductsPage, type FakerProduct, + type Frame, + type Page, type ProductHeaderSummary, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/catalog/products/add/optionsTab.ts b/tests/UI/pages/BO/catalog/products/add/optionsTab.ts index c0f4654788156..d511b61bb37a4 100644 --- a/tests/UI/pages/BO/catalog/products/add/optionsTab.ts +++ b/tests/UI/pages/BO/catalog/products/add/optionsTab.ts @@ -1,7 +1,9 @@ // Import pages import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Options tab on new product V2 page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/catalog/products/add/packTab.ts b/tests/UI/pages/BO/catalog/products/add/packTab.ts index 08f0366051640..252ab1a27c847 100644 --- a/tests/UI/pages/BO/catalog/products/add/packTab.ts +++ b/tests/UI/pages/BO/catalog/products/add/packTab.ts @@ -1,8 +1,9 @@ // Import pages import BOBasePage from '@pages/BO/BObasePage'; -import type {Locator, Page} from 'playwright'; import { + type Locator, + type Page, type ProductPackInformation, type ProductPackItem, type ProductPackOptions, diff --git a/tests/UI/pages/BO/catalog/products/add/pricingTab.ts b/tests/UI/pages/BO/catalog/products/add/pricingTab.ts index c5077091232ee..737f6b0008bab 100644 --- a/tests/UI/pages/BO/catalog/products/add/pricingTab.ts +++ b/tests/UI/pages/BO/catalog/products/add/pricingTab.ts @@ -1,8 +1,9 @@ // Import pages import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerProduct, type ProductSpecificPrice, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/catalog/products/add/seoTab.ts b/tests/UI/pages/BO/catalog/products/add/seoTab.ts index bfda4e66529da..aa28a944fc69e 100644 --- a/tests/UI/pages/BO/catalog/products/add/seoTab.ts +++ b/tests/UI/pages/BO/catalog/products/add/seoTab.ts @@ -1,7 +1,9 @@ // Import pages import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * SEO tab on new product V2 page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/catalog/stocks/movements/index.ts b/tests/UI/pages/BO/catalog/stocks/movements/index.ts index b470b88fe1c1e..3d1550a2e3b5e 100644 --- a/tests/UI/pages/BO/catalog/stocks/movements/index.ts +++ b/tests/UI/pages/BO/catalog/stocks/movements/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; import type {PageFunction} from 'playwright-core/types/structs'; /** diff --git a/tests/UI/pages/BO/catalog/suppliers/index.ts b/tests/UI/pages/BO/catalog/suppliers/index.ts index 303d45503ef67..b21fd92709776 100644 --- a/tests/UI/pages/BO/catalog/suppliers/index.ts +++ b/tests/UI/pages/BO/catalog/suppliers/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Suppliers page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/customerService/customerService/index.ts b/tests/UI/pages/BO/customerService/customerService/index.ts index 954611816e77d..8bdf6c1d72a52 100644 --- a/tests/UI/pages/BO/customerService/customerService/index.ts +++ b/tests/UI/pages/BO/customerService/customerService/index.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerCustomerServiceOptions, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/customerService/customerService/view.ts b/tests/UI/pages/BO/customerService/customerService/view.ts index a3a7b16cc32a7..62dac163f9ebe 100644 --- a/tests/UI/pages/BO/customerService/customerService/view.ts +++ b/tests/UI/pages/BO/customerService/customerService/view.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerContactMessage, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/customerService/merchandiseReturns/edit.ts b/tests/UI/pages/BO/customerService/merchandiseReturns/edit.ts index f41a7ac8cad9b..445d2d3ef85b7 100644 --- a/tests/UI/pages/BO/customerService/merchandiseReturns/edit.ts +++ b/tests/UI/pages/BO/customerService/merchandiseReturns/edit.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Edit merchandise returns page, contains selectors and functions for the page diff --git a/tests/UI/pages/BO/customerService/merchandiseReturns/index.ts b/tests/UI/pages/BO/customerService/merchandiseReturns/index.ts index 63888076dd1fb..05358d505a733 100644 --- a/tests/UI/pages/BO/customerService/merchandiseReturns/index.ts +++ b/tests/UI/pages/BO/customerService/merchandiseReturns/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Merchandise returns page, contains selectors and functions for the page diff --git a/tests/UI/pages/BO/customerService/orderMessages/add.ts b/tests/UI/pages/BO/customerService/orderMessages/add.ts index acd158c42d980..c97c400286565 100644 --- a/tests/UI/pages/BO/customerService/orderMessages/add.ts +++ b/tests/UI/pages/BO/customerService/orderMessages/add.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerOrderMessage, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/customerService/orderMessages/index.ts b/tests/UI/pages/BO/customerService/orderMessages/index.ts index b7844ace04308..5366008fb831e 100644 --- a/tests/UI/pages/BO/customerService/orderMessages/index.ts +++ b/tests/UI/pages/BO/customerService/orderMessages/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Order messages listing page, contains selectors and functions for the page diff --git a/tests/UI/pages/BO/customers/add.ts b/tests/UI/pages/BO/customers/add.ts index ea6768f2ca31a..cba06ae0608b1 100644 --- a/tests/UI/pages/BO/customers/add.ts +++ b/tests/UI/pages/BO/customers/add.ts @@ -1,12 +1,11 @@ import BOBasePage from '@pages/BO/BObasePage'; import { - // Import data type FakerCustomer, + type Frame, + type Page, } from '@prestashop-core/ui-testing'; -import type {Frame, Page} from 'playwright'; - /** * Add customer page, contains functions that can be used on the page * @class diff --git a/tests/UI/pages/BO/customers/addresses/add.ts b/tests/UI/pages/BO/customers/addresses/add.ts index 5c88b971afc5f..d4ef282ba2c87 100644 --- a/tests/UI/pages/BO/customers/addresses/add.ts +++ b/tests/UI/pages/BO/customers/addresses/add.ts @@ -2,10 +2,10 @@ import BOBasePage from '@pages/BO/BObasePage'; import { type FakerAddress, + type Frame, + type Page, } from '@prestashop-core/ui-testing'; -import type {Frame, Page} from 'playwright'; - /** * Add address page, contains functions that can be used on the page * @class diff --git a/tests/UI/pages/BO/customers/addresses/index.ts b/tests/UI/pages/BO/customers/addresses/index.ts index a9e01b73901eb..52c73807063d3 100644 --- a/tests/UI/pages/BO/customers/addresses/index.ts +++ b/tests/UI/pages/BO/customers/addresses/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Addresses page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/customers/outstanding/index.ts b/tests/UI/pages/BO/customers/outstanding/index.ts index a1a7e7b400c7d..94d7ccd742392 100644 --- a/tests/UI/pages/BO/customers/outstanding/index.ts +++ b/tests/UI/pages/BO/customers/outstanding/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Outstanding page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/customers/view.ts b/tests/UI/pages/BO/customers/view.ts index 4afeaf50f1120..215dacf7946d3 100644 --- a/tests/UI/pages/BO/customers/view.ts +++ b/tests/UI/pages/BO/customers/view.ts @@ -1,6 +1,9 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Frame, Page} from 'playwright'; +import { + type Frame, + type Page, +} from '@prestashop-core/ui-testing'; /** * View customer page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/design/emailThemes/preview.ts b/tests/UI/pages/BO/design/emailThemes/preview.ts index e5d9c1486f008..b88db828323fc 100644 --- a/tests/UI/pages/BO/design/emailThemes/preview.ts +++ b/tests/UI/pages/BO/design/emailThemes/preview.ts @@ -1,5 +1,7 @@ import BOBasePage from '@pages/BO/BObasePage'; -import {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Preview theme page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/design/imageSettings/add.ts b/tests/UI/pages/BO/design/imageSettings/add.ts index 70764265f564c..013e985d7cd84 100644 --- a/tests/UI/pages/BO/design/imageSettings/add.ts +++ b/tests/UI/pages/BO/design/imageSettings/add.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerImageType, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/design/imageSettings/index.ts b/tests/UI/pages/BO/design/imageSettings/index.ts index bb814dee189fb..84bb3d69e2538 100644 --- a/tests/UI/pages/BO/design/imageSettings/index.ts +++ b/tests/UI/pages/BO/design/imageSettings/index.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type ImageTypeRegeneration, type ImageTypeRegenerationSpecific, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/design/linkWidgets/add.ts b/tests/UI/pages/BO/design/linkWidgets/add.ts index a13bbe7f62162..3a9bcdeb22c26 100644 --- a/tests/UI/pages/BO/design/linkWidgets/add.ts +++ b/tests/UI/pages/BO/design/linkWidgets/add.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerLinkWidget, type LinkWidgetPage, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/design/linkWidgets/index.ts b/tests/UI/pages/BO/design/linkWidgets/index.ts index 17866d3f52699..7a0cf12661195 100644 --- a/tests/UI/pages/BO/design/linkWidgets/index.ts +++ b/tests/UI/pages/BO/design/linkWidgets/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Link list page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/design/pages/add.ts b/tests/UI/pages/BO/design/pages/add.ts index feb188ce9a949..9ecef08e5db68 100644 --- a/tests/UI/pages/BO/design/pages/add.ts +++ b/tests/UI/pages/BO/design/pages/add.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerCMSPage, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/design/pages/index.ts b/tests/UI/pages/BO/design/pages/index.ts index 4396dd845eb03..6c78698bde230 100644 --- a/tests/UI/pages/BO/design/pages/index.ts +++ b/tests/UI/pages/BO/design/pages/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Pages page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/design/pages/pageCategory/add.ts b/tests/UI/pages/BO/design/pages/pageCategory/add.ts index 7c4f87a09a6a7..c9ebb4ba26132 100644 --- a/tests/UI/pages/BO/design/pages/pageCategory/add.ts +++ b/tests/UI/pages/BO/design/pages/pageCategory/add.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerCMSCategory, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/design/positions/index.ts b/tests/UI/pages/BO/design/positions/index.ts index 505bf7eb89aa4..a83f497ccdd7e 100644 --- a/tests/UI/pages/BO/design/positions/index.ts +++ b/tests/UI/pages/BO/design/positions/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Positions page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/international/languages/add.ts b/tests/UI/pages/BO/international/languages/add.ts index ad16f9c27c7cd..0ce3fc0142535 100644 --- a/tests/UI/pages/BO/international/languages/add.ts +++ b/tests/UI/pages/BO/international/languages/add.ts @@ -1,7 +1,8 @@ import LocalizationBasePage from '@pages/BO/international/localization/localizationBasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerLanguage, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/international/languages/index.ts b/tests/UI/pages/BO/international/languages/index.ts index 03dc80f92debe..b7945eca97a8d 100644 --- a/tests/UI/pages/BO/international/languages/index.ts +++ b/tests/UI/pages/BO/international/languages/index.ts @@ -1,6 +1,8 @@ import LocalizationBasePage from '@pages/BO/international/localization/localizationBasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Languages page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/international/localization/geolocation.ts b/tests/UI/pages/BO/international/localization/geolocation.ts index d01c6238f6ca3..ca35798e294e6 100644 --- a/tests/UI/pages/BO/international/localization/geolocation.ts +++ b/tests/UI/pages/BO/international/localization/geolocation.ts @@ -1,6 +1,8 @@ import LocalizationBasePage from '@pages/BO/international/localization/localizationBasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Geolocation page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/international/localization/localizationBasePage.ts b/tests/UI/pages/BO/international/localization/localizationBasePage.ts index 2a18fbee858e2..f4125508a36b4 100644 --- a/tests/UI/pages/BO/international/localization/localizationBasePage.ts +++ b/tests/UI/pages/BO/international/localization/localizationBasePage.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Localization base page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/international/locations/add.ts b/tests/UI/pages/BO/international/locations/add.ts index 2af2815ed3946..6facd0676d709 100644 --- a/tests/UI/pages/BO/international/locations/add.ts +++ b/tests/UI/pages/BO/international/locations/add.ts @@ -2,9 +2,9 @@ import BOBasePage from '@pages/BO/BObasePage'; import { type FakerZone, -} from '@prestashop-core/ui-testing'; -import type {Page} from 'playwright'; + type Page, +} from '@prestashop-core/ui-testing'; /** * Add zone page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/international/locations/index.ts b/tests/UI/pages/BO/international/locations/index.ts index 36cf96929f40f..7e374b43b36a8 100644 --- a/tests/UI/pages/BO/international/locations/index.ts +++ b/tests/UI/pages/BO/international/locations/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Zones page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/international/locations/states/add.ts b/tests/UI/pages/BO/international/locations/states/add.ts index 599ab4e1c429e..8a8ce7c2c122c 100644 --- a/tests/UI/pages/BO/international/locations/states/add.ts +++ b/tests/UI/pages/BO/international/locations/states/add.ts @@ -2,9 +2,9 @@ import BOBasePage from '@pages/BO/BObasePage'; import { type FakerState, -} from '@prestashop-core/ui-testing'; -import type {Page} from 'playwright'; + type Page, +} from '@prestashop-core/ui-testing'; /** * Add state page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/international/locations/states/index.ts b/tests/UI/pages/BO/international/locations/states/index.ts index e55a2c35c4186..c96a3971f6c5b 100644 --- a/tests/UI/pages/BO/international/locations/states/index.ts +++ b/tests/UI/pages/BO/international/locations/states/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * States page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/international/taxes/add.ts b/tests/UI/pages/BO/international/taxes/add.ts index 57cebd495b557..b64c9821a988a 100644 --- a/tests/UI/pages/BO/international/taxes/add.ts +++ b/tests/UI/pages/BO/international/taxes/add.ts @@ -2,10 +2,9 @@ import BOBasePage from '@pages/BO/BObasePage'; import { FakerTax, + type Page, } from '@prestashop-core/ui-testing'; -import {Page} from 'playwright'; - /** * Add tax page, contains functions that can be used on the page * @class diff --git a/tests/UI/pages/BO/international/taxes/index.ts b/tests/UI/pages/BO/international/taxes/index.ts index 6baebb33e868b..29caffc73ff3d 100644 --- a/tests/UI/pages/BO/international/taxes/index.ts +++ b/tests/UI/pages/BO/international/taxes/index.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerTaxOption, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/international/taxes/taxRules/add.ts b/tests/UI/pages/BO/international/taxes/taxRules/add.ts index 89cb8c095beb3..10c9f2c10f89e 100644 --- a/tests/UI/pages/BO/international/taxes/taxRules/add.ts +++ b/tests/UI/pages/BO/international/taxes/taxRules/add.ts @@ -3,9 +3,9 @@ import BOBasePage from '@pages/BO/BObasePage'; import { type FakerTaxRule, type FakerTaxRulesGroup, -} from '@prestashop-core/ui-testing'; -import type {Page} from 'playwright'; + type Page, +} from '@prestashop-core/ui-testing'; /** * Add tax rules page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/international/taxes/taxRules/index.ts b/tests/UI/pages/BO/international/taxes/taxRules/index.ts index fac09d150a06a..b57e55040605d 100644 --- a/tests/UI/pages/BO/international/taxes/taxRules/index.ts +++ b/tests/UI/pages/BO/international/taxes/taxRules/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Tax rules page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/international/translations/index.ts b/tests/UI/pages/BO/international/translations/index.ts index bce6b4d40c665..7516d1aa10719 100644 --- a/tests/UI/pages/BO/international/translations/index.ts +++ b/tests/UI/pages/BO/international/translations/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Translations page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/modules/contactForm/index.ts b/tests/UI/pages/BO/modules/contactForm/index.ts index f9282f6bbd17c..e1a02a6d1e03e 100644 --- a/tests/UI/pages/BO/modules/contactForm/index.ts +++ b/tests/UI/pages/BO/modules/contactForm/index.ts @@ -1,6 +1,8 @@ import {ModuleConfiguration} from '@pages/BO/modules/moduleConfiguration'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Module configuration page for module : contactform, contains selectors and functions for the page diff --git a/tests/UI/pages/BO/modules/moduleConfiguration/index.ts b/tests/UI/pages/BO/modules/moduleConfiguration/index.ts index a66087524b4a6..41eb8e622a053 100644 --- a/tests/UI/pages/BO/modules/moduleConfiguration/index.ts +++ b/tests/UI/pages/BO/modules/moduleConfiguration/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Module configuration page, contains selectors and functions for the page. diff --git a/tests/UI/pages/BO/modules/productComments/index.ts b/tests/UI/pages/BO/modules/productComments/index.ts index 4a6b30f788ce7..32dd7199340b8 100755 --- a/tests/UI/pages/BO/modules/productComments/index.ts +++ b/tests/UI/pages/BO/modules/productComments/index.ts @@ -1,6 +1,8 @@ import {ModuleConfiguration} from '@pages/BO/modules/moduleConfiguration'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Module configuration page for module : Product comments, contains selectors and functions for the page diff --git a/tests/UI/pages/BO/modules/psCheckPayment/index.ts b/tests/UI/pages/BO/modules/psCheckPayment/index.ts index 3864c49ef6ae1..96b4a8cad23ad 100644 --- a/tests/UI/pages/BO/modules/psCheckPayment/index.ts +++ b/tests/UI/pages/BO/modules/psCheckPayment/index.ts @@ -1,6 +1,6 @@ import {ModuleConfiguration} from '@pages/BO/modules/moduleConfiguration'; -import {type Page} from 'playwright'; +import {type Page} from '@prestashop-core/ui-testing'; /** * Module configuration page for module : ps_checkpayment, contains selectors and functions for the page diff --git a/tests/UI/pages/BO/orders/add.ts b/tests/UI/pages/BO/orders/add.ts index f5846b67cdc47..fd23406a6c164 100644 --- a/tests/UI/pages/BO/orders/add.ts +++ b/tests/UI/pages/BO/orders/add.ts @@ -7,10 +7,10 @@ import { type FakerOrderStatus, type FakerProduct, type FakerOrder, + type Frame, + type Page, } from '@prestashop-core/ui-testing'; -import type {Frame, Page} from 'playwright'; - /** * Add order page, contains functions that can be used on create order page * @class diff --git a/tests/UI/pages/BO/orders/creditSlips/index.ts b/tests/UI/pages/BO/orders/creditSlips/index.ts index fd5ae2494b61a..02e0efe7e8ce5 100644 --- a/tests/UI/pages/BO/orders/creditSlips/index.ts +++ b/tests/UI/pages/BO/orders/creditSlips/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Credit slips page, contains functions that can be used on credit slips page diff --git a/tests/UI/pages/BO/orders/deliverySlips/index.ts b/tests/UI/pages/BO/orders/deliverySlips/index.ts index f8ffea24ae615..e14ab3eaa4d76 100644 --- a/tests/UI/pages/BO/orders/deliverySlips/index.ts +++ b/tests/UI/pages/BO/orders/deliverySlips/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Delivery slips page, contains functions that can be used on delivery slips page diff --git a/tests/UI/pages/BO/orders/invoices/index.ts b/tests/UI/pages/BO/orders/invoices/index.ts index cc336827deed4..26d7458faa077 100644 --- a/tests/UI/pages/BO/orders/invoices/index.ts +++ b/tests/UI/pages/BO/orders/invoices/index.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerOrderInvoice, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/orders/shoppingCarts/view.ts b/tests/UI/pages/BO/orders/shoppingCarts/view.ts index ae9112b1f7d20..0ae310b16fcd7 100644 --- a/tests/UI/pages/BO/orders/shoppingCarts/view.ts +++ b/tests/UI/pages/BO/orders/shoppingCarts/view.ts @@ -1,6 +1,9 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Frame, Page} from 'playwright'; +import { + type Frame, + type Page, +} from '@prestashop-core/ui-testing'; /** * View shopping page, contains functions that can be used on view shopping cart page diff --git a/tests/UI/pages/BO/orders/view/customerBlock.ts b/tests/UI/pages/BO/orders/view/customerBlock.ts index 9686ca07be9ad..87b16e4733639 100644 --- a/tests/UI/pages/BO/orders/view/customerBlock.ts +++ b/tests/UI/pages/BO/orders/view/customerBlock.ts @@ -2,11 +2,11 @@ import addAddressPage from '@pages/BO/customers/addresses/add'; import {ViewOrderBasePage} from '@pages/BO/orders/view/viewOrderBasePage'; import { - // Import data FakerAddress, + type Frame, + type Page, } from '@prestashop-core/ui-testing'; -import type {Frame, Page} from 'playwright'; /** * Customer block, contains functions that can be used on view/edit customer block * @class diff --git a/tests/UI/pages/BO/orders/view/messagesBlock.ts b/tests/UI/pages/BO/orders/view/messagesBlock.ts index d1d70bf5e2e3d..87f1a4d815171 100644 --- a/tests/UI/pages/BO/orders/view/messagesBlock.ts +++ b/tests/UI/pages/BO/orders/view/messagesBlock.ts @@ -1,7 +1,8 @@ import {ViewOrderBasePage} from '@pages/BO/orders/view/viewOrderBasePage'; -import type {Page} from 'playwright'; import { + type Page, + type OrderMessage, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/orders/view/paymentBlock.ts b/tests/UI/pages/BO/orders/view/paymentBlock.ts index 37498435495e2..2bcc8eddcf6d4 100644 --- a/tests/UI/pages/BO/orders/view/paymentBlock.ts +++ b/tests/UI/pages/BO/orders/view/paymentBlock.ts @@ -2,9 +2,9 @@ import {ViewOrderBasePage} from '@pages/BO/orders/view/viewOrderBasePage'; import { type OrderPayment, -} from '@prestashop-core/ui-testing'; -import type {Page} from 'playwright'; + type Page, +} from '@prestashop-core/ui-testing'; /** * Payment block, contains functions that can be used on view/edit payment block on view order page diff --git a/tests/UI/pages/BO/orders/view/viewOrderBasePage.ts b/tests/UI/pages/BO/orders/view/viewOrderBasePage.ts index 66b2c6d00d9e2..5c61b2c4d460f 100644 --- a/tests/UI/pages/BO/orders/view/viewOrderBasePage.ts +++ b/tests/UI/pages/BO/orders/view/viewOrderBasePage.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * View order base page, contains functions that can be used on view/edit order page diff --git a/tests/UI/pages/BO/payment/preferences/index.ts b/tests/UI/pages/BO/payment/preferences/index.ts index a21837f43a4a1..0f77f8891dbfd 100644 --- a/tests/UI/pages/BO/payment/preferences/index.ts +++ b/tests/UI/pages/BO/payment/preferences/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * BO Payment preferences page, contains texts, selectors and functions to use on the page. diff --git a/tests/UI/pages/BO/quickAccess/add.ts b/tests/UI/pages/BO/quickAccess/add.ts index 6be8e3751f674..db6764fa578b3 100644 --- a/tests/UI/pages/BO/quickAccess/add.ts +++ b/tests/UI/pages/BO/quickAccess/add.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerQuickAccess, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/searchResults/index.ts b/tests/UI/pages/BO/searchResults/index.ts index 3d1e47777d9d5..32e8199d53590 100644 --- a/tests/UI/pages/BO/searchResults/index.ts +++ b/tests/UI/pages/BO/searchResults/index.ts @@ -1,5 +1,7 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Search page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/shipping/preferences/index.ts b/tests/UI/pages/BO/shipping/preferences/index.ts index ade8f8395ca2c..d5317551d5f7e 100644 --- a/tests/UI/pages/BO/shipping/preferences/index.ts +++ b/tests/UI/pages/BO/shipping/preferences/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; import { // Import data FakerCarrier, diff --git a/tests/UI/pages/BO/shopParameters/contact/add.ts b/tests/UI/pages/BO/shopParameters/contact/add.ts index 90e51a1669a93..be75e8961be49 100644 --- a/tests/UI/pages/BO/shopParameters/contact/add.ts +++ b/tests/UI/pages/BO/shopParameters/contact/add.ts @@ -1,7 +1,7 @@ import BOBasePage from '@pages/BO/BObasePage'; -import {Page} from 'playwright'; import { type FakerContact, + type Page, } from '@prestashop-core/ui-testing'; /** diff --git a/tests/UI/pages/BO/shopParameters/contact/index.ts b/tests/UI/pages/BO/shopParameters/contact/index.ts index a9ec87fc47e71..cf8fac6afd363 100644 --- a/tests/UI/pages/BO/shopParameters/contact/index.ts +++ b/tests/UI/pages/BO/shopParameters/contact/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Contacts page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/shopParameters/customerSettings/titles/add.ts b/tests/UI/pages/BO/shopParameters/customerSettings/titles/add.ts index f92cbc705a173..c882b5be73594 100644 --- a/tests/UI/pages/BO/shopParameters/customerSettings/titles/add.ts +++ b/tests/UI/pages/BO/shopParameters/customerSettings/titles/add.ts @@ -3,9 +3,9 @@ import BOBasePage from '@pages/BO/BObasePage'; import { type FakerTitle, -} from '@prestashop-core/ui-testing'; -import type {Page} from 'playwright'; + type Page, +} from '@prestashop-core/ui-testing'; /** * Add title page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/shopParameters/customerSettings/titles/index.ts b/tests/UI/pages/BO/shopParameters/customerSettings/titles/index.ts index 35e7830c6e0cc..c107437d9bea0 100644 --- a/tests/UI/pages/BO/shopParameters/customerSettings/titles/index.ts +++ b/tests/UI/pages/BO/shopParameters/customerSettings/titles/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Titles page, contains functions that can be used on the page diff --git a/tests/UI/pages/BO/shopParameters/orderSettings/statuses/add.ts b/tests/UI/pages/BO/shopParameters/orderSettings/statuses/add.ts index 2cdba696188e5..1c1c4747cecf5 100644 --- a/tests/UI/pages/BO/shopParameters/orderSettings/statuses/add.ts +++ b/tests/UI/pages/BO/shopParameters/orderSettings/statuses/add.ts @@ -2,9 +2,9 @@ import BOBasePage from '@pages/BO/BObasePage'; import { type FakerOrderStatus, -} from '@prestashop-core/ui-testing'; -import type {Page} from 'playwright'; + type Page, +} from '@prestashop-core/ui-testing'; /** * Add order status page, contains selectors and functions for the page diff --git a/tests/UI/pages/BO/shopParameters/orderSettings/statuses/index.ts b/tests/UI/pages/BO/shopParameters/orderSettings/statuses/index.ts index 9a5e1361f34ff..53d7fcf703463 100644 --- a/tests/UI/pages/BO/shopParameters/orderSettings/statuses/index.ts +++ b/tests/UI/pages/BO/shopParameters/orderSettings/statuses/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Statuses page, contains selectors and functions for the page diff --git a/tests/UI/pages/BO/shopParameters/orderSettings/statuses/returnStatus/add.ts b/tests/UI/pages/BO/shopParameters/orderSettings/statuses/returnStatus/add.ts index 9fa89f14d8bc7..cb35af873363a 100644 --- a/tests/UI/pages/BO/shopParameters/orderSettings/statuses/returnStatus/add.ts +++ b/tests/UI/pages/BO/shopParameters/orderSettings/statuses/returnStatus/add.ts @@ -1,9 +1,9 @@ // Import pages import BOBasePage from '@pages/BO/BObasePage'; -import {Page} from 'playwright'; import { type FakerOrderReturnStatus, + type Page, } from '@prestashop-core/ui-testing'; /** diff --git a/tests/UI/pages/BO/shopParameters/search/tags/add.ts b/tests/UI/pages/BO/shopParameters/search/tags/add.ts index fd3de2d1625e0..99fa4c47d4f1c 100644 --- a/tests/UI/pages/BO/shopParameters/search/tags/add.ts +++ b/tests/UI/pages/BO/shopParameters/search/tags/add.ts @@ -1,9 +1,9 @@ // Import pages import BOBasePage from '@pages/BO/BObasePage'; -import {Page} from 'playwright'; import { type FakerSearchTag, + type Page, } from '@prestashop-core/ui-testing'; /** diff --git a/tests/UI/pages/BO/shopParameters/search/tags/index.ts b/tests/UI/pages/BO/shopParameters/search/tags/index.ts index 03f982b66a75a..4e24dd3b6ecad 100644 --- a/tests/UI/pages/BO/shopParameters/search/tags/index.ts +++ b/tests/UI/pages/BO/shopParameters/search/tags/index.ts @@ -1,5 +1,7 @@ import BOBasePage from '@pages/BO/BObasePage'; -import {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Tags page, contains selectors and functions for the page diff --git a/tests/UI/pages/BO/shopParameters/stores/add.ts b/tests/UI/pages/BO/shopParameters/stores/add.ts index 85c6acb50c4e2..4620eefbeac6d 100644 --- a/tests/UI/pages/BO/shopParameters/stores/add.ts +++ b/tests/UI/pages/BO/shopParameters/stores/add.ts @@ -1,7 +1,7 @@ import BOBasePage from '@pages/BO/BObasePage'; -import {Page} from 'playwright'; import { type FakerStore, + type Page, } from '@prestashop-core/ui-testing'; /** diff --git a/tests/UI/pages/BO/shopParameters/stores/index.ts b/tests/UI/pages/BO/shopParameters/stores/index.ts index b34cc1c881e33..5f9340664eda7 100644 --- a/tests/UI/pages/BO/shopParameters/stores/index.ts +++ b/tests/UI/pages/BO/shopParameters/stores/index.ts @@ -1,8 +1,9 @@ // Import pages import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerStore, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/shopParameters/trafficAndSeo/searchEngines/add.ts b/tests/UI/pages/BO/shopParameters/trafficAndSeo/searchEngines/add.ts index 475f6d21a84f1..d1a146fce60c7 100644 --- a/tests/UI/pages/BO/shopParameters/trafficAndSeo/searchEngines/add.ts +++ b/tests/UI/pages/BO/shopParameters/trafficAndSeo/searchEngines/add.ts @@ -1,7 +1,9 @@ // Import BO pages import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Add search engine page, contains selectors and functions for the page diff --git a/tests/UI/pages/BO/shopParameters/trafficAndSeo/searchEngines/index.ts b/tests/UI/pages/BO/shopParameters/trafficAndSeo/searchEngines/index.ts index 399b0998f8e32..1a78ccc8a9dd3 100644 --- a/tests/UI/pages/BO/shopParameters/trafficAndSeo/searchEngines/index.ts +++ b/tests/UI/pages/BO/shopParameters/trafficAndSeo/searchEngines/index.ts @@ -1,7 +1,9 @@ // Import BO pages import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Search engine page, contains selectors and functions for the page diff --git a/tests/UI/pages/BO/shopParameters/trafficAndSeo/seoAndUrls/add.ts b/tests/UI/pages/BO/shopParameters/trafficAndSeo/seoAndUrls/add.ts index 7135b6ef41e00..04ff1982c16c2 100644 --- a/tests/UI/pages/BO/shopParameters/trafficAndSeo/seoAndUrls/add.ts +++ b/tests/UI/pages/BO/shopParameters/trafficAndSeo/seoAndUrls/add.ts @@ -1,7 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type FakerSeoPage, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/BO/shopParameters/trafficAndSeo/seoAndUrls/index.ts b/tests/UI/pages/BO/shopParameters/trafficAndSeo/seoAndUrls/index.ts index 273a9fba69266..5e933c534acf4 100644 --- a/tests/UI/pages/BO/shopParameters/trafficAndSeo/seoAndUrls/index.ts +++ b/tests/UI/pages/BO/shopParameters/trafficAndSeo/seoAndUrls/index.ts @@ -1,6 +1,8 @@ import BOBasePage from '@pages/BO/BObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Seo and urls page, contains selectors and functions for the page diff --git a/tests/UI/pages/FO/FObasePage.ts b/tests/UI/pages/FO/FObasePage.ts index 86cf56862173b..7fd1551535ac9 100644 --- a/tests/UI/pages/FO/FObasePage.ts +++ b/tests/UI/pages/FO/FObasePage.ts @@ -1,7 +1,9 @@ // Import pages import CommonPage from '@pages/commonPage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * FO parent page, contains functions that can be used on all FO page diff --git a/tests/UI/pages/FO/classic/modal/blockCart.ts b/tests/UI/pages/FO/classic/modal/blockCart.ts index 08dcaa8c8861a..b4de0c039bce8 100644 --- a/tests/UI/pages/FO/classic/modal/blockCart.ts +++ b/tests/UI/pages/FO/classic/modal/blockCart.ts @@ -4,9 +4,9 @@ import FOBasePage from '@pages/FO/FObasePage'; import { type CartProductDetails, type ProductAttribute, -} from '@prestashop-core/ui-testing'; -import type {Page} from 'playwright'; + type Page, +} from '@prestashop-core/ui-testing'; /** * Block cart modal, contains functions that can be used on the modal diff --git a/tests/UI/pages/FO/classic/myAccount/add.ts b/tests/UI/pages/FO/classic/myAccount/add.ts index ab369838e206e..fb585f9858bb1 100644 --- a/tests/UI/pages/FO/classic/myAccount/add.ts +++ b/tests/UI/pages/FO/classic/myAccount/add.ts @@ -4,9 +4,9 @@ import FOBasePage from '@pages/FO/FObasePage'; import { // Import data type FakerCustomer, -} from '@prestashop-core/ui-testing'; -import type {Page} from 'playwright'; + type Page, +} from '@prestashop-core/ui-testing'; /** * Create account page, contains functions that can be used on the page diff --git a/tests/UI/pages/FO/classic/myAccount/addAddress.ts b/tests/UI/pages/FO/classic/myAccount/addAddress.ts index 66e40bc31b0fb..bb3358d3706f7 100644 --- a/tests/UI/pages/FO/classic/myAccount/addAddress.ts +++ b/tests/UI/pages/FO/classic/myAccount/addAddress.ts @@ -6,7 +6,9 @@ import { FakerAddress, } from '@prestashop-core/ui-testing'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Add address page, contains functions that can be used on the page diff --git a/tests/UI/pages/FO/classic/myAccount/addresses.ts b/tests/UI/pages/FO/classic/myAccount/addresses.ts index f6349966a5793..d16798691bba8 100644 --- a/tests/UI/pages/FO/classic/myAccount/addresses.ts +++ b/tests/UI/pages/FO/classic/myAccount/addresses.ts @@ -1,7 +1,9 @@ // Import pages import FOBasePage from '@pages/FO/FObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Addresses page, contains functions that can be used on the page diff --git a/tests/UI/pages/FO/classic/myAccount/creditSlips.ts b/tests/UI/pages/FO/classic/myAccount/creditSlips.ts index 5921cc207cbb8..0322cad631f3f 100644 --- a/tests/UI/pages/FO/classic/myAccount/creditSlips.ts +++ b/tests/UI/pages/FO/classic/myAccount/creditSlips.ts @@ -1,6 +1,8 @@ import FOBasePage from '@pages/FO/FObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Credit slip page, contains functions that can be used on the page diff --git a/tests/UI/pages/FO/classic/myAccount/gdprPersonalData.ts b/tests/UI/pages/FO/classic/myAccount/gdprPersonalData.ts index d2a2edc442399..858e2b31edaec 100644 --- a/tests/UI/pages/FO/classic/myAccount/gdprPersonalData.ts +++ b/tests/UI/pages/FO/classic/myAccount/gdprPersonalData.ts @@ -1,6 +1,8 @@ import FOBasePage from '@pages/FO/FObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * GDPR personal data page, contains functions that can be used on the page diff --git a/tests/UI/pages/FO/classic/myAccount/identity.ts b/tests/UI/pages/FO/classic/myAccount/identity.ts index 023a09ba57d83..9396924c5a92b 100644 --- a/tests/UI/pages/FO/classic/myAccount/identity.ts +++ b/tests/UI/pages/FO/classic/myAccount/identity.ts @@ -1,6 +1,8 @@ import FOBasePage from '@pages/FO/FObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Identity page, contains functions that can be used on the page diff --git a/tests/UI/pages/FO/classic/myAccount/merchandiseReturns.ts b/tests/UI/pages/FO/classic/myAccount/merchandiseReturns.ts index 2dd750072a501..515b51ddd7ed8 100644 --- a/tests/UI/pages/FO/classic/myAccount/merchandiseReturns.ts +++ b/tests/UI/pages/FO/classic/myAccount/merchandiseReturns.ts @@ -1,7 +1,8 @@ import FOBasePage from '@pages/FO/FObasePage'; -import type {Page} from 'playwright'; import { + type Page, + type OrderMerchandiseReturns, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/FO/classic/myAccount/orderDetails.ts b/tests/UI/pages/FO/classic/myAccount/orderDetails.ts index 46383a7deb3a6..0ee5db95b0503 100644 --- a/tests/UI/pages/FO/classic/myAccount/orderDetails.ts +++ b/tests/UI/pages/FO/classic/myAccount/orderDetails.ts @@ -2,9 +2,9 @@ import FOBasePage from '@pages/FO/FObasePage'; import { type OrderMerchandiseProductReturn, -} from '@prestashop-core/ui-testing'; -import type {Page} from 'playwright'; + type Page, +} from '@prestashop-core/ui-testing'; /** * Order details page, contains functions that can be used on the page diff --git a/tests/UI/pages/FO/classic/myAccount/orderHistory.ts b/tests/UI/pages/FO/classic/myAccount/orderHistory.ts index 5375e800cee50..da86b9a98a725 100644 --- a/tests/UI/pages/FO/classic/myAccount/orderHistory.ts +++ b/tests/UI/pages/FO/classic/myAccount/orderHistory.ts @@ -1,8 +1,8 @@ import FOBasePage from '@pages/FO/FObasePage'; -import type {Page} from 'playwright'; - import { + type Page, + type OrderHistory, type OrderHistoryMessage, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/pages/FO/classic/myAccount/returnDetails.ts b/tests/UI/pages/FO/classic/myAccount/returnDetails.ts index 1557fc57b28ff..e13d1b0a9299a 100644 --- a/tests/UI/pages/FO/classic/myAccount/returnDetails.ts +++ b/tests/UI/pages/FO/classic/myAccount/returnDetails.ts @@ -1,6 +1,8 @@ import FOBasePage from '@pages/FO/FObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Return details page, contains functions that can be used on the page diff --git a/tests/UI/pages/FO/classic/myAccount/vouchers.ts b/tests/UI/pages/FO/classic/myAccount/vouchers.ts index f31e598249480..fb779feac4100 100644 --- a/tests/UI/pages/FO/classic/myAccount/vouchers.ts +++ b/tests/UI/pages/FO/classic/myAccount/vouchers.ts @@ -1,6 +1,8 @@ import FOBasePage from '@pages/FO/FObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Vouchers page, contains functions that can be used on the page diff --git a/tests/UI/pages/FO/classic/siteMap/index.ts b/tests/UI/pages/FO/classic/siteMap/index.ts index 84756e80524c9..526bca33510d3 100644 --- a/tests/UI/pages/FO/classic/siteMap/index.ts +++ b/tests/UI/pages/FO/classic/siteMap/index.ts @@ -1,6 +1,8 @@ import FOBasePage from '@pages/FO/FObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Site map page, contains functions that can be used on the page diff --git a/tests/UI/pages/FO/classic/stores/index.ts b/tests/UI/pages/FO/classic/stores/index.ts index 7b07874002e21..ef250a6421dda 100644 --- a/tests/UI/pages/FO/classic/stores/index.ts +++ b/tests/UI/pages/FO/classic/stores/index.ts @@ -1,6 +1,8 @@ import FOBasePage from '@pages/FO/FObasePage'; -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; /** * Stores page, contains functions that can be used on the page diff --git a/tests/UI/pages/commonPage.ts b/tests/UI/pages/commonPage.ts index 634ed60c82f86..24c72a2508d43 100755 --- a/tests/UI/pages/commonPage.ts +++ b/tests/UI/pages/commonPage.ts @@ -1,13 +1,17 @@ // Import data import { + type BrowserContext, + type ElementHandle, + type FileChooser, + type Frame, + type JSHandle, + type Locator, + type Page, + type Response, type PageWaitForSelectorOptionsState, type WaitForNavigationWaitUntil, } from '@prestashop-core/ui-testing'; -import type { - BrowserContext, ElementHandle, JSHandle, FileChooser, Frame, Page, Locator, Response, -} from 'playwright'; - /** * Parent page, contains functions that can be used in every page (BO, FO ...) * @class diff --git a/tests/UI/pages/install/index.ts b/tests/UI/pages/install/index.ts index 1f3cfd0ecc133..622223966711c 100755 --- a/tests/UI/pages/install/index.ts +++ b/tests/UI/pages/install/index.ts @@ -1,4 +1,6 @@ -import type {Page} from 'playwright'; +import { + type Page, +} from '@prestashop-core/ui-testing'; // Import pages import CommonPage from '@pages/commonPage'; diff --git a/tests/UI/tools/linkchecker.ts b/tests/UI/tools/linkchecker.ts index f62b45fd8d8eb..0064a9288ef16 100755 --- a/tests/UI/tools/linkchecker.ts +++ b/tests/UI/tools/linkchecker.ts @@ -4,8 +4,10 @@ import 'module-alias/register'; import urlsList from '@tools/urls'; import {expect} from 'chai'; -import {Browser, BrowserContext, Page} from 'playwright'; import { + type Browser, + type BrowserContext, + type Page, utilsFile, utilsPlaywright, } from '@prestashop-core/ui-testing'; diff --git a/tests/UI/tools/urls.ts b/tests/UI/tools/urls.ts index 247dbc386c15b..1ff8452b46b95 100644 --- a/tests/UI/tools/urls.ts +++ b/tests/UI/tools/urls.ts @@ -1,8 +1,7 @@ import { - // Import data dataCustomers, + type Page, } from '@prestashop-core/ui-testing'; -import {Page} from 'playwright'; /** * Login into BO to access BO Urls diff --git a/tests/UI/webservices/baseWs.ts b/tests/UI/webservices/baseWs.ts index 8ec4a493ef0c9..0cfa87540d240 100644 --- a/tests/UI/webservices/baseWs.ts +++ b/tests/UI/webservices/baseWs.ts @@ -1,4 +1,7 @@ -import type {APIRequestContext, APIResponse} from 'playwright'; +import { + type APIRequestContext, + type APIResponse, +} from '@prestashop-core/ui-testing'; export default class BaseWS { /** diff --git a/tests/UI/webservices/country/countryWs.ts b/tests/UI/webservices/country/countryWs.ts index 60f71213354a2..2d1f1437c5e7d 100644 --- a/tests/UI/webservices/country/countryWs.ts +++ b/tests/UI/webservices/country/countryWs.ts @@ -1,5 +1,8 @@ import BaseWS from '@webservices/baseWs'; -import {APIRequestContext, APIResponse} from 'playwright'; +import { + type APIRequestContext, + type APIResponse, +} from '@prestashop-core/ui-testing'; export default class CountryWS extends BaseWS { public static endpoint = 'api/countries'; diff --git a/tests/UI/webservices/order/orderWs.ts b/tests/UI/webservices/order/orderWs.ts index 15dfb6f21e514..718ea5accced7 100644 --- a/tests/UI/webservices/order/orderWs.ts +++ b/tests/UI/webservices/order/orderWs.ts @@ -1,5 +1,8 @@ import BaseWS from '@webservices/baseWs'; -import {APIRequestContext, APIResponse} from 'playwright'; +import { + type APIRequestContext, + type APIResponse, +} from '@prestashop-core/ui-testing'; export default class OrderWs extends BaseWS { public static endpoint = 'api/orders'; diff --git a/tests/UI/webservices/product/productWs.ts b/tests/UI/webservices/product/productWs.ts index be14a3e0ee9e9..ea6cb257eb840 100644 --- a/tests/UI/webservices/product/productWs.ts +++ b/tests/UI/webservices/product/productWs.ts @@ -1,5 +1,8 @@ import BaseWS from '@webservices/baseWs'; -import {APIRequestContext, APIResponse} from 'playwright'; +import { + type APIRequestContext, + type APIResponse, +} from '@prestashop-core/ui-testing'; export default class ProductWs extends BaseWS { public static endpoint = 'api/products'; diff --git a/tests/UI/webservices/store/storeWS.ts b/tests/UI/webservices/store/storeWS.ts index 50aae9eb89414..fa50710b80d2a 100644 --- a/tests/UI/webservices/store/storeWS.ts +++ b/tests/UI/webservices/store/storeWS.ts @@ -1,5 +1,8 @@ import BaseWS from '@webservices/baseWs'; -import {APIRequestContext, APIResponse} from 'playwright'; +import type { + APIRequestContext, + APIResponse, +} from '@prestashop-core/ui-testing'; export default class StoreWS extends BaseWS { public static endpoint = 'api/stores';