From f44dda41279e23d90b316652c1f6fbc059281119 Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 11 Jul 2023 10:30:20 +0200 Subject: [PATCH] fix file path --- .../I_should_be_able_to_change_my_profile_picture.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d01939cc6..da8eb2e54 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( - { contents: `../../../fixtures/${avatarUpload}`, fileName: avatarUpload, mimeType: "image/png" }, + { contents: `cypress/fixtures/${avatarUpload}`, fileName: avatarUpload, mimeType: "image/png" }, { action: "drag-drop" } ); });