remove async from step definition file

This commit is contained in:
mahula 2023-06-07 11:48:52 +02:00
parent 4b26a0c665
commit 497e448088

View File

@ -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);