[NT-3070] iOS UI tests in CI #259
Open
Alex Freas (akfreas) wants to merge 3 commits intomainfrom
Open
Conversation
…4-gb for ios ui tests
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.
Wires the iOS XCUITest suite into the main pipeline so it runs in parallel with the React Native Android E2E jobs, mirroring the build-once / matrix-run shape of that flow.
package.jsontoimplementations/ios-sdk/so it plugs into the existingpnpm run implementation:<name>wrapper, withxcodegen,test:e2e:ios:build:release, andtest:e2e:ios:run:releasescripts drivingxcodebuild build-for-testingandxcodebuild test-without-buildingimplementation:ios-sdk,setup:e2e:ios-sdk, andtest:e2e:ios-sdkroot scripts so the iOS flow can be exercised the same way as the JS implementationse2e_iospath filter to thechangesjob coveringimplementations/ios-sdk/**,lib/mocks/**, andpackages/ios/**e2e-ios-sdk-build(one macOS runner builds both SwiftUI and UIKit schemes into a single DerivedData tree at/tmp/optimization-ios-derived-dataand uploadsBuild/Productsas an artifact) ande2e-ios-sdk(matrixscheme: [SwiftUI, UIKit], downloads the artifact back to the same absolute path, boots a simulator, runs the mock server, and invokestest-without-buildingagainst the matching.xctestrun)The first PR runs in smoke mode via
IOS_ONLY_TESTING=OptimizationAppUITests<scheme>/PreviewPanelTestsso we can validate the artifact round-trip and Namespace macOS runner availability cheaply. A follow-up PR will drop that env var to enable the full suite once green.Open items to verify on first run:
nscloud-macos-arm64-8x32availability for this org — one-line swap tomacos-latestif it's not provisioned.xctestrunportability across the split build/test runners — mitigated by using the same absolute path on both, but worth confirming with the first green run