fix: ui test button label

This commit is contained in:
Jannat Patel
2024-10-08 10:14:04 +05:30
parent 93061194bb
commit ba78a15a1f

View File

@@ -5,7 +5,7 @@ describe("Course Creation", () => {
cy.visit("/lms/courses");
// Create a course
cy.get("a").contains("New Course").click();
cy.get("a").contains("New").click();
cy.wait(1000);
cy.url().should("include", "/courses/new/edit");