Circus
    Preparing search index...

    Interface IZCircusWaitOptions

    Represents options for waits.

    interface IZCircusWaitOptions {
        debounce: number;
        description?: string;
        timeout: number;
    }
    Index

    Properties

    debounce: number

    The amount of time to wait before the first check.

    This is a bit different than the check polling, since it is useful for waiting for things that happen outside the control of the tester. For example, animations may run for 1 second before your component is really ready to be interacted with. Your wait may say it's ready because it found the element it was looking for, but if it is animating, certain child components may be out of bounds or non-interactive.

    description?: string

    The user friendly description for what is being awaited for.

    timeout: number

    The amount of time to wait before the wait option fails.