PassFailTestWorkerUpdate: {
    defectId?: number | null;
    failColor?: string;
    failLabel?: string;
    naColor?: string;
    naLabel?: string;
    ncuOnFailure?: number;
    onlyShowIfMatchesPart?: boolean;
    partOverrideId?: number | null;
    passColor?: string;
    passLabel?: string;
    sampleSize?: number;
    showNA?: boolean;
    value?: PassFailType | null;
} & DataTestWorkerUpdate

Type declaration

  • OptionaldefectId?: number | null

    Change the defect to record when this test is marked as 'fail'.

    Expects the ID of the defect.

    Use null to unset the defect.

  • OptionalfailColor?: string

    Change color of the fail button.

  • OptionalfailLabel?: string

    Change the label for the fail button.

  • OptionalnaColor?: string

    Change color of the N/A button.

  • OptionalnaLabel?: string

    Change the label for the N/A button.

  • OptionalncuOnFailure?: number

    Change how many non-conforming units will be tracked on fail.

  • OptionalonlyShowIfMatchesPart?: boolean

    Change whether this test should only be displayed if the part in the test's context contains the defect set on this test.

  • OptionalpartOverrideId?: number | null

    Change the part to use for this test.

    Expects the ID of the part.

    null to unset the part override.

  • OptionalpassColor?: string

    Change the color of the pass button.

  • OptionalpassLabel?: string

    Change the label for the pass button.

  • OptionalsampleSize?: number

    Change the sample size to track with this test.

  • OptionalshowNA?: boolean

    Change whether or not to show the N/A button.

  • Optionalvalue?: PassFailType | null

    Change the currently selected option.