Skip to content

test(e2e): run the giphy tests on Android again - #3977

Merged
isekovanic merged 4 commits into
developfrom
ci/rn-513-android-giphy
Nov 12, 2026
Merged

isekovanic merged 4 commits into
developfrom
ci/rn-513-android-giphy

Conversation

@testableapple

@testableapple testableapple commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Ticket: https://linear.app/stream/issue/RN-513

🎯 Goal

Run the 9 GiphyTests cases on Android again. They became iOS-only (itOnIOS) because loading giphy media sometimes took the whole Android CI emulator down.

🛠 Implementation details

  • RN-513 was recorded with -gpu swiftshader_indirect. CI has used -gpu swangle_indirect since ci(e2e): fix nightly reporting and stabilize the iOS suite #3965, and the giphy tests no longer take the emulator down with it (see Testing).
  • GiphyTests: itOnIOS → it. This removes itOnIOS, which only these tests used, and its mentions in the e2e README and the Fastfile's test-id regex.
  • assertMessageDeliveryStatus(NIL) now looks only inside the list's message cells. Since RN-493, a thread shows its parent message's delivery status, and the parent renders outside any cell (ThreadFooterComponent). The old whole-list check failed test_deliveryStatusHidden_whenEphemeralMessageShownInThread on Android every time, on the parent's ✓, not the giphy's. The same cause likely explains its occasional iOS failures (nightly 42943115860). Checks that expect a status still see the parent.

🧪 Testing

  • Stress runs (Android, GiphyTests only, 8 batches each, so every batch starts with a giphy test): 6 runs, 48 batches, 0 emulator losses. With SwiftShader, 1–2 of 8 batches per run lost the emulator.
  • Full suite on this PR: 43086744717, all 8 Android batches green.
  • The stress selection was a temporary commit, reverted in the last commit, so the net diff doesn't touch it.
  • yarn typecheck (E2ETestApp), eslint and prettier pass on the changed files.

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

The emulator deaths in RN-513 came with -gpu swiftshader_indirect. CI has
used swangle_indirect since #3965, so the giphy tests no longer need to be
iOS-only. This also removes the itOnIOS helper, which only they used.
Since RN-493 a thread shows its parent message's delivery status. The
parent sits outside the list's message cells, so the NIL check now looks
only inside them. This fixes the in-thread ephemeral giphy test.
Reverts the temporary GiphyTests-only stress selection.
@testableapple
testableapple marked this pull request as ready for review November 12, 2026 15:26
@isekovanic
isekovanic self-requested a review November 12, 2026 15:29
@isekovanic
isekovanic merged commit d0b71d1 into develop Nov 12, 2026
23 checks passed
@isekovanic
isekovanic deleted the ci/rn-513-android-giphy branch November 12, 2026 15:30
@ghost

ghost commented Nov 12, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 10.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost ghost added the released label Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants