disable waiting for actionability at post creation image dropzone

This commit is contained in:
mahula 2023-07-11 15:00:16 +02:00
parent 5b73dc8e58
commit 82999d377d

View File

@ -10,14 +10,14 @@ Then("I should be able to {string} a teaser image", condition => {
.click() .click()
cy.get("#postdropzone").selectFile( cy.get("#postdropzone").selectFile(
{ contents: `cypress/fixtures/${postTeaserImage}`, fileName: postTeaserImage, mimeType: "image/png" }, { contents: `cypress/fixtures/${postTeaserImage}`, fileName: postTeaserImage, mimeType: "image/png" },
{ action: "drag-drop" } { action: "drag-drop", force: true }
).wait(750); ).wait(750);
break; break;
case "add": case "add":
postTeaserImage = "onourjourney.png" postTeaserImage = "onourjourney.png"
cy.get("#postdropzone").selectFile( cy.get("#postdropzone").selectFile(
{ contents: `cypress/fixtures/${postTeaserImage}`, fileName: postTeaserImage, mimeType: "image/png" }, { contents: `cypress/fixtures/${postTeaserImage}`, fileName: postTeaserImage, mimeType: "image/png" },
{ action: "drag-drop" } { action: "drag-drop", force: true }
).wait(750); ).wait(750);
break; break;
case "remove": case "remove":