From b5a904354a980091b9c1e33a2463699cdcbe4cbf Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 21 Jun 2024 11:24:28 +0530 Subject: [PATCH] test: fix lesson content --- cypress/e2e/course_creation.cy.js | 7 ++++--- lms/public/frontend/index.html | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/cypress/e2e/course_creation.cy.js b/cypress/e2e/course_creation.cy.js index 63d62436..33f6eee9 100644 --- a/cypress/e2e/course_creation.cy.js +++ b/cypress/e2e/course_creation.cy.js @@ -113,9 +113,6 @@ describe("Course Creation", () => { // View Lesson cy.url().should("include", "/learn/1-1"); cy.get("div").contains("Test Lesson"); - cy.get("div").contains( - "This is an extremely big paragraph that is meant to test the UI. This is a very long paragraph. It contains more than once sentence. Its meant to be this long as this is a UI test. Its unbearably long and I'm not sure why I'm typing this much. I'm just going to keep typing until I feel like its long enough. I think its long enough now. I'm going to stop typing now. " - ); cy.get("video") .should("be.visible") @@ -123,6 +120,10 @@ describe("Course Creation", () => { .invoke("attr", "src") .should("include", "/files/Youtube"); + cy.get("div").contains( + "This is an extremely big paragraph that is meant to test the UI. This is a very long paragraph. It contains more than once sentence. Its meant to be this long as this is a UI test. Its unbearably long and I'm not sure why I'm typing this much. I'm just going to keep typing until I feel like its long enough. I think its long enough now. I'm going to stop typing now." + ); + // Add Discussion cy.button("New Question").click(); cy.wait(500); diff --git a/lms/public/frontend/index.html b/lms/public/frontend/index.html index 172e5935..67e382c8 100644 --- a/lms/public/frontend/index.html +++ b/lms/public/frontend/index.html @@ -15,10 +15,10 @@ - - + + - +