remove async from step definition file

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

View File

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