mirror of
https://github.com/frappe/lms.git
synced 2026-04-19 22:52:29 +03:00
test: click the div of the test course and not the first card
(cherry picked from commit cb273685a7)
This commit is contained in:
@@ -115,7 +115,7 @@ describe("Course Creation", () => {
|
||||
.invoke("css", "background-image")
|
||||
.should("include", "/files/profile");
|
||||
});
|
||||
cy.get(".grid a:first").click();
|
||||
cy.get("div").contains("Test Course").closest("a").click();
|
||||
cy.url().should("include", "/lms/courses/test-course");
|
||||
cy.get("div").contains("Test Course");
|
||||
cy.get("div").contains("Test Course Short Introduction to test the UI");
|
||||
|
||||
Reference in New Issue
Block a user