FileTestWorkerGet: {
    file?: SingleFile;
    openInNewTab: boolean;
    orientation: FileOrientationType;
    type: FileType;
    url?: string;
} & VisualTestWorkerGet

Type declaration

  • Optionalfile?: SingleFile

    The file bound to this test. This contains metadata about the file, but does not contain the actual file contents. The user listed on the file will only contain the name and id. Only set when the type is set to 'file'

  • openInNewTab: boolean

    Whether to open the file in a new tab or display it inline.

  • orientation: FileOrientationType

    The orientation to use to layout files. Always set, but only applies to PDFs.

  • type: FileType

    The type of the file. Determines whether to load an external web page or to embed an uploaded file.

  • Optionalurl?: string

    The URL of the embedded page to display. Only set if type is set to 'url'.