Bilan : l'état prêt s'efface quand il se ferme ; le test du match attend le bilan visible
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
663ef35b51
commit
f2417097f9
@@ -336,6 +336,7 @@ export function createSummaryView(options: SummaryViewOptions): SummaryView {
|
||||
if (!veil.hidden) {
|
||||
veil.hidden = true;
|
||||
panel.replaceChildren();
|
||||
delete panel.dataset.ready;
|
||||
drawn = "";
|
||||
}
|
||||
},
|
||||
|
||||
@@ -288,6 +288,7 @@ for (;;) {
|
||||
if (what === "over") {
|
||||
// Le bilan, une fois l'analyse prête, à la place du panneau.
|
||||
await until("bilan prêt", () =>
|
||||
!document.getElementById("summary-veil").hidden &&
|
||||
document.getElementById("summary")?.dataset.ready === "true", null, 120_000);
|
||||
const title = await page.textContent("#summary-title");
|
||||
const reading = await page.textContent("#summary-reading");
|
||||
|
||||
Reference in New Issue
Block a user