Repository navigation
test: read #6641's finding kinds in four browser tests - #6656
Merged
Merged
Conversation
#6641 made a refusal's words end with the guarantee it keeps, made `gate-failed` a not-read finding (the gate counts as not run) rather than a refusal, and added `ids-taken-by-events`, which refuses an element id the log already gives an event. It updated the tests it edited by node id, but four browser tests outside them failed on main: - `test_browser_like_console_words_remain_console_diagnostics` compared `str(problem)`, which now carries the guarantee. It compares `problem.said`, the console's own words. - `test_an_async_reading_probe_is_refused_instead_of_awaited` and `test_a_rendering_turn_is_polled_from_the_driver` read `.failures`, which holds only refusing findings. They now read the unread findings and assert the gate refused nothing. The first is renamed `..._leaves_the_page_unread_instead_of_awaited`. - `test_the_report_feed_reads_reports_by_typed_target` gave a thread the widget's id `ag-wren` on purpose, so its later stamp was refused. The thread is now `c-wren`. A thread target spelled `ag-wren` still reads none of the widget's reports. No product behavior changes. Refs #6655
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.
#6641 changed three things about findings without updating four browser tests outside the set it ran by node id. Those four failed in push run 44879949277 on
8faa6acf1. This PR updates them to read the new finding kinds. Product code is unchanged.The three changes, all deliberate in #6641's audit:
gate-failedis now a not-read finding rather than a refusal: the gate counts as not run.ids-taken-by-eventscheck refuses an element id the log already gives an event.test_browser_like_console_words_remain_console_diagnosticsstr(problem)now ends with "(fails the check so that …)"problem.said, the console's words, which is what the test protectstest_an_async_reading_probe_is_refused_instead_of_awaited.failureskeeps only refusing findings, so the probe'sgate-faileddropped out…_leaves_the_page_unread_instead_of_awaitedtest_a_rendering_turn_is_polled_from_the_drivertest_the_report_feed_reads_reports_by_typed_targetag-wrenon purpose, so the test's later stamp was refusedc-wren; a{kind: 'thread', id: 'ag-wren'}target still reads none of the widget's reports, and a bare id is still refusedVerification: all four pass on the commit before #6641 (
67718fd12). They fail onmainat7abe4c3d9with the same errors as the CI run, and pass on this branch.Refs #6655 — automated triage