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..33f6eee9 100644
--- a/cypress/e2e/course_creation.cy.js
+++ b/cypress/e2e/course_creation.cy.js
@@ -108,14 +108,11 @@ 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");
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/frontend/src/components/AudioBlock.vue b/frontend/src/components/AudioBlock.vue
new file mode 100644
index 00000000..36303b7f
--- /dev/null
+++ b/frontend/src/components/AudioBlock.vue
@@ -0,0 +1,137 @@
+
+