From 497e4480887eb3dba9c5b1fdabe7e751cdcbdec3 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 --- .../step_definitions/Post.Comment/I_comment_the_following.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/step_definitions/Post.Comment/I_comment_the_following.js b/cypress/support/step_definitions/Post.Comment/I_comment_the_following.js index 5a64ded50..495075b60 100644 --- a/cypress/support/step_definitions/Post.Comment/I_comment_the_following.js +++ b/cypress/support/step_definitions/Post.Comment/I_comment_the_following.js @@ -1,6 +1,6 @@ import { When } from "@badeball/cypress-cucumber-preprocessor"; -When("I comment the following:", async text => { +When("I comment the following:", text => { const comment = text.replace("\n", " ") cy.task('pushValue', { name: 'lastComment', value: comment }) cy.get(".editor .ProseMirror").type(comment);