Skip to content

Commit

Permalink
Add the markdown to be computed immediately and give some time to com…
Browse files Browse the repository at this point in the history
…pute it
  • Loading branch information
stratoula committed Sep 15, 2020
1 parent c9a6b45 commit a63d497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/page_objects/visual_builder_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit a63d497

Please sign in to comment.