test(e2e): assert audit-log page growth instead of exact count

This commit is contained in:
ephraimduncan
2026-07-02 12:25:36 +00:00
parent 92f3b3ffc4
commit 847244ccda
@@ -166,7 +166,9 @@ test.describe('Document audit log embedding', () => {
await expect(async () => {
const signedPageCount = await getFirstEnvelopeItemSignedPageCount(envelope.id, signer.token);
expect(signedPageCount).toBe(baselinePageCount + 1);
// The audit log may span multiple pages depending on the number of
// audit events — assert growth rather than an exact page count.
expect(signedPageCount).toBeGreaterThan(baselinePageCount);
}).toPass();
});