Skip to content

Commit 5a15d1c

Browse files
GijsWeteringsfacebook-github-bot
authored andcommitted
Demo: force an Android Release E2E failure to exercise CI retries (#59571)
Summary: Demo only, stacked on the retry-chain fix so the exported PR shows the new behavior on real CI. Do not land. This adds an RNTester Maestro flow that always fails, scoped so that only the Android Release E2E job runs it: - `android-release-only` excludes it from the Android Debug job. - `local-screenshot-baseline` keeps it out of the Maestro Cloud runs. - A `when: platform: Android` condition makes it a no-op in the iOS E2E job. The file name sorts it last, so every other flow still runs first. What the PR run should show: - `test_e2e_android_rntester`: `test (debug)` passes and `test (release)` fails. Both checks are green (a soft failure in the step), and `retry_1` starts even if the passing Debug job finishes last. - `test_e2e_android_rntester_retry_1` behaves the same way, and `retry_2` starts. - `test_e2e_android_rntester_retry_2 / test (release)` is red on the "Run E2E Tests" step. It is the only red check from this chain, and there is no separate `report` job. - "Re-run failed jobs" re-runs `retry_2 / test (release)`, which runs Maestro again and fails again. Changelog: [Internal] Differential Revision: D128044163
1 parent 91efb5a commit 5a15d1c

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# DO NOT LAND. Fails on purpose in the Android Release E2E job only, to
2+
# exercise the CI retry chain.
3+
# - android-release-only: the Debug job excludes it.
4+
# - local-screenshot-baseline: keeps it out of the Maestro Cloud runs.
5+
# - The platform condition makes it a no-op in the iOS E2E job.
6+
appId: ${APP_ID}
7+
tags:
8+
- android-release-only
9+
- local-screenshot-baseline
10+
---
11+
- runFlow:
12+
when:
13+
platform: Android
14+
commands:
15+
- launchApp
16+
- assertVisible: 'Deliberate failure to exercise the CI retry chain'

0 commit comments

Comments
 (0)