diff --git a/cypress/e2e/external_results_spec/external_result.cy.ts b/cypress/e2e/external_results_spec/external_result.cy.ts index 8a54b3c3d4b..314af792bbb 100644 --- a/cypress/e2e/external_results_spec/external_result.cy.ts +++ b/cypress/e2e/external_results_spec/external_result.cy.ts @@ -43,9 +43,9 @@ describe("Edit Profile Testing", () => { cy.get("div").contains("Import/Export").click(); cy.get("div").contains("Import Results").click(); cy.get("[data-testid=import-file]") - .selectFile("cypress/fixtures/externalresultsample.csv") + .selectFile("cypress/fixtures/externalresultsample.csv", { force: true }) .wait(100); - cy.get("button").contains("Import").click(); + cy.get("#submit").contains("Import").click(); cy.wait("@import").then((interception) => { expect(interception.response.statusCode).to.equal(202); });