From 14cf0c9ae189aa29d3dc4e86db8726eb96705826 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Mon, 10 Jul 2023 14:56:36 +0530 Subject: [PATCH] test: fix flaky course creation test --- cypress/e2e/course_creation.cy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/e2e/course_creation.cy.js b/cypress/e2e/course_creation.cy.js index a76bdf8b..3aaf6155 100644 --- a/cypress/e2e/course_creation.cy.js +++ b/cypress/e2e/course_creation.cy.js @@ -21,6 +21,7 @@ describe("Course Creation", () => { cy.wait(1000); cy.get(".edit-header .btn-add-chapter").click(); + cy.wait(500); cy.get("#chapter-title").type("Test Chapter"); cy.get("#chapter-description").type("Test Chapter Description"); cy.button("Save").click();