From 5b73dc8e5849a340e8df740ba2308cfc2b1cdbf3 Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 11 Jul 2023 12:33:54 +0200 Subject: [PATCH] fix typo --- .../Post.Images/I_should_be_able_to_{string}_a_teaser_image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/step_definitions/Post.Images/I_should_be_able_to_{string}_a_teaser_image.js b/cypress/support/step_definitions/Post.Images/I_should_be_able_to_{string}_a_teaser_image.js index b57335554..75d1e352d 100644 --- a/cypress/support/step_definitions/Post.Images/I_should_be_able_to_{string}_a_teaser_image.js +++ b/cypress/support/step_definitions/Post.Images/I_should_be_able_to_{string}_a_teaser_image.js @@ -16,7 +16,7 @@ Then("I should be able to {string} a teaser image", condition => { case "add": postTeaserImage = "onourjourney.png" cy.get("#postdropzone").selectFile( - { contents: `cypress/fixtures/${this.postTeaserImage}`, fileName: postTeaserImage, mimeType: "image/png" }, + { contents: `cypress/fixtures/${postTeaserImage}`, fileName: postTeaserImage, mimeType: "image/png" }, { action: "drag-drop" } ).wait(750); break;