diff --git a/app/cypress.config.ts b/app/cypress.config.ts index 78d8f55dc..eff064847 100644 --- a/app/cypress.config.ts +++ b/app/cypress.config.ts @@ -46,5 +46,7 @@ export default defineConfig({ framework: "svelte", bundler: "vite" } - } + }, + viewportHeight: 1080, + viewportWidth: 1920 }); diff --git a/app/cypress/e2e/tutorsReader.cy.ts b/app/cypress/e2e/tutorsReader.cy.ts index 2ff594c7c..eb6b9bbbe 100644 --- a/app/cypress/e2e/tutorsReader.cy.ts +++ b/app/cypress/e2e/tutorsReader.cy.ts @@ -11,8 +11,6 @@ describe("Tutors Reader: Loading the JSON fixture", function () { }); beforeEach("Check: Define the dimensions of the screen being used", function () { - //This defines the dimensions of the screen - cy.viewport(1440, 1440); cy.visit(`${Cypress.config().baseUrl}/course/tutors-cypress-testing`); });