diff --git a/cypress/support/step_definitions/UserProfile.Avatar/I_should_be_able_to_change_my_profile_picture.js b/cypress/support/step_definitions/UserProfile.Avatar/I_should_be_able_to_change_my_profile_picture.js index 2ebe686f2..d01939cc6 100644 --- a/cypress/support/step_definitions/UserProfile.Avatar/I_should_be_able_to_change_my_profile_picture.js +++ b/cypress/support/step_definitions/UserProfile.Avatar/I_should_be_able_to_change_my_profile_picture.js @@ -5,7 +5,7 @@ Then("I should be able to change my profile picture", () => { cy.fixture(avatarUpload, "base64").then(fileContent => { cy.get("#customdropzone").selectFile( - { fileName: avatarUpload, mimeType: "image/png" }, + { contents: `../../../fixtures/${avatarUpload}`, fileName: avatarUpload, mimeType: "image/png" }, { action: "drag-drop" } ); });