From a9c396201ae923435a5b78e047bc2dda6037e8b5 Mon Sep 17 00:00:00 2001 From: Jefferson Benedito Date: Thu, 28 May 2026 11:29:37 -0300 Subject: [PATCH 01/12] fix: update SCHEDULED_TEXT constant value --- utils/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/constants.ts b/utils/constants.ts index 1291834..e150085 100644 --- a/utils/constants.ts +++ b/utils/constants.ts @@ -60,7 +60,7 @@ export { SKUs as SKUS } // accordingly. This way all tests will work on either environment. export const DELIVERY_TEXT = vtexEnv === 'io' ? 'Entrega em casa' : 'Receber' export const PICKUP_TEXT = vtexEnv === 'io' ? 'Retirada no ponto' : 'Retirar' -export const SCHEDULED_TEXT = 'Agendada' +export const SCHEDULED_TEXT = 'Agendado' export const PERU_TEXT = vtexEnv === 'io' ? 'PER' : 'Peru' export const ARGENTINA_TEXT = vtexEnv === 'io' ? 'ARG' : 'Argentina' From e8e62587da41f58fd1275d63ad4bb044a8b12163 Mon Sep 17 00:00:00 2001 From: Jefferson Benedito Date: Thu, 28 May 2026 11:31:46 -0300 Subject: [PATCH 02/12] Update CHANGELOG.md --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e3910b..d6cf9bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Scheduled tests + ## [0.19.15] - 2025-05-16 ### Changed @@ -682,4 +686,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [Unreleased]: https://github.com/vtex/checkout-ui-tests/compare/v0.19.15...HEAD -[0.19.15]: https://github.com/vtex/checkout-ui-tests/compare/v0.19.14...v0.19.15 \ No newline at end of file +[0.19.15]: https://github.com/vtex/checkout-ui-tests/compare/v0.19.14...v0.19.15 From 34430e07bd08f2320615958a8dca2639934b10ec Mon Sep 17 00:00:00 2001 From: Jefferson Benedito Date: Thu, 28 May 2026 12:06:41 -0300 Subject: [PATCH 03/12] Update DK reference id --- .vtex/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vtex/deployment.yaml b/.vtex/deployment.yaml index 6e16bf1..5be2585 100644 --- a/.vtex/deployment.yaml +++ b/.vtex/deployment.yaml @@ -1,7 +1,7 @@ - acronym: checkout-ui-tests description: Deploy checkout-ui-tests with DK CICD name: checkout-ui-tests - referenceId: PLACEHOLDER + referenceId: GJC2X40Q build: provider: dkcicd pipelines: From 36c9af508c123a1d752d608fb52d98ea70b30b65 Mon Sep 17 00:00:00 2001 From: Jefferson Benedito Date: Thu, 28 May 2026 12:10:07 -0300 Subject: [PATCH 04/12] Release v0.19.16 --- CHANGELOG.md | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6cf9bc..f33e5a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.19.16] - 2026-05-28 + ### Fixed - Scheduled tests @@ -685,5 +687,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [unreleased]: https://github.com/vtex/checkout-ui-tests/compare/v0.17.0...HEAD -[Unreleased]: https://github.com/vtex/checkout-ui-tests/compare/v0.19.15...HEAD +[Unreleased]: https://github.com/vtex/checkout-ui-tests/compare/v0.19.16...HEAD +[0.19.16]: https://github.com/vtex/checkout-ui-tests/compare/v0.19.15...v0.19.16 [0.19.15]: https://github.com/vtex/checkout-ui-tests/compare/v0.19.14...v0.19.15 diff --git a/package.json b/package.json index 3ea0996..dfc7599 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "checkout-ui-tests", - "version": "0.19.15", + "version": "0.19.16", "description": "", "main": "src/monitoring/index.js", "scripts": { From 18f5d81ac8c4dfac7eaff439d34badaf44b36609 Mon Sep 17 00:00:00 2001 From: Jefferson Benedito Date: Fri, 29 May 2026 14:23:19 -0300 Subject: [PATCH 05/12] Release v0.19.17 --- CHANGELOG.md | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f33e5a8..622a734 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.19.17] - 2026-05-29 + ## [0.19.16] - 2026-05-28 ### Fixed @@ -687,6 +689,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [unreleased]: https://github.com/vtex/checkout-ui-tests/compare/v0.17.0...HEAD -[Unreleased]: https://github.com/vtex/checkout-ui-tests/compare/v0.19.16...HEAD +[Unreleased]: https://github.com/vtex/checkout-ui-tests/compare/v0.19.17...HEAD +[0.19.17]: https://github.com/vtex/checkout-ui-tests/compare/v0.19.16...v0.19.17 [0.19.16]: https://github.com/vtex/checkout-ui-tests/compare/v0.19.15...v0.19.16 [0.19.15]: https://github.com/vtex/checkout-ui-tests/compare/v0.19.14...v0.19.15 diff --git a/package.json b/package.json index dfc7599..8cdd676 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "checkout-ui-tests", - "version": "0.19.16", + "version": "0.19.17", "description": "", "main": "src/monitoring/index.js", "scripts": { From bb8ab48fb58c30649ed5a60b3c98513b6d0cde3e Mon Sep 17 00:00:00 2001 From: Fernando Daciuk Date: Mon, 8 Jun 2026 14:27:00 -0300 Subject: [PATCH 06/12] fix: stabilize flaky checkout UI tests Test-code fixes from PLANO_CORRECAO.md, each validated by running its spec(s) individually against the stable env. - completePurchase: assert `be.enabled` instead of the subject-changing `not.have.attr,'disabled'` (which yielded undefined to .click()); single chained get with a 30s timeout. - confirmPaymentApp: wait for the confirm button to be visible, then force-click past the .modal-backdrop fade-in animation. - chooseDate: locate the scheduled datepicker button by scoping to the toggle's .vtex-omnishipping-1-x-scheduledDeliveryList group instead of a name-based id substring filter that never matched the pickup button; click the first available day rather than the possibly-disabled --keyboard-selected one. - Delivery - Peru: stabilize the async state>city>neighborhood>street>number cascade (no detaching assertion on the neighborhood select; commit street and number via blur without force; settle the shipping recompute before going to payment). --- .../shipping/models/Delivery - Peru.model.js | 27 ++++++++++++--- utils/payment-actions.js | 15 +++++---- utils/shipping-actions.js | 33 +++++++++---------- 3 files changed, 48 insertions(+), 27 deletions(-) diff --git a/tests/shipping/models/Delivery - Peru.model.js b/tests/shipping/models/Delivery - Peru.model.js index 1802873..d936763 100644 --- a/tests/shipping/models/Delivery - Peru.model.js +++ b/tests/shipping/models/Delivery - Peru.model.js @@ -35,12 +35,31 @@ export default function test(account) { cy.contains('Avenida Javier Prado Este 2465') } else { - cy.get('#ship-state').select('Lima') - cy.get('#ship-city').select('Lima') + cy.get('#ship-state').select('Lima').should('have.value', 'Lima') + cy.get('#ship-city').select('Lima').should('have.value', 'Lima') + // Selecting the neighborhood triggers the async render of the street/ + // number fields, which detaches this