From a63d497de9dc3d013376a020378c03f6d1f5f31b Mon Sep 17 00:00:00 2001 From: Stratoula Kalafateli Date: Tue, 15 Sep 2020 10:21:40 +0300 Subject: [PATCH] Add the markdown to be computed immediately and give some time to compute it --- test/functional/page_objects/visual_builder_page.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/page_objects/visual_builder_page.ts b/test/functional/page_objects/visual_builder_page.ts index a95d535281fa3..742d8ecd3771b 100644 --- a/test/functional/page_objects/visual_builder_page.ts +++ b/test/functional/page_objects/visual_builder_page.ts @@ -130,8 +130,8 @@ export function VisualBuilderPageProvider({ getService, getPageObjects }: FtrPro public async enterMarkdown(markdown: string) { const input = await find.byCssSelector('.tvbMarkdownEditor__editor textarea'); await this.clearMarkdown(); - await input.type(markdown, { charByChar: true }); - await PageObjects.visChart.waitForVisualizationRenderingStabilized(); + await input.type(markdown); + await PageObjects.common.sleep(3000); } public async clearMarkdown() {