Skip to content

Our .KMZ fixture files are not available in Browserstack build #977

Description

@akmalmzamri

We have a few tests that validate our file upload function. It supports several extensions, including .zip, .json, and .kml. However, the build cannot seems to find the .kml file on Browserstack. It works fine locally.

This is how we load it

// Programatically upload the file
cy.fixture(`../fixtures/files/${data.fileName}`, null).as("file");
cy.get("#file-uploader").selectFile("@file", {
  force: true,
});

and this is the error message printed in Browserstack log

A fixture file could not be found at any of the following paths: > cypress\fixtures\files\Polygon.kmz > cypress\fixtures\files\Polygon.kmz.[ext] Cypress looked for these file extensions at the provided path: > .json, .js, .coffee, .html, .txt, .csv, .png, .jpg, .jpeg, .gif, .tif, .tiff, .zip Provide a path to an existing fixture file.

I'm wondering if this extension is blocked by Browserstack?

Here's the deps versions

cypress_version: 13.15.0
browserstack-cypress-cli: 1.32.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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