Skip to content

Patch v2 with E2E improvements - #1760

Closed
rahul-lohra wants to merge 1 commit into
develop-v2from
improvement/rahullohra/patch-with-e2e-improvements
Closed

Patch v2 with E2E improvements#1760
rahul-lohra wants to merge 1 commit into
develop-v2from
improvement/rahullohra/patch-with-e2e-improvements

Conversation

@rahul-lohra

@rahul-lohra rahul-lohra commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Goal

Patch v2 with E2E improvements
Just increase timeouts of E2E tests

Implementation

Reference PR: #1751

🎨 UI Changes

None

Testing

None

…atency (#1751)

* test(e2e): harden recording and outgoing-call waits against backend latency

The composite recorder can take 20-30s to start and emit call.recording_started,
and the outgoing ringing screen only renders after the call create/ring network
round-trip. The 5s default (recording icon) and 10s (outgoing decline button)
waits time out before the UI appears, causing deterministic findObject NPEs in
testParticipantRecordsCall and testUserRejectsTheOutgoingAudioCall.

Co-authored-by: Cursor <cursoragent@cursor.com>

* test(e2e): extend recording-consent and stop waits to 30s

The recording-consent dialog (acceptCallRecording/declineCallRecording) and the
recording-icon disappear assert are all gated on backend recorder events
(call.recording_started / call.recording_stopped), which can take 20-30s. The
10s/5s waits time out first, so testParticipantRecordsCall still failed at
acceptCallRecording after the initial icon-wait bump. Extend these waits to 30s.

Co-authored-by: Cursor <cursoragent@cursor.com>

* test(e2e): record for 60s so the recording icon is observable

Composite recording spins up ~10-15s after the request, so recording for only
15s left a ~5s client-visible window that closed before the 3-view assertion
loop could observe the icon. Record for 60s and keep the buddy in the call for
120s (matching the ReconnectionTests pattern) so the icon is reliably visible,
then extend the "recording disappeared" wait to 70s to cover the longer run.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

PR checklist ❌

The following issues were detected:

  • Linked issue missing. Add a Linear ticket reference (e.g. AND-123, Closes AND-123, or a https://linear.app/... link) or a GitHub issue (Closes #123) to the PR description.

What we check

  1. Title is concise (5–18 words) unless labeled pr:ignore-for-release.
  2. At least one pr: label exists (e.g., pr:bug, pr:new-feature).
  3. Sections ### Goal, ### Implementation, and ### Testing contain content. Bot-authored PRs are exempt.
  4. PR description references an issue (Linear ticket like AND-123, a Linear URL, or a GitHub Closes #N). Bot-authored PRs are exempt.

@rahul-lohra rahul-lohra self-assigned this Aug 3, 2026
@rahul-lohra rahul-lohra added the pr:internal Internal or infra-only changes label Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

SDK Size Comparison 📏

SDK Before After Difference Status
stream-video-android-core 12.05 MB 12.35 MB 0.30 MB 🟡
stream-video-android-ui-xml 5.68 MB 5.73 MB 0.05 MB 🟢
stream-video-android-ui-compose 6.28 MB 5.86 MB -0.43 MB 🚀

@sonarqubecloud

sonarqubecloud Bot commented Aug 3, 2026

Copy link
Copy Markdown

@rahul-lohra

Copy link
Copy Markdown
Contributor Author

Not needed, we are proceeding with #1761

@rahul-lohra rahul-lohra closed this Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:internal Internal or infra-only changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants