Skip to content

⚗ [POC] Android E2E tests using Playwright emulator#4212

Draft
rgaignault wants to merge 2 commits intomainfrom
romanG/android-setup
Draft

⚗ [POC] Android E2E tests using Playwright emulator#4212
rgaignault wants to merge 2 commits intomainfrom
romanG/android-setup

Conversation

@rgaignault
Copy link
Contributor

Motivation

Changes

Test instructions

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.
  • Updated documentation and/or relevant AGENTS.md file

@rgaignault rgaignault requested a review from a team as a code owner February 19, 2026 11:01
@rgaignault rgaignault marked this pull request as draft February 19, 2026 11:01
@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Feb 19, 2026

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 171.85 KiB 171.85 KiB 0 B 0.00%
Rum Profiler 4.29 KiB 4.29 KiB 0 B 0.00%
Rum Recorder 24.71 KiB 24.71 KiB 0 B 0.00%
Logs 56.66 KiB 56.66 KiB 0 B 0.00%
Flagging 944 B 944 B 0 B 0.00%
Rum Slim 128.38 KiB 128.38 KiB 0 B 0.00%
Worker 23.63 KiB 23.63 KiB 0 B 0.00%
🚀 CPU Performance
Action Name Base CPU Time (ms) Local CPU Time (ms) 𝚫%
RUM - add global context 0.0045 0.0062 +37.78%
RUM - add action 0.0129 0.0218 +68.99%
RUM - add error 0.0128 0.0212 +65.62%
RUM - add timing 0.0028 0.004 +42.86%
RUM - start view 0.0126 0.017 +34.92%
RUM - start/stop session replay recording 0.0008 0.0011 +37.50%
Logs - log message 0.0152 0.0216 +42.11%
🧠 Memory Performance
Action Name Base Memory Consumption Local Memory Consumption 𝚫
RUM - add global context 27.29 KiB 26.44 KiB -873 B
RUM - add action 51.40 KiB 50.23 KiB -1.17 KiB
RUM - add timing 26.48 KiB 27.10 KiB +633 B
RUM - add error 55.65 KiB 55.21 KiB -457 B
RUM - start/stop session replay recording 25.94 KiB 26.15 KiB +213 B
RUM - start view 450.87 KiB 455.83 KiB +4.96 KiB
Logs - log message 45.54 KiB 45.68 KiB +140 B

🔗 RealWorld

@datadog-datadog-prod-us1-2
Copy link

datadog-datadog-prod-us1-2 bot commented Feb 19, 2026

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 77.13% (-0.06%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 6afbc9a | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback!

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dfe49e214f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@rgaignault rgaignault force-pushed the romanG/android-setup branch 6 times, most recently from c9ebbc0 to da93c44 Compare March 2, 2026 15:18
Setup Android E2E testing using Playwright's experimental Android API
with an emulator running on a macOS Sonoma GitLab runner.

- Boot Android emulator in globalSetup, teardown in globalTeardown
- Install recent Chromium (v147) via snapshot builds to replace outdated system Chrome (v113)
- Reuse device connection and browser context across tests for performance
- Clean up service workers between tests to prevent stale state
- Wire Android fixture into existing createTest() framework
- All existing e2e scenarios run on Android with bundle setup
- Fix scroll test sub-pixel rounding on mobile DPI
- 237/249 tests pass, ~3 flaky (pass on retry)
@rgaignault rgaignault force-pushed the romanG/android-setup branch from da93c44 to 83adaa1 Compare March 2, 2026 15:25
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.

1 participant