Phone tests: expired sign-ins, evidence, and probes that only judge what can be tapped
A saved sign-in whose session expired landed on the login page and every route its persona opened timed out; both the desktop and the phone sign-in now see that and sign in afresh. A route that fails to open leaves its screenshot and text, as a failed sign-in does. A target's probes stay inside what its scroller shows (a card half under the feed's top edge was failed for the part out of sight), a failed probe names what it hit, and the element blamed for sideways scroll is never one inside a nested clipping box, which can't widen the page. The desktop guard reads its probe sizes as a list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LsXgEaXee4GCU1hwYgPJXw
This commit is contained in:
1 parent
63f2517f5b
commit
ffd4acd3d0
4 files changed
+92
-20
No files matched your search
@@ -25,7 +25,15 @@ namespace decePubClient.E2E.Mobile
|
||||
var route = Route.Get(slug);
|
||||
var persona = route.Persona();
|
||||
await using var session = route.SignedOut ? await browser.Open(phone: phone) : await SignIn.As(browser, persona, phone);
|
||||
await route.Open(session.Page, persona);
|
||||
try
|
||||
{
|
||||
await route.Open(session.Page, persona);
|
||||
}
|
||||
catch (Exception e) when (e is not Xunit.Sdk.SkipException)
|
||||
{
|
||||
await SignIn.Evidence(session.Page, $"open-{phone.Key}-{slug}");
|
||||
throw;
|
||||
}
|
||||
var report = await Fit.Sweep(session.Page, phone, slug, route.Screens);
|
||||
if (!route.Gating)
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user