test: changed CTA labels
This commit is contained in:
@@ -47,7 +47,7 @@ describe("Batch Creation", () => {
|
|||||||
cy.closeOnboardingModal();
|
cy.closeOnboardingModal();
|
||||||
|
|
||||||
// Create a batch
|
// Create a batch
|
||||||
cy.get("button").contains("New").click();
|
cy.get("button").contains("Create").click();
|
||||||
cy.wait(500);
|
cy.wait(500);
|
||||||
cy.url().should("include", "/batches/new/edit");
|
cy.url().should("include", "/batches/new/edit");
|
||||||
cy.get("label").contains("Title").type("Test Batch");
|
cy.get("label").contains("Title").type("Test Batch");
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ describe("Course Creation", () => {
|
|||||||
cy.closeOnboardingModal();
|
cy.closeOnboardingModal();
|
||||||
|
|
||||||
// Create a course
|
// Create a course
|
||||||
cy.get("button").contains("New").click();
|
cy.get("button").contains("Create").click();
|
||||||
cy.wait(500);
|
cy.wait(500);
|
||||||
cy.url().should("include", "/courses/new/edit");
|
cy.url().should("include", "/courses/new/edit");
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
import frappe
|
import frappe
|
||||||
from frappe.desk.page.setup_wizard.setup_wizard import add_all_roles_to
|
from frappe.desk.page.setup_wizard.setup_wizard import add_all_roles_to
|
||||||
from lms.lms.api import give_dicussions_permission
|
from lms.lms.api import give_discussions_permission
|
||||||
|
|
||||||
|
|
||||||
def after_install():
|
def after_install():
|
||||||
create_batch_source()
|
create_batch_source()
|
||||||
give_dicussions_permission()
|
give_discussions_permission()
|
||||||
|
|
||||||
|
|
||||||
def after_sync():
|
def after_sync():
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import frappe
|
import frappe
|
||||||
from lms.lms.api import give_dicussions_permission
|
from lms.lms.api import give_discussions_permission
|
||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
give_dicussions_permission()
|
give_discussions_permission()
|
||||||
|
|||||||
Reference in New Issue
Block a user