mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fix file path
This commit is contained in:
parent
d42cac30c8
commit
f44dda4127
@ -5,7 +5,7 @@ Then("I should be able to change my profile picture", () => {
|
|||||||
|
|
||||||
cy.fixture(avatarUpload, "base64").then(fileContent => {
|
cy.fixture(avatarUpload, "base64").then(fileContent => {
|
||||||
cy.get("#customdropzone").selectFile(
|
cy.get("#customdropzone").selectFile(
|
||||||
{ contents: `../../../fixtures/${avatarUpload}`, fileName: avatarUpload, mimeType: "image/png" },
|
{ contents: `cypress/fixtures/${avatarUpload}`, fileName: avatarUpload, mimeType: "image/png" },
|
||||||
{ action: "drag-drop" }
|
{ action: "drag-drop" }
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user