FileTestWorkerUpdate: {
    fileId?: number;
    openInNewTab?: boolean;
    orientation?: FileOrientationType;
    type?: FileType;
    url?: string;
} & VisualTestWorkerUpdate

Type declaration

  • OptionalfileId?: number

    Change the file bound to the test with a numeric ID. If type is set to 'url', setting this property won't result in visible changes.

  • OptionalopenInNewTab?: boolean

    Change whether the file opens in a new tab or displays inline.

    If the file test has finished loading, modifying this property will not have any effect until the sub-inspection is loaded again.

  • Optionalorientation?: FileOrientationType

    Change the orientation of a PDF.

  • Optionaltype?: FileType

    Change whether to load a web page or load a file from GS.

  • Optionalurl?: string

    Change the URL of the url to load. If type is set to 'file', setting this property won't result in visible changes.