Skip to content

feat(e2e): add the present-and-close checkout test on all four targets - #559

Draft
kieran-osgood-shopify wants to merge 1 commit into
kieran-osgood/e2e-cart-from-control-linkfrom
kieran-osgood/e2e-present-and-close-checkout
Draft

feat(e2e): add the present-and-close checkout test on all four targets#559
kieran-osgood-shopify wants to merge 1 commit into
kieran-osgood/e2e-cart-from-control-linkfrom
kieran-osgood/e2e-present-and-close-checkout

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-cart-from-control-link branch from 8a529fd to 893721f Compare August 3, 2026 12:12
@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-cart-from-control-link branch from 893721f to ecc30cc Compare August 3, 2026 14:42
@tiagocandido
tiagocandido force-pushed the kieran-osgood/e2e-present-and-close-checkout branch from 528c5d6 to cd3c10f Compare August 3, 2026 14:42
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-cart-from-control-link branch from ecc30cc to f3d5bf1 Compare August 4, 2026 17:04
@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-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-cart-from-control-link branch 2 times, most recently from 3cb7142 to 4462b86 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-cart-from-control-link branch from 4462b86 to 67e6765 Compare August 5, 2026 11:45
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-present-and-close-checkout branch from 01fad00 to 53cb731 Compare August 5, 2026 11:45
Second test of the rollout. It seeds a cart through the control link, presents
checkout, closes it, and asserts the sheet is gone. Swift iOS, Kotlin Android,
React Native iOS and React Native Android all run it.

Assert on the close control, not on checkout copy: the React Native catalog
sells a product called "Email", which the checkout field pattern matches, so
copy-based assertions pass on the wrong screen.

Extract flows/checkout/close.yaml so the close identifier, which differs by SDK
version rather than by platform, has one home. The React Native order flow now
calls it instead of carrying its own platform split.

The four targets return to different screens after the sheet closes, so this
test asserts dismissal only. The tests that place an order assert the cart.

Add the checkout tag to the CI matrix and exclude full, because the remaining
full tests place a real order and live under tests/react-native/.

Pass the installed device to Maestro from both native runners. Maestro
otherwise picks a device itself, and it can pick one the app is missing from.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-cart-from-control-link branch from 67e6765 to 4bc352b 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