mirror of
https://github.com/frappe/lms.git
synced 2026-05-02 05:29:32 +03:00
test: click on dropdown option to open course or batch form
This commit is contained in:
@@ -52,6 +52,7 @@ describe("Batch Creation", () => {
|
||||
|
||||
// Create a batch
|
||||
cy.get("button").contains("Create").click();
|
||||
cy.get("span").contains("New Batch").click();
|
||||
cy.wait(500);
|
||||
cy.url().should("include", "/batches/new/edit");
|
||||
cy.get("label").contains("Title").type("Test Batch");
|
||||
|
||||
@@ -9,6 +9,7 @@ describe("Course Creation", () => {
|
||||
|
||||
// Create a course
|
||||
cy.get("button").contains("Create").click();
|
||||
cy.get("span").contains("New Course").click();
|
||||
cy.wait(500);
|
||||
cy.url().should("include", "/courses/new/edit");
|
||||
|
||||
|
||||
+3
-4
@@ -2994,10 +2994,9 @@ fraction.js@^5.3.4:
|
||||
resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-5.3.4.tgz#8c0fcc6a9908262df4ed197427bdeef563e0699a"
|
||||
integrity sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==
|
||||
|
||||
frappe-ui@^0.1.215:
|
||||
version "0.1.215"
|
||||
resolved "https://registry.yarnpkg.com/frappe-ui/-/frappe-ui-0.1.215.tgz#d673317ed8f70d98783640f8d1dff6cd730556ad"
|
||||
integrity sha512-htCYHfVZqZDCBVpEUw6RrM4AS2IyqLYfM3yabUwzc9hWIO+/J5XeSrij+nYtxgIweZOv/YjB3m/K2kjuEHOeXA==
|
||||
"frappe-ui@github:frappe/frappe-ui#4e41310c650e0be9957731a8d26cced97d55e709":
|
||||
version "0.1.213"
|
||||
resolved "https://codeload.github.com/frappe/frappe-ui/tar.gz/4e41310c650e0be9957731a8d26cced97d55e709"
|
||||
dependencies:
|
||||
"@floating-ui/vue" "^1.1.6"
|
||||
"@headlessui/vue" "^1.7.14"
|
||||
|
||||
Reference in New Issue
Block a user