[E2E] Prepare native preload ready-flow validation - #631
Draft
kyle-schellen wants to merge 1 commit into
Draft
Conversation
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Aug 12, 2026
kyle-schellen
force-pushed
the
ks-e2e-preload-ready-flow
branch
from
August 14, 2026 20:36
451f16b to
f51edda
Compare
kyle-schellen
force-pushed
the
ks-e2e-preload-cache-hit-signal
branch
from
August 14, 2026 20:36
1842281 to
f0af482
Compare
kyle-schellen
marked this pull request as ready for review
August 14, 2026 21:46
Install this buildOpen Tophat, select your target device, then click Install. Links open on the Mac running Tophat.
Checkout Kit E2E results
|
kyle-schellen
marked this pull request as draft
August 14, 2026 22:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What changed
e2e/tests/shared/native-preload-ready.yaml— top-level test, taggedpreload/smoke.e2e/flows/checkout/assert-native-preload-ready.yaml— reusable subflow.e2e/config/matrix.yml— Swift and Kotlin adoptpreload. React Native is unchanged.e2e/scripts/execute_browserstack_run+e2e/lib/— request device logs, then verify the Android cache-hit line in the passing testcase's log artifact.Why
Presenting checkout is not proof that preload was reused. This asserts the whole chain:
Cache use is read per platform: iOS asserts the diagnostic in the sample's Settings → Logs screen inside the flow; Android verifies
Returning cached preloaded WebView.in the BrowserStack device log afterwards, and rejects the concurrent-fresh message.No queue case, no timing threshold, no new public SDK API.
Testing
Physical devices, all four targets green:
swift-ioskotlin-androidreact-native-ios/react-native-androidThe Android leg proves the artifact downloader against live BrowserStack URLs: its verification raises unless the log is fetched and contains the cache-hit signal.
Also run locally on simulator and emulator via
dev swift e2e --tags preloadanddev android e2e --tags preload, plus the Ruby, Swift, and Android suites and lint.Stack
Before you merge
Important
platforms/swift/README.mdand/orplatforms/android/README.md)Releasing a new Swift version?
ShopifyCheckoutKit.podspecplatforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swiftplatforms/swift/README.md(major version only)Releasing a new Embedded Checkout Protocol version?
embeddedCheckoutProtocolAndroidinplatforms/android/gradle/libs.versions.tomlprotocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.apiif the public API changedReleasing a new Android version?
checkoutKitAndroidinplatforms/android/gradle/libs.versions.tomlplatforms/android/README.mdTip
See the Contributing documentation for the full release process per platform.