fix file path

This commit is contained in:
mahula 2023-07-11 10:30:20 +02:00
parent d42cac30c8
commit f44dda4127

View File

@ -5,7 +5,7 @@ Then("I should be able to change my profile picture", () => {
cy.fixture(avatarUpload, "base64").then(fileContent => {
cy.get("#customdropzone").selectFile(
{ contents: `../../../fixtures/${avatarUpload}`, fileName: avatarUpload, mimeType: "image/png" },
{ contents: `cypress/fixtures/${avatarUpload}`, fileName: avatarUpload, mimeType: "image/png" },
{ action: "drag-drop" }
);
});