From 90b53f1665aaf597ff73ea5344779104b7e5d172 Mon Sep 17 00:00:00 2001 From: Christian Darsow Date: Mon, 27 Nov 2023 11:34:39 +0100 Subject: [PATCH] Configure pause after set content --- page-objects/pages/NWSAddEditNewsPage.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/page-objects/pages/NWSAddEditNewsPage.js b/page-objects/pages/NWSAddEditNewsPage.js index 208aa75e..66285771 100644 --- a/page-objects/pages/NWSAddEditNewsPage.js +++ b/page-objects/pages/NWSAddEditNewsPage.js @@ -20,8 +20,7 @@ async function setNewsTitle(newsTitle) { async function setNewsContent(newsContent) { await elementHelpers.click(contentField); - await waitHelpers.waitAndSetValue(contentField, newsContent); - await waitHelpers.wait(1000); + await waitHelpers.waitAndSetValue(contentField, newsContent, 1000); } async function setNewsPublishDate(newsDate) {