Skip to content

Commit

Permalink
fix: viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
jouwdan committed Sep 6, 2023
1 parent 2b5a60d commit e82c400
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion app/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@ export default defineConfig({
framework: "svelte",
bundler: "vite"
}
}
},
viewportHeight: 1080,
viewportWidth: 1920
});
2 changes: 0 additions & 2 deletions app/cypress/e2e/tutorsReader.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
});

Expand Down

0 comments on commit e82c400

Please sign in to comment.