Skip to content

Add configurable retry options to assertions #6

@panda-sandeep

Description

@panda-sandeep

Assertions auto-retry once on failure (hardcoded in assertion.ts lines), but there's no way to configure this. Add maxRetries (default 1) and onRetry callback to AssertionOptions. Setting maxRetries: 0 should disable retries. The callback helps users debug flaky assertions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions