From d9fa1610d0a6abc5f71e9704ca348958e3ab8d5f Mon Sep 17 00:00:00 2001 From: nesrineabdmouleh Date: Fri, 10 Jan 2025 14:52:22 +0100 Subject: [PATCH] Test after timeout --- .github/workflows/ui-test/ui.json | 3 +++ tests/UI/campaigns/functional/01_upgrade.spec.ts | 2 +- tests/UI/package-lock.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ui-test/ui.json b/.github/workflows/ui-test/ui.json index fa6128ba19..4aea4c5fed 100755 --- a/.github/workflows/ui-test/ui.json +++ b/.github/workflows/ui-test/ui.json @@ -121,18 +121,21 @@ "UPGRADE_CHANNEL": "online" }, { + "comment": "bug", "PS_VERSION_START": "1.7.4.2", "PS_VERSION_END": "1.7.8.11", "PHP_VERSION": "7.1", "UPGRADE_CHANNEL": "online" }, { + "comment": "bug", "PS_VERSION_START": "1.7.4.3", "PS_VERSION_END": "1.7.8.11", "PHP_VERSION": "7.1", "UPGRADE_CHANNEL": "online" }, { + "comment": "bug", "PS_VERSION_START": "1.7.4.4", "PS_VERSION_END": "1.7.8.11", "PHP_VERSION": "7.1", diff --git a/tests/UI/campaigns/functional/01_upgrade.spec.ts b/tests/UI/campaigns/functional/01_upgrade.spec.ts index d6cf09ae8c..825af35e3b 100755 --- a/tests/UI/campaigns/functional/01_upgrade.spec.ts +++ b/tests/UI/campaigns/functional/01_upgrade.spec.ts @@ -295,7 +295,7 @@ test.describe('Verify the New UI', () => { }); test('should wait until the end of the update ', async () => { - test.setTimeout(2000_000); + test.setTimeout(5000_000); const successMessage = await modAutoupgradeBoMain.checkUpdateSuccess(page); expect(successMessage).toEqual(modAutoupgradeBoMain.updateSuccessMessage); diff --git a/tests/UI/package-lock.json b/tests/UI/package-lock.json index 4375c20cf9..ebecaa48b7 100755 --- a/tests/UI/package-lock.json +++ b/tests/UI/package-lock.json @@ -523,7 +523,7 @@ }, "node_modules/@prestashop-core/ui-testing": { "version": "0.0.12", - "resolved": "git+ssh://git@github.com/PrestaShop/ui-testing-library.git#30d1996147f2ec7bfe4aaa68bf7e29c7e3375633", + "resolved": "git+ssh://git@github.com/PrestaShop/ui-testing-library.git#805748a4543a3574faafbb9b5fa9e39332d730de", "license": "MIT", "dependencies": { "@faker-js/faker": "^9.0.3", @@ -6683,7 +6683,7 @@ } }, "@prestashop-core/ui-testing": { - "version": "git+ssh://git@github.com/PrestaShop/ui-testing-library.git#30d1996147f2ec7bfe4aaa68bf7e29c7e3375633", + "version": "git+ssh://git@github.com/PrestaShop/ui-testing-library.git#805748a4543a3574faafbb9b5fa9e39332d730de", "from": "@prestashop-core/ui-testing@https://github.com/PrestaShop/ui-testing-library#main", "requires": { "@faker-js/faker": "^9.0.3",