From 4c9321f20a701d474a075675efcd528e8a8ae4e9 Mon Sep 17 00:00:00 2001 From: Morgan Love Date: Wed, 3 Mar 2021 11:10:35 -0800 Subject: [PATCH] cleanup --- .../cypress/end-to-end/ballot-comparison-failure-cases.spec.js | 2 +- client/cypress/end-to-end/ballot-comparison-happy-path.spec.js | 2 +- client/cypress/end-to-end/ballot-polling-happy-path.spec.js | 2 +- .../cypress/end-to-end/batch-comparison-failure-cases.spec.js | 2 +- client/cypress/end-to-end/batch-comparison-happy-path.spec.js | 2 +- client/cypress/plugins/index.js | 1 - 6 files changed, 5 insertions(+), 6 deletions(-) diff --git a/client/cypress/end-to-end/ballot-comparison-failure-cases.spec.js b/client/cypress/end-to-end/ballot-comparison-failure-cases.spec.js index b606805f1..8f9b4825d 100644 --- a/client/cypress/end-to-end/ballot-comparison-failure-cases.spec.js +++ b/client/cypress/end-to-end/ballot-comparison-failure-cases.spec.js @@ -17,7 +17,7 @@ describe('Ballot Comparison Failure Cases', () => { cy.get('input[value="BALLOT_COMPARISON"]').check({ force: true }) cy.findByText("Create Audit").click() cy.contains("Audit Setup") - cy.viewport(1000,720) + cy.viewport(1000,2000) // upload invalid jurisdiction filesheet cy.fixture('CSVs/jurisdiction/sample_jurisdiction_filesheet_jurisdiction_col_error.csv').then(fileContent => { diff --git a/client/cypress/end-to-end/ballot-comparison-happy-path.spec.js b/client/cypress/end-to-end/ballot-comparison-happy-path.spec.js index f485c12d2..1a9640151 100644 --- a/client/cypress/end-to-end/ballot-comparison-happy-path.spec.js +++ b/client/cypress/end-to-end/ballot-comparison-happy-path.spec.js @@ -16,7 +16,7 @@ describe('Ballot Comparison', () => { cy.get('input[name=auditName]').type(`TestAudit${id}`) cy.get('input[value="BALLOT_COMPARISON"]').check({ force: true }) cy.findByText("Create Audit").click() - cy.viewport(1000,720) + cy.viewport(1000,2000) cy.contains("Audit Setup") cy.fixture('CSVs/jurisdiction/sample_jurisdiction_filesheet.csv').then(fileContent => { cy.get('input[type="file"]').first().attachFile({ diff --git a/client/cypress/end-to-end/ballot-polling-happy-path.spec.js b/client/cypress/end-to-end/ballot-polling-happy-path.spec.js index 2b0f07dad..95f0ec681 100644 --- a/client/cypress/end-to-end/ballot-polling-happy-path.spec.js +++ b/client/cypress/end-to-end/ballot-polling-happy-path.spec.js @@ -17,7 +17,7 @@ describe('Ballot Polling', () => { cy.get('input[value="BALLOT_POLLING"]').check({ force: true }) cy.get('input[value="BRAVO"]').check({ force: true }) cy.findByText('Create Audit').click() - cy.viewport(1000,720) + cy.viewport(1000,2000) cy.contains('Audit Setup') }) diff --git a/client/cypress/end-to-end/batch-comparison-failure-cases.spec.js b/client/cypress/end-to-end/batch-comparison-failure-cases.spec.js index 689ec7ed8..a50a053cf 100644 --- a/client/cypress/end-to-end/batch-comparison-failure-cases.spec.js +++ b/client/cypress/end-to-end/batch-comparison-failure-cases.spec.js @@ -15,7 +15,7 @@ describe('Batch Comparison', () => { cy.get('input[name=auditName]').type(`TestAudit${id}`) cy.get('input[value="BATCH_COMPARISON"]').check({ force: true }) cy.findByText("Create Audit").click() - cy.viewport(1000,720) + cy.viewport(1000,2000) cy.contains("Audit Setup") // upload invalid jurisdiction filesheet diff --git a/client/cypress/end-to-end/batch-comparison-happy-path.spec.js b/client/cypress/end-to-end/batch-comparison-happy-path.spec.js index 58368e5a9..7a8de5747 100644 --- a/client/cypress/end-to-end/batch-comparison-happy-path.spec.js +++ b/client/cypress/end-to-end/batch-comparison-happy-path.spec.js @@ -15,7 +15,7 @@ describe('Batch Comparison', () => { cy.get('input[name=auditName]').type(`TestAudit${id}`) cy.get('input[value="BATCH_COMPARISON"]').check({ force: true }) cy.findByText("Create Audit").click() - cy.viewport(1000,720) + cy.viewport(1000,2000) cy.contains("Audit Setup") cy.fixture('CSVs/jurisdiction/sample_jurisdiction_filesheet.csv').then(fileContent => { cy.get('input[type="file"]').first().attachFile({ diff --git a/client/cypress/plugins/index.js b/client/cypress/plugins/index.js index bdd1ebd7f..2e7048716 100644 --- a/client/cypress/plugins/index.js +++ b/client/cypress/plugins/index.js @@ -42,7 +42,6 @@ const parsePdf = async (pdfName) => { prompt_for_download: false, directory_upgrade: false, } - launchOptions.preferences.default['height'] = 1000 } return launchOptions })