From 4b26a0c6656f594586492d07fd5ea83691a00ce9 Mon Sep 17 00:00:00 2001 From: mahula Date: Wed, 7 Jun 2023 11:48:52 +0200 Subject: [PATCH] remove async from step definition file --- .../Post.Create/I_choose_{string}_as_the_title.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/step_definitions/Post.Create/I_choose_{string}_as_the_title.js b/cypress/support/step_definitions/Post.Create/I_choose_{string}_as_the_title.js index a5a292a0c..fc57b23a5 100644 --- a/cypress/support/step_definitions/Post.Create/I_choose_{string}_as_the_title.js +++ b/cypress/support/step_definitions/Post.Create/I_choose_{string}_as_the_title.js @@ -1,6 +1,6 @@ import { When } from "@badeball/cypress-cucumber-preprocessor"; -When("I choose {string} as the title", async title => { +When("I choose {string} as the title", title => { const lastPost = {} lastPost.title = title.replace("\n", " "); cy.task('pushValue', { name: 'lastPost', value: lastPost })