ci: skip persona form for ui tests
This commit is contained in:
@@ -2,7 +2,10 @@ describe("Course Creation", () => {
|
|||||||
it("creates a new course", () => {
|
it("creates a new course", () => {
|
||||||
cy.login();
|
cy.login();
|
||||||
cy.wait(1000);
|
cy.wait(1000);
|
||||||
cy.visit("/lms/courses");
|
cy.visit("/lms");
|
||||||
|
cy.wait(1000);
|
||||||
|
cy.get("div").contains("Skip").click();
|
||||||
|
cy.wait(1000);
|
||||||
|
|
||||||
// Create a course
|
// Create a course
|
||||||
cy.get("button").contains("New").click();
|
cy.get("button").contains("New").click();
|
||||||
@@ -19,13 +22,6 @@ describe("Course Creation", () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
cy.fixture("profile.png", "base64").then((fileContent) => {
|
cy.fixture("profile.png", "base64").then((fileContent) => {
|
||||||
/* cy.get('input[type="file"]').should("be.hidden").attachFile({
|
|
||||||
fileContent,
|
|
||||||
fileName: "profile.png",
|
|
||||||
mimeType: "image/png",
|
|
||||||
encoding: "base64",
|
|
||||||
}); */
|
|
||||||
|
|
||||||
cy.get("div")
|
cy.get("div")
|
||||||
.contains("Course Image")
|
.contains("Course Image")
|
||||||
.siblings("div")
|
.siblings("div")
|
||||||
|
|||||||
Reference in New Issue
Block a user