dotnet / dotnet/maui-samples

New Sample Idea: Maui Hybrid Mobile App Testing

Open
#670 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

I haven’t been able to find much documentation on how to effectively E2E test a .NET MAUI Hybrid app.

The existing [Appium sample](https://learn.microsoft.com/en-us/samples/dotnet/maui-samples/uitest-appium-nunit/) in this repo is a great resource for a pure .NET MAUI app. However, I don't believe this test approach works when much of the UI is rendered inside a webview. In these cases, using Appium alone doesn't seem like enough for E2E/UI tests.

I would love to see an example hybrid mobile app that shows different testing approaches depending on how deep a user wants to take it. For example:

- Isolated Blazor component testing with `bUnit`
- Native shell + webview DOM testing using a combination of `Appium` (for native UI) and `Playwright` (for in‑webview DOM interactions)?
- Potential alternatives or other suggestions?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.