diff --git a/Explorer/cypress/e2e/cypress_test.cy.js b/Explorer/cypress/e2e/cypress_test.cy.js index 1916bf6..870d9f2 100644 --- a/Explorer/cypress/e2e/cypress_test.cy.js +++ b/Explorer/cypress/e2e/cypress_test.cy.js @@ -13,19 +13,3 @@ describe("Navigation", () => { cy.get("h1").contains("Cypress Test 2"); }); }); - -import CypressTest1 from "./src/pages/cypress_test/cypress_test_1.tsx"; - -describe("", () => { - it("should render and display expected content", () => { - // Mount the React component for the Cypress Test page - cy.mount(); - - // The new page should contain an h1 with "Cypress Test 1" - cy.get("h1").contains("Cypress Test 1"); - - // Validate that a link with the expected URL is present - // *Following* the link is better suited to an E2E test - cy.get('a[href="/cypress_test/cypress_test_2"]').should("be.visible"); - }); -});