test: increase wait time when lesson is opened
This commit is contained in:
@@ -13,6 +13,6 @@ module.exports = defineConfig({
|
|||||||
openMode: 0,
|
openMode: 0,
|
||||||
},
|
},
|
||||||
e2e: {
|
e2e: {
|
||||||
baseUrl: "http://pyp:8000",
|
baseUrl: "http://test_site_ui:8000",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ describe("Course Creation", () => {
|
|||||||
cy.get("[id^=headlessui-disclosure-panel-").within(() => {
|
cy.get("[id^=headlessui-disclosure-panel-").within(() => {
|
||||||
cy.get("div").contains("Test Lesson").click();
|
cy.get("div").contains("Test Lesson").click();
|
||||||
});
|
});
|
||||||
cy.wait(1000);
|
cy.wait(3000);
|
||||||
|
|
||||||
// View Lesson
|
// View Lesson
|
||||||
cy.url().should("include", "/learn/1-1");
|
cy.url().should("include", "/learn/1-1");
|
||||||
|
|||||||
Reference in New Issue
Block a user