Skip to content

DELIVERY-115745: Cordova plugin test automation (E2E/smoke, workflows, test-app)#296

Merged
tlozovyi-af merged 25 commits into
masterfrom
DELIVERY-115745-plugin-test-automation
May 15, 2026
Merged

DELIVERY-115745: Cordova plugin test automation (E2E/smoke, workflows, test-app)#296
tlozovyi-af merged 25 commits into
masterfrom
DELIVERY-115745-plugin-test-automation

Conversation

@tlozovyi-af

Copy link
Copy Markdown
Contributor

Summary

Introduces AppsFlyer Cordova integration validation using the af-scenario-runner pattern: a dedicated test-app/ contract, .af-e2e / .af-smoke JSON plans, sibling appsflyer-cordova-plugin-e2e layout 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), www scenario coverage, config.xml / package.json updates, .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 helpers scripts/ci-android-e2e-scenario.sh, scripts/ci-android-rc-smoke.sh.

Runner

Vendored/updated scripts/af-scenario-runner.sh aligned 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. Retires build-apps-workflow.yml, mac-os-unit-test-runner.yml, and old archiveApp.sh / decryptSecrets.sh / releaseNotesGenerator.sh under .github/workflows/scripts/.

iOS CI stability

  • test-app/build.json: buildFlag as an array with ARCHS=arm64 for simulator builds on Apple Silicon (avoids bad x86_64 simulator links to AppsFlyerLib).
  • iOS workflows: stop selecting the newest Xcode_* via xcode-select; use the runner default toolchain and log xcode-select -p / xcodebuild -version (avoids Swift compatibility / cryptex link failures seen on Xcode 26.x with the previous tail -1 selection).

Repo hygiene

.gitignore updates 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

  • Run ./scripts/e2e-cordova-build.sh ios / android with ENV_FILE or local .af-e2e/.env.local as documented in test-app/README.md.
  • Trigger iOS E2E / Android E2E (or full e2e) from Actions on this branch.
  • Confirm lint-test-build iOS simulator build passes on macos-15.

…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
@tlozovyi-af tlozovyi-af self-assigned this May 14, 2026

@Dani-Koza-AF Dani-Koza-AF left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks legit!

@tlozovyi-af tlozovyi-af merged commit adfa796 into master May 15, 2026
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.

2 participants