Skip to content

feat(e2e): add the hardcoded buyer identity order test on all four targets - #560

Draft
kieran-osgood-shopify wants to merge 1 commit into
kieran-osgood/e2e-present-and-close-checkoutfrom
kieran-osgood/e2e-checkout-hardcoded-buyer-identity
Draft

feat(e2e): add the hardcoded buyer identity order test on all four targets#560
kieran-osgood-shopify wants to merge 1 commit into
kieran-osgood/e2e-present-and-close-checkoutfrom
kieran-osgood/e2e-checkout-hardcoded-buyer-identity

Conversation

@kieran-osgood-shopify

Copy link
Copy Markdown
Contributor

What changes are you making?

How to test


Before you merge

Important

  • I've added tests to support my implementation
  • I have read and agree with the Contribution Guidelines
  • I have read and agree with the Code of Conduct
  • I've updated the relevant platform README (platforms/swift/README.md and/or platforms/android/README.md)

Releasing a new Swift version?
  • I have bumped the version in ShopifyCheckoutKit.podspec
  • I have bumped the version in platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift
  • I have updated the SwiftPM/CocoaPods version snippets in platforms/swift/README.md (major version only)
Releasing a new Embedded Checkout Protocol version?
  • I have bumped embeddedCheckoutProtocolAndroid in platforms/android/gradle/libs.versions.toml
  • I have updated protocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.api if the public API changed
Releasing a new Android version?
  • I have bumped checkoutKitAndroid in platforms/android/gradle/libs.versions.toml
  • I have updated the Gradle/Maven version snippets in platforms/android/README.md

Tip

See the Contributing documentation for the full release process per platform.

@github-actions github-actions Bot added the #gsd:50662 Rebase Checkout Kit on UCP label Jul 31, 2026
@tiagocandido
tiagocandido force-pushed the kieran-osgood/e2e-present-and-close-checkout branch from 4783464 to 528c5d6 Compare August 3, 2026 12:12
@tiagocandido
tiagocandido force-pushed the kieran-osgood/e2e-checkout-hardcoded-buyer-identity branch from 4538a43 to ec85833 Compare August 3, 2026 12:12
@tiagocandido
tiagocandido force-pushed the kieran-osgood/e2e-present-and-close-checkout branch from 528c5d6 to cd3c10f Compare August 3, 2026 14:42
@tiagocandido
tiagocandido force-pushed the kieran-osgood/e2e-checkout-hardcoded-buyer-identity branch from ec85833 to 200f651 Compare August 3, 2026 14:42
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-present-and-close-checkout branch from cd3c10f to 10a2582 Compare August 4, 2026 17:04
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-checkout-hardcoded-buyer-identity branch from 200f651 to 06ebb2e Compare August 4, 2026 17:04
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-present-and-close-checkout branch from 10a2582 to f9b982d Compare August 5, 2026 11:06
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-checkout-hardcoded-buyer-identity branch 2 times, most recently from ccb91e5 to 40a971a Compare August 5, 2026 11:35
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-present-and-close-checkout branch from f9b982d to 01fad00 Compare August 5, 2026 11:35
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-checkout-hardcoded-buyer-identity branch from 40a971a to ef7f86e Compare August 5, 2026 11:45
…rgets

Row 3 of the test rollout. The cart carries the contact details and the
delivery address, so checkout asks only for payment. That makes this the
shortest real order, and the first test to look at when checkout breaks.

The test moves from tests/react-native/ to tests/shared/, so Swift iOS,
Kotlin Android, React Native iOS and React Native Android all run it. The
matrix drops the `full` exclude entry that kept the ordering tests off the
native rows.

Android supplied only email, phone and country in its cart, while Swift and
React Native both supplied a delivery address. Checkout therefore showed an
empty Delivery form on Android only. CartInput.delivery now carries a
pre-selected one-time address there too, which matches Swift. The address
fields come from the same .env values the other samples read.

Two Maestro details drive the flow changes:

- A `visibilityPercentage` below 100 normalizes to zero, so `scrollUntilVisible`
  stops without scrolling. `centerElement: true` replaces it. A tap that lands
  on the keyboard does nothing, and Maestro still reports it as completed.
- Android `hideKeyboard` issues a Back press when no keyboard is up, which
  closes the checkout sheet. dismiss-active-field.yaml therefore only ever
  follows an inputText.

Verified green on all four targets, plus dev check, the Ruby suite, the Swift
package and sample targets, the Android library and sample tests, the React
Native JS and iOS tests, web and protocol.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-checkout-hardcoded-buyer-identity branch from ef7f86e to 4927554 Compare August 5, 2026 12:33
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-present-and-close-checkout branch from 53cb731 to 10ed082 Compare August 5, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

#gsd:50662 Rebase Checkout Kit on UCP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant