Repository navigation
Close the gaps of the browser test harness - #192
Conversation
|
Review by a fresh agent on the diff and #52. It found six real problems, three of which let the target check pass what it should flag; all are changed:
The review found the motion check, the 3:1 formula and the CI's red row ( After the changes (Chromium, local): the target-size samples 15 of 15; every class that measures targets, 633 rows: 628 passed, and the 5 that failed were the three breadcrumb rows (fixed by point 2, then 24 of 24) and two timing rows that passed alone (the |
#52 listed what the C0 harness could certify wrongly. Most items were fixed when #50 merged (1167121), but none was ticked. A fresh agent checked each item against
main, without my notes, and tried to break it. This pull request closes what it found partly done, plus the residual gaps it showed.The items
OpenAsyncrequiresresponse.Ok;OpenRejectsAMissingRoute. Here: the final address must be the one asked for (a redirect to another page fails), and a path's own query is extended instead of being broken (entry?id=x?density=compactgave HTTP 200 "Entry not found"). TestsOpenExtendsTheQueryOfThePath,OpenRejectsAPageInAnotherDensityConfiguredListMustSelectAtLeastOneModeTargetSizeMeasuresWhatAClippingAncestorLeaves,…TheRowOfAnOpenTreeItem,…ProbesAControlWithAnEmptyBoxmenuitemcheckbox,menuitemradio,comboboxandcontenteditable, and nothing that is not drawn (a link in a closeddetailswas measured before). TestTargetSizeChecksMenuItemsThatAreNotButtonsLabelledByWinsOverAriaLabelOnTheKeyboardStopKeyboardDoesNotShowAnIndicatorThatCannotBeSeen(a 2 % ring). Three tests sampled the wrapper's border, where the ring covers grey (1.73:1); they now sample the ring on the background (x = -1). The background-only sample uses navy instead of gold, which was 1.4:1MotionFailsOnATransitionThatWaitsForItsDelaygetAnimations()is back, for animations and transitions of a property that moves or resizes: a pseudo-element, a travellingbackground-position, a spinner in steps. Colour and opacity are still not motion. TestMotionFailsOnMovementThatNoBoxShows(three cases)test-startup.mjs artifacts. Here: the nightly workflow runstest-startup.mjsASPNETCORE_*,Kestrel__*,Logging__*, and the environment, addresses, content root, hosting startup and startup hooks ofDOTNET_*). New casesconsoleandkestrelintest-startup.mjsLogging__Console__LogLevel__Default=Warningand the JSON formatter made a healthy gallery time out (shown: 60 s timeout before the change, pass after). Fixed by the scrub aboveAlso here
DOTNET_configuration, and a startup case that fails on every system.EntryEditorTests.OverlaysHaveTheirTransitionsAndNothingMovesWhenMotionIsReducedwas the router-heading race of The schedule popover test can lose focus to the router's heading #182. The entry editor tests that used focus or keys right after opening a page (eight) now wait for the heading first, as Wait for the heading focus before the schedule popover test #183 did.Left as they are, with the reason
--minimum-expected-tests 1does not help: skipped rows count. CI's parts select whole namespaces in all three modes, so no CI job can skip everything. Not changed.page.GotoAsyncthemselves (about ten, for markup they set up) skipOpenAsync's checks by design.Checks
dotnet build -c Release -warnaserror: 0 warnings, 0 errors. Component tests: 797 passed.HelperFaultTests,KeyboardIndicatorTests,HarnessGuardTests,WcagSamples), 87 of 87 in each.node tests/FluentCMS.Components.Browser/test-startup.mjs console|kestrel|environment|logging: all pass.consoletimed out before the change.EntryEditorTests33 of 33.:focusthat matched two elements, a Shift+Tab walk). Two of them also failed onmainbefore this branch; none is a check this pull request changes. They are Three Firefox rows meet the router's heading focus or read a pixel outside the window #193.Closes #52