From fad596eb468191bd8119e5e98f3610c1df895e9f Mon Sep 17 00:00:00 2001 From: njochens <62465088+njochens@users.noreply.github.com> Date: Wed, 31 May 2023 12:25:31 +0200 Subject: [PATCH] Update cypress_test.cy.js Signed-off-by: njochens <62465088+njochens@users.noreply.github.com> --- Explorer/cypress/e2e/cypress_test.cy.js | 16 ---------------- 1 file changed, 16 deletions(-) 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"); - }); -});