Skip to content

Add focused rn e2e scenario flags#388

Merged
kyle-schellen merged 1 commit into
mainfrom
06-30-add_focused_rn_e2e_scenario_flags
Jul 10, 2026
Merged

Add focused rn e2e scenario flags#388
kyle-schellen merged 1 commit into
mainfrom
06-30-add_focused_rn_e2e_scenario_flags

Conversation

@kyle-schellen

@kyle-schellen kyle-schellen commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

What changes are you making?

Adds focused scenario flags for the React Native Maestro E2E runner.

dev rn e2e ios and dev rn e2e android continue to run the full React Native checkout smoke suite. Passing --guest or --hardcoded-buyer-identity runs only that checkout smoke flow, and multiple flags can be used together.

Selected flows run as separate Maestro invocations so each checkout scenario gets its own app bootstrap instead of sharing one multi-flow Maestro process.

How to test

  • dev rn e2e ios --help
  • dev rn e2e android --help
  • dev rn e2e ios --guest --hardcoded-buyer-identity
  • dev rn e2e android --guest --hardcoded-buyer-identity

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.

kyle-schellen commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

@kyle-schellen kyle-schellen force-pushed the 06-30-add_focused_rn_e2e_scenario_flags branch from f2710a2 to fc82dc7 Compare June 30, 2026 17:25
@kyle-schellen kyle-schellen self-assigned this Jun 30, 2026
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch 2 times, most recently from 3fcdd8b to cf52237 Compare June 30, 2026 17:43
@kyle-schellen kyle-schellen force-pushed the 06-30-add_focused_rn_e2e_scenario_flags branch 2 times, most recently from 2802c8a to 7587114 Compare June 30, 2026 18:12
@kyle-schellen kyle-schellen marked this pull request as ready for review June 30, 2026 18:19
@kyle-schellen kyle-schellen requested a review from a team as a code owner June 30, 2026 18:19
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

React Native — Coverage Report

Lines Statements Branches Functions
Coverage: 92%
91.85% (327/356) 87.98% (183/208) 100% (86/86)

@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

Package Size

Platform Artifact Base Head Delta
React Native npm tarball 103.0 KiB 103.0 KiB 0 B
React Native file breakdown
File Base Head Delta
node_modules/@shopify/checkout-kit-protocol/src/generated/Models.ts 85.4 KiB 85.4 KiB 0 B
node_modules/@shopify/checkout-kit-protocol/src/generated/Models.d.ts 53.0 KiB 53.0 KiB 0 B
ios/ShopifyCheckoutKit.swift 15.0 KiB 15.0 KiB 0 B
ios/AcceleratedCheckoutButtons.swift 14.0 KiB 14.0 KiB 0 B
lib/commonjs/index.js 13.1 KiB 13.1 KiB 0 B
src/components/AcceleratedCheckoutButtons.tsx 12.9 KiB 12.9 KiB 0 B
src/index.ts 12.5 KiB 12.5 KiB 0 B
lib/commonjs/components/AcceleratedCheckoutButtons.js 11.4 KiB 11.4 KiB 0 B
android/src/main/java/com/shopify/reactnative/checkoutkit/ShopifyCheckoutKitModule.java 11.1 KiB 11.1 KiB 0 B
lib/module/index.js 10.4 KiB 10.4 KiB 0 B
lib/commonjs/components/AcceleratedCheckoutButtons.js.map 10.3 KiB 10.3 KiB 0 B
lib/module/components/AcceleratedCheckoutButtons.js 10.2 KiB 10.2 KiB 0 B
node_modules/@shopify/checkout-kit-protocol/src/generated/ProtocolNotifications.ts 9.5 KiB 9.5 KiB 0 B
lib/module/components/AcceleratedCheckoutButtons.js.map 9.1 KiB 9.1 KiB 0 B
src/index.d.ts 8.9 KiB 8.9 KiB 0 B
lib/module/index.js.map 8.2 KiB 8.2 KiB 0 B
src/present-dispatcher.ts 8.0 KiB 8.0 KiB 0 B
lib/commonjs/index.js.map 7.7 KiB 7.7 KiB 0 B
node_modules/@shopify/checkout-kit-protocol/src/generated/ProtocolNotifications.d.ts 7.6 KiB 7.6 KiB 0 B
node_modules/@shopify/checkout-kit-protocol/src/generated/ProtocolRenameMap.ts 7.2 KiB 7.2 KiB 0 B
…and 110 smaller files

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.

@kyle-schellen kyle-schellen force-pushed the 06-30-add_focused_rn_e2e_scenario_flags branch from 7587114 to 2ec6bd4 Compare July 9, 2026 16:02
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch 2 times, most recently from 16324a3 to e30275f Compare July 9, 2026 16:19
@kyle-schellen kyle-schellen force-pushed the 06-30-add_focused_rn_e2e_scenario_flags branch from 2ec6bd4 to 53537ec Compare July 9, 2026 16:19
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch from e30275f to fc66580 Compare July 9, 2026 21:16
@kyle-schellen kyle-schellen force-pushed the 06-30-add_focused_rn_e2e_scenario_flags branch 2 times, most recently from 0f823c2 to 503c0f6 Compare July 9, 2026 22:35
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch from fc66580 to 2784dc3 Compare July 9, 2026 23:00
@kyle-schellen kyle-schellen force-pushed the 06-30-add_focused_rn_e2e_scenario_flags branch from 503c0f6 to 281c7f9 Compare July 9, 2026 23:00
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch from 2784dc3 to a79fd6e Compare July 10, 2026 00:39
@kyle-schellen kyle-schellen force-pushed the 06-30-add_focused_rn_e2e_scenario_flags branch from 281c7f9 to 9495070 Compare July 10, 2026 00:39

kyle-schellen commented Jul 10, 2026

Copy link
Copy Markdown
Contributor Author

Merge activity

  • Jul 10, 4:12 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jul 10, 4:14 PM UTC: Graphite rebased this pull request as part of a merge.
  • Jul 10, 4:35 PM UTC: @kyle-schellen merged this pull request with Graphite.

@kyle-schellen kyle-schellen changed the base branch from 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke to graphite-base/388 July 10, 2026 16:12
@kyle-schellen kyle-schellen changed the base branch from graphite-base/388 to main July 10, 2026 16:12
@kyle-schellen kyle-schellen force-pushed the 06-30-add_focused_rn_e2e_scenario_flags branch from 9495070 to 170c9ea Compare July 10, 2026 16:13
@kyle-schellen kyle-schellen merged commit 62ccf19 into main Jul 10, 2026
30 checks passed
@kyle-schellen kyle-schellen deleted the 06-30-add_focused_rn_e2e_scenario_flags branch July 10, 2026 16:35
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.

2 participants