test: add nightly run flow for system tests#29484
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
| steps: | ||
| - name: Download Android APK (with-SRP) | ||
| if: needs.build-with-srp.result == 'success' | ||
| uses: actions/download-artifact@v4 |
| BROWSERSTACK_ANDROID_APP_URL: ${{ needs.upload-to-browserstack.outputs.android-login-url }} | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 |
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Restore node_modules cache | ||
| uses: actions/cache@v4 |
| "build:android:main:prod": "./scripts/build.sh android main production", | ||
| "build:android:main:beta": "./scripts/build.sh android main beta", | ||
| "build:android:main:rc": "./scripts/build.sh android main rc", | ||
| "build:android:main:rc:with:srp": "./scripts/build.sh android main rc", |
There was a problem hiding this comment.
Why we are not reusing the existing build:android:main:rc?
There was a problem hiding this comment.
This doesn't seem to be used
There was a problem hiding this comment.
this build is added because it includes the srp so we don't have to go through the onboarding flow during the tests
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
None of these changes touch: app source code, controllers, UI components, navigation, test fixtures, page objects, or Detox test files. There is no risk to any existing E2E test flows. No Detox tags need to run for this PR. Performance Test Selection: |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 809f391. Configure here.
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Restore node_modules cache | ||
| uses: actions/cache@v6 |
There was a problem hiding this comment.
Non-existent action versions break all test jobs
High Severity
actions/cache@v6 and actions/upload-artifact@v8 do not exist as released versions. The latest available are actions/cache@v5 and actions/upload-artifact@v7 (while actions/download-artifact@v8 and actions/checkout@v6 do exist — they have different version tracks). All four test jobs use both of these non-existent references, so every test job will fail immediately at runtime with an "unable to resolve action" error, making the entire workflow non-functional. The rest of the repository correctly uses @v4 for these actions.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 809f391. Configure here.
|





Description
Adds a new Nightly System Tests GitHub Actions workflow (run-system-tests.yml) that runs on a daily cron or manually, optionally accepting pre-built BrowserStack app URLs.
The workflow builds two RC variants (clean + with pre-imported SRP), uploads resulting APK/IPA artifacts to BrowserStack, runs Android/iOS login and onboarding test suites via BrowserStack Local, publishes test report artifacts, and fails the run if any platform flow fails.
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Medium Risk
Adds a new scheduled GitHub Actions workflow that builds and uploads signed RC artifacts and runs device tests on BrowserStack, which may affect CI load and secret usage if misconfigured.
Overview
Adds a new
Nightly System TestsGitHub Actions workflow (.github/workflows/run-system-tests.yml) that runs on a daily cron or manually, builds clean and with-SRP RC variants, uploads APK/IPA artifacts to BrowserStack, and executes Android/iOS login + onboarding system test suites via BrowserStack Local with report artifacts and a failing summary gate.Extends
builds.ymlwith a newmain-rc-with-srpbuild variant (RC config plus injectedADDITIONAL_SRP_1andPREDEFINED_PASSWORD) to support login-focused system tests, and updates.github/CODEOWNERSto assign QA ownership for the new workflow.Reviewed by Cursor Bugbot for commit 809f391. Bugbot is set up for automated code reviews on this repo. Configure here.