Skip to content

Commit

Permalink
change the cypress to use Reusable component
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 committed Apr 2, 2024
1 parent 942dd20 commit 5136ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/external_results_spec/external_result.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe("Edit Profile Testing", () => {
cy.get("[data-testid=import-file]")
.selectFile("cypress/fixtures/externalresultsample.csv", { force: true })
.wait(100);
cy.get("#submit").contains("Import").click();
cy.submitButton("Import");
cy.wait("@import").then((interception) => {
expect(interception.response.statusCode).to.equal(202);
});
Expand Down

0 comments on commit 5136ea8

Please sign in to comment.