Skip to content

Commit

Permalink
Fixed issue with export button click
Browse files Browse the repository at this point in the history
  • Loading branch information
nimya-aot committed Dec 2, 2024
1 parent 58cd154 commit 5a5ccf5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/functional/cypress/e2e/form-submission-export.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,18 @@ describe("Form Designer", () => {
cy.get(".mdi-list-box-outline").click();
cy.waitForLoad();
//Export submission files
cy.get(".mdi-download").click({ force: true });
cy.wait(2000);

//Verify submission file name
cy.get("h3").then(($elem) => {
const rem = $elem.text();
cy.log(rem);
const remname = rem + "_submissions.json";
cy.wait(2000);
cy.get(".mdi-download").click({ force: true });
cy.wait(2000);
cy.get(".ml-1").contains(remname);
});

cy.get(':nth-child(2) > .v-col > .v-input > .v-input__control > .v-selection-control-group > :nth-child(2) > .v-label > .radioboxLabelStyle').click();
cy.get('.v-col > .v-input > .v-input__control > .v-field > .v-field__field > .v-field__input').contains('1');
cy.contains('form.submissionId').should('be.visible');
Expand Down

0 comments on commit 5a5ccf5

Please sign in to comment.