Add sample app test seams and run them in CI - #553
Open
kieran-osgood-shopify wants to merge 1 commit into
Open
Conversation
Contributor
Author
This was referenced Jul 31, 2026
tiagocandido
force-pushed
the
e2e-sample-test-seams
branch
2 times, most recently
from
August 3, 2026 14:42
71f2515 to
fc857ab
Compare
This was referenced Aug 3, 2026
kieran-osgood-shopify
force-pushed
the
e2e-sample-test-seams
branch
from
August 4, 2026 17:04
fc857ab to
b40215e
Compare
This was referenced Aug 4, 2026
kieran-osgood-shopify
force-pushed
the
e2e-sample-test-seams
branch
from
August 5, 2026 11:06
b40215e to
6584a19
Compare
kieran-osgood-shopify
force-pushed
the
e2e-sample-test-seams
branch
2 times, most recently
from
August 5, 2026 11:45
eb70a16 to
ad8bafd
Compare
kieran-osgood-shopify
marked this pull request as ready for review
August 5, 2026 12:09
Package Size
React Native file breakdown
Android file breakdown
Measured from the PR base SHA and PR head SHA. The file breakdown shows uncompressed sizes within each package artifact, so individual files do not sum to the compressed artifact total. This comment reports package artifact sizes only; it is not a final app binary-size report. |
Install this buildOpen Tophat, select your target device, then click Install. Links open on the Mac running Tophat.
Checkout Kit E2E results
|
kieran-osgood-shopify
force-pushed
the
e2e-sample-test-seams
branch
from
August 5, 2026 12:33
ad8bafd to
992ffc8
Compare
The E2E control link parser lands next and needs a test home in each sample. Today the Swift and Android samples have no test target at all, and the React Native sample's jest tests never run in CI, so its nine cart bootstrap parse cases gate nothing. Swift: add a CheckoutKitSwiftDemoTests bundle.unit-test target and a Scripts/test_samples entry point. Android: add app/src/test with junit and assertj, because the sample is a separate Gradle composite that `dev android test` does not reach. React Native: move the E2E-only cart bootstrap files into sample/src/e2e. Merchants read these samples as integration guidance, so E2E code belongs in one folder they can skip. CI runs all three. swift-build-samples chains test_samples onto the macOS runner that already provisions storefront config. android-test runs :app:testDebugUnitTest in the job that already builds the sample. rn-test adds a sample step without --coverage, so the coverage report stays scoped to the published module. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
kieran-osgood-shopify
force-pushed
the
e2e-sample-test-seams
branch
from
August 5, 2026 14:51
992ffc8 to
e00d56d
Compare
|
|
||
| # Only the demo xcconfig carries this. The Accelerated sample still names the team in its | ||
| # own project.yml, so a second copy here would be a value nothing reads. | ||
| DEVELOPMENT_TEAM_VALUE="$(root_or_source_nonempty_value DEVELOPMENT_TEAM \ |
Contributor
There was a problem hiding this comment.
Would it be a common scenario that someone sets a custom DEVELOPMENT_TEAM and later removes it? If so, the generated Storefront.xcconfig value is reused here, so the previous team remains instead of falling back to the Shopify default. Should a blank value reset to DEFAULT_DEVELOPMENT_TEAM?
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 changes are you making?
How to test
dev upand check that the xcode project has the team id setTests should all pass
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.