fix(qa): verify private investor continuity across dossiers

This commit is contained in:
2026-11-20 19:20:03 +02:00
parent e299afdae4
commit 15e15d0bfd
13 changed files with 563 additions and 16 deletions
@@ -188,6 +188,15 @@ test('summary focus and click wait for the native open toggle; closing a stage d
};
try {
let tree = render();
const action = new Target(false);
tree.props.children.props.onPointerDownCapture();
tree.props.children.props.onFocusCapture({ target: action });
assert.equal(
render().props.value.active,
null,
'pointer focus must not insert help before the action receives its click',
);
tree.props.children.props.onPointerUpCapture();
const summary = new Target(true);
tree.props.children.props.onFocusCapture({ target: summary });
tree.props.children.props.onClickCapture({ target: summary });
@@ -200,6 +209,12 @@ test('summary focus and click wait for the native open toggle; closing a stage d
target: new Disclosure(false, false),
});
assert.equal(render().props.value.active, null);
tree.props.children.props.onClickCapture({ target: action });
assert.equal(
render().props.value.active,
'S02',
'the completed click may open automatic help',
);
listeners.toggle({
target: new Disclosure(false, true),
});