Skip to content

Add RN hardcoded buyer identity maestro E2E#337

Open
kyle-schellen wants to merge 1 commit into
mainfrom
06-24-add_rn_hardcoded_buyer_identity_e2e_smoke
Open

Add RN hardcoded buyer identity maestro E2E#337
kyle-schellen wants to merge 1 commit into
mainfrom
06-24-add_rn_hardcoded_buyer_identity_e2e_smoke

Conversation

@kyle-schellen

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

Copy link
Copy Markdown
Contributor

What changes are you making?

Adds a React Native Maestro smoke test for hardcoded buyer identity checkout. The RN sample E2E cart bootstrap link now accepts buyerIdentityMode, so both guest and hardcoded buyer identity scenarios create their cart through the same cold-start bootstrap path.

The hardcoded scenario seeds a cart with hardcoded buyer identity, opens checkout directly to payment, and completes checkout successfully.

This also scopes the RN Maestro runner to the React Native suite so future platform E2Es do not get picked up accidentally.

A follow-up PR will add focused runner flags such as --guest and --hardcoded-buyer-identity for running individual scenarios.

How to test

  • dev rn e2e ios
  • dev rn e2e android

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 platforms/swift/CHANGELOG.md
  • I have updated the SwiftPM/CocoaPods version snippets in platforms/swift/README.md (major version only)
Releasing a new Android version?
  • I have bumped the versionName in platforms/android/lib/build.gradle
  • I have updated platforms/android/CHANGELOG.md
  • 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 25, 2026

Copy link
Copy Markdown
Contributor Author

@@ -0,0 +1,9 @@
appId: ${APP_ID}

@kyle-schellen kyle-schellen Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Required to dismiss optional React Native debug warning when it appears in dev builds.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the warning you're suppressing? LogBox exposes a way to suppress warnings if they're not an issue, otherwise we might want to just fix the warning

https://github.com/orgs/community/discussions/75497

import { LogBox } from "react-native";

// You can choose the warnings you want to ignore for example
LogBox.ignoreLogs([
  '<string you want to match against in console>'
]);

