DELIVERY-115745: Cordova plugin test automation (E2E/smoke, workflows, test-app)#296
Merged
Merged
Conversation
…omation # Conflicts: # .af-e2e/test-plan.json # .af-smoke/rc-test-plan.json # .github/workflows/android-e2e.yml # .github/workflows/ios-e2e.yml # .gitignore # scripts/af-scenario-runner.sh # scripts/e2e-cordova-build.sh # scripts/smoke-cordova-build.sh # scripts/sync-test-app-e2e-copy.sh # test-app/.env.example # test-app/.gitignore # test-app/README.md # test-app/config.xml # test-app/package.json # test-app/www/index.html # test-app/www/js/index.js
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.
Summary
Introduces AppsFlyer Cordova integration validation using the af-scenario-runner pattern: a dedicated
test-app/contract,.af-e2e/.af-smokeJSON plans, siblingappsflyer-cordova-plugin-e2elayout via sync scripts, and GitHub Actions for Android/iOS E2E plus RC smoke/release/promote flows. Removes legacy workflow scripts where superseded.What changed
Test app (
test-app/)QA hooks (
emit-af-qa-env.js,afqa-ios-simctl-deeplink-replay.js),wwwscenario coverage,config.xml/package.jsonupdates,.env.example, README contract notes.Plans & env
.af-e2e/test-plan.json,.af-smoke/rc-test-plan.json,.af-e2e/env.example,scripts/write-e2e-env-to-dir.sh,scripts/bootstrap-e2e-env.sh.Build & sync
scripts/e2e-cordova-build.sh,scripts/smoke-cordova-build.sh,scripts/sync-test-app-e2e-copy.sh, Android helpersscripts/ci-android-e2e-scenario.sh,scripts/ci-android-rc-smoke.sh.Runner
Vendored/updated
scripts/af-scenario-runner.shaligned with scenario execution on CI.RC automation
scripts/rc-update-cordova-versions.sh,scripts/rc-promote-strip-rc.sh.Workflows
e2e.yml,e2e-pull-request.yml,android-e2e.yml,ios-e2e.yml,lint-test-build.yml,rc-release.yml,rc-smoke.yml,promote-release.yml. Retiresbuild-apps-workflow.yml,mac-os-unit-test-runner.yml, and oldarchiveApp.sh/decryptSecrets.sh/releaseNotesGenerator.shunder.github/workflows/scripts/.iOS CI stability
test-app/build.json:buildFlagas an array withARCHS=arm64for simulator builds on Apple Silicon (avoids bad x86_64 simulator links to AppsFlyerLib).Xcode_*viaxcode-select; use the runner default toolchain and logxcode-select -p/xcodebuild -version(avoids Swift compatibility / cryptex link failures seen on Xcode 26.x with the previoustail -1selection).Repo hygiene
.gitignoreupdates for E2E/smoke artifacts.Docs / agent guidance (optional for reviewers)
docs/SCENARIO_RUNNER_ADOPTION_WORKPLAN.md,.claude/skills/*,.cursor/skills/*— confirm these belong on master vs. keeping them local-only.How to test
./scripts/e2e-cordova-build.sh ios/androidwithENV_FILEor local.af-e2e/.env.localas documented intest-app/README.md.macos-15.