test: update signing order swap to use out-of-bounds extraction

This commit is contained in:
David Nguyen
2026-08-04 18:43:51 +10:00
parent 635332da2c
commit f47c9a7402
@@ -117,7 +117,11 @@ const runRecipientFlow = async (surface: TEnvelopeEditorSurface): Promise<Recipi
await toggleSigningOrder(surface.root, true);
await expect(getSigningOrderInputs(surface.root)).toHaveCount(2);
await setSigningOrderValue(surface.root, 0, 2);
// Typing an existing step number would group the recipients together, so an
// out-of-bounds value (> step count) is used to move the first recipient to
// the end as their own step, swapping the two.
await setSigningOrderValue(surface.root, 0, 3);
await toggleAllowDictateSigners(surface.root, true);