From ed7c30057cc84c3174a280d8e2fb2fc11a5df45e Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 21 Jun 2024 10:36:26 +0530 Subject: [PATCH] test: increase wait time when lesson is opened --- cypress.config.js | 2 +- cypress/e2e/course_creation.cy.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress.config.js b/cypress.config.js index 04ebc494..d93eac9e 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -13,6 +13,6 @@ module.exports = defineConfig({ openMode: 0, }, e2e: { - baseUrl: "http://pyp:8000", + baseUrl: "http://test_site_ui:8000", }, }); diff --git a/cypress/e2e/course_creation.cy.js b/cypress/e2e/course_creation.cy.js index 142b2f13..63d62436 100644 --- a/cypress/e2e/course_creation.cy.js +++ b/cypress/e2e/course_creation.cy.js @@ -108,7 +108,7 @@ describe("Course Creation", () => { cy.get("[id^=headlessui-disclosure-panel-").within(() => { cy.get("div").contains("Test Lesson").click(); }); - cy.wait(1000); + cy.wait(3000); // View Lesson cy.url().should("include", "/learn/1-1");