@kyle-schellen kyle-schellen force-pushed the 06-24-normalize_rn_e2e_selector_contract branch from b41ea91 to 465b25f Compare June 25, 2026 18:24
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch 2 times, most recently from 07f43b0 to da45de3 Compare June 25, 2026 18:26
@kyle-schellen kyle-schellen changed the title Add RN hardcoded buyer identity E2E smoke [WIP] Add RN hardcoded buyer identity E2E smoke Jun 25, 2026
@kyle-schellen kyle-schellen added the #gsd:50662 Rebase Checkout Kit on UCP label Jun 26, 2026 — with Graphite App
@kyle-schellen kyle-schellen self-assigned this Jun 26, 2026
@kyle-schellen kyle-schellen force-pushed the 06-24-normalize_rn_e2e_selector_contract branch from 465b25f to 765ba34 Compare June 26, 2026 14:56
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch from da45de3 to 6d8d2de Compare June 26, 2026 14:56
@kyle-schellen kyle-schellen force-pushed the 06-24-normalize_rn_e2e_selector_contract branch from 765ba34 to ca24c87 Compare June 26, 2026 15:11
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch 2 times, most recently from 4fdf5b9 to dacd2f9 Compare June 26, 2026 15:36
@kyle-schellen kyle-schellen force-pushed the 06-24-normalize_rn_e2e_selector_contract branch from ca24c87 to 0bde065 Compare June 26, 2026 15:36
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch from dacd2f9 to fed455d Compare June 26, 2026 16:19
@kyle-schellen kyle-schellen force-pushed the 06-24-normalize_rn_e2e_selector_contract branch 2 times, most recently from be7093a to 9eee9b8 Compare June 26, 2026 16:33
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch from fed455d to 2217552 Compare June 26, 2026 16:33
@kyle-schellen kyle-schellen force-pushed the 06-24-normalize_rn_e2e_selector_contract branch from 9eee9b8 to f7e72ae Compare June 26, 2026 17:17
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch from 2217552 to a361584 Compare June 26, 2026 17:17
@kyle-schellen kyle-schellen force-pushed the 06-24-normalize_rn_e2e_selector_contract branch from f7e72ae to 4424d59 Compare June 29, 2026 00:49
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch 2 times, most recently from 309a059 to 629372a Compare June 29, 2026 02:30
@kyle-schellen kyle-schellen force-pushed the 06-24-normalize_rn_e2e_selector_contract branch 2 times, most recently from 43a0d35 to 08c735b Compare June 29, 2026 15:44
@kyle-schellen kyle-schellen force-pushed the 06-24-normalize_rn_e2e_selector_contract branch 2 times, most recently from 9e532b6 to 7c46cb0 Compare June 29, 2026 21:20
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch from f18cf71 to 1d64a24 Compare June 29, 2026 21:20
@kyle-schellen kyle-schellen force-pushed the 06-24-normalize_rn_e2e_selector_contract branch from 7c46cb0 to c591d53 Compare June 30, 2026 00:46
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch from 1d64a24 to 9dd9694 Compare June 30, 2026 00:46
@kyle-schellen kyle-schellen force-pushed the 06-24-normalize_rn_e2e_selector_contract branch from c591d53 to f54fa54 Compare June 30, 2026 12:53
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch 2 times, most recently from 2bfac18 to 04d7e93 Compare June 30, 2026 13:45
@kyle-schellen kyle-schellen force-pushed the 06-24-normalize_rn_e2e_selector_contract branch from f54fa54 to 72417b5 Compare June 30, 2026 14:07
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch from 04d7e93 to c5a6009 Compare June 30, 2026 14:07
@kyle-schellen kyle-schellen changed the title [WIP] Add RN hardcoded buyer identity E2E smoke Add RN hardcoded buyer identity maestro E2E Jun 30, 2026
@kyle-schellen kyle-schellen force-pushed the 06-24-normalize_rn_e2e_selector_contract branch from 72417b5 to f52bdca Compare June 30, 2026 14:38
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch 3 times, most recently from 0c90475 to 29c2688 Compare June 30, 2026 15:25
@kyle-schellen kyle-schellen changed the base branch from 06-24-normalize_rn_e2e_selector_contract to graphite-base/337 June 30, 2026 17:11
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch from 29c2688 to 53ee489 Compare June 30, 2026 17:25
@kyle-schellen kyle-schellen changed the base branch from graphite-base/337 to 06-24-normalize_rn_e2e_selector_contract June 30, 2026 17:25
@kyle-schellen kyle-schellen marked this pull request as ready for review June 30, 2026 17:29
@kyle-schellen kyle-schellen requested a review from a team as a code owner June 30, 2026 17:29
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

React Native — Coverage Report

Lines Statements Branches Functions
Coverage: 92%
91.83% (326/355) 87.98% (183/208) 100% (86/86)

@github-actions

Copy link
Copy Markdown

Package Size

Platform Artifact Base Head Delta
React Native npm tarball 91.6 KiB 91.6 KiB 0 B

Measured from the PR base SHA and PR head SHA. This comment reports package artifact sizes only; it is not a final app binary-size report.

@kyle-schellen kyle-schellen changed the base branch from 06-24-normalize_rn_e2e_selector_contract to graphite-base/337 June 30, 2026 17:42
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch from 53ee489 to 3fcdd8b Compare June 30, 2026 17:42
@graphite-app graphite-app Bot changed the base branch from graphite-base/337 to main June 30, 2026 17:43
@kyle-schellen kyle-schellen force-pushed the 06-24-add_rn_hardcoded_buyer_identity_e2e_smoke branch from 3fcdd8b to cf52237 Compare June 30, 2026 17:43
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