Repository navigation
Port the testmu() mobile device provider as TestMuDevices (#2565) - #2646
Merged
Merged
Conversation
…e#1900) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ls2e1z27tFwisNHfx3cDZt
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 51 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
…ices Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ls2e1z27tFwisNHfx3cDZt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2565
What this adds
TestMuDevices(E2E.TestMu.Mobile) is upstream'stestmu(). It is a device provider that leases a TestMu AI Android emulator, iOS simulator or real device for each worker slot, and drives it through an agent-device daemon with the@agent-device/testmuplugin. Set it asMobileOptions.Provider.Before this, a mobile test could not run on TestMu AI. The package only had a preview Appium client. Users can now set
Device,OsVersion,App,DeviceTypeand the other options, and get TestMu AI's session video in the report. The "Mobile devices" docs section now documents them.Upstream parity
Upstream: tester-army/e2e
packages/testmu(provider.ts,sessions.ts,dashboard.ts,credentials.ts), issue #2565. Verdict: complete, with the justified exceptions below.testmu()/TestmuOptions(provider.ts)TestMuDevices/TestMuDevicesOptions, withTestMuDeviceTypeandTestMuOrientationenumssessions.ts:testmuApiEndpoint,findSession,sessionVideoUrlTestMuSessions(internal)defaultSessionNameDashboard.DefaultSessionName(runId, targetName, slot)overload inE2E.TestMutestmuCredentialsTestMuCredentials, reached through a new project reference andInternalsVisibleTo64432f1)AgentDeviceLeasesTestMuDeviceTypeandTestMuOrientationreplace upstream's string unions. TheTestMuSessionsandSessionRefsplit follows the existing BrowserStack port.AgentDevicePlugin), where upstream links the package. The same difference exists for Revyl.Upstream tests and their local match
testmu.test.tsTestmu/TestmuTests.csrecording.test.tsRecording/TestmuRecordTests.csentries.test.tsEntries/EntriesTests.csplugin.test.tsPlugin/PluginTests.csAll of
recording.test.tsandplugin.test.tsis ported. The root-entry-off-web test inentries.test.tsisPartial_: the port has no E2E.Web assembly.Not ported
rejects an option it does not take): C# types close it, so it has no counterpart.PARTIAL. They keep only the empty-string case. A missing option is a compile error.nullis the default forDeviceType.Other changes
testmu.mdx,mobile.mdx,skills/e2e-dotnet(SKILL.md andreferences/mobile.md),COMPATIBILITY.md,README.mdandCONTRIBUTING.md.E2E.TestMu.Mobileis added topublish.yml.Generated by Claude Code