test: fix flaky course creation test

This commit is contained in:
Jannat Patel
2023-07-10 14:56:36 +05:30
parent 7d410e9ec8
commit 14cf0c9ae1

View File

@@ -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();