Skip to content

Build E2E apps from e2e/.env, not the demo store - #583

Draft
kieran-osgood-shopify wants to merge 1 commit into
kieran-osgood/ejson-ci-and-docsfrom
kieran-osgood/e2e-own-storefront-config
Draft

Build E2E apps from e2e/.env, not the demo store#583
kieran-osgood-shopify wants to merge 1 commit into
kieran-osgood/ejson-ci-and-docsfrom
kieran-osgood/e2e-own-storefront-config

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.

Copy link
Copy Markdown
Contributor Author

@kieran-osgood-shopify
kieran-osgood-shopify changed the base branch from kieran-osgood/ejson-ci-and-docs to graphite-base/583 August 5, 2026 11:06
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-own-storefront-config branch from de05d52 to 1fe6bca Compare August 5, 2026 11:35
@kieran-osgood-shopify
kieran-osgood-shopify changed the base branch from graphite-base/583 to kieran-osgood/ejson-ci-and-docs August 5, 2026 11:35
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-own-storefront-config branch from 1fe6bca to 80dddcb Compare August 5, 2026 11:45
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/ejson-ci-and-docs branch from 88b6724 to a2af77b Compare August 5, 2026 11:45
The E2E suite read its own e2e/.env for Maestro, but the sample apps it drives
were still configured from the repo-root .env. That file comes from
config/secrets/demo.ejson, which a developer may point at their own shop, so a
suite run tested whichever store happened to be set up for manual work.

scripts/setup_storefront_env takes --env-file, and e2e_configure_storefront
passes e2e/.env. The four generated platform config files are shared, so the
last run still wins, but nothing on the E2E path reads the demo store now.

It also takes --ignore-generated. The script reads the files it generates as a
value source, so a developer who lost .env keeps their store. That inheritance
is wrong for the suite: on a workspace that already built the demo app those
files hold the demo store and a Canadian address. e2e.ejson carries no address,
so the United States defaults decide it instead.

That last part is flake B2 returning by a new route. The original fix relied on
CI holding no address values at all, which encrypted config changed. Two tests
hold it now: scripts/test_setup_storefront_env covers the flag, and the new
e2e/scripts/test_bitrise_ci_helpers asserts the argv the CI path builds.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Assisted-By: devx/252dfd24-6c25-4bb4-8463-27702ec564eb
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/ejson-ci-and-docs branch from a2af77b to 22eb2d4 Compare August 5, 2026 12:33
@kieran-osgood-shopify
kieran-osgood-shopify force-pushed the kieran-osgood/e2e-own-storefront-config branch from 80dddcb to 03fe170 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant