Skip to content

Commit

Permalink
bcgov#1527 Updated submission status visibility check
Browse files Browse the repository at this point in the history
  • Loading branch information
nimya-aot committed Oct 16, 2024
1 parent 95435f0 commit f306b46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ it('Verify draft submission', () => {
cy.location('pathname').should('eq', `/${depEnv}/form/success`);
cy.contains('h1', 'Your form has been submitted successfully');
cy.get('.mt-6 > :nth-child(1) > .v-btn > .v-btn__content > span').click();
//cy.get('div > .bg-primary').click();
cy.get('.v-data-table__tr > :nth-child(4)').contains('SUBMITTED');

cy.get('.v-data-table__tr > :nth-child(4)').contains('SUBMITTED').should('not.exist');
//Delete form after test run
cy.visit(`/${depEnv}/form/manage?f=${arrayValues[0]}`);
cy.waitForLoad();
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/cypress/e2e/form-submission-export.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ describe("Form Designer", () => {
cy.get('.v-card-actions > .flex-container > .text-textLink').should('be.enabled');
cy.get('.v-card-actions > .flex-container > .text-textLink').click();
cy.get('.mdi-printer').click();
cy.get('#file-input-submit').click();
cy.get('#file-input-submit').click({force: true});
// Verify cdogs template uplaod success message
cy.get('body').click(0,0);
cy.wait(2000);
Expand Down

0 comments on commit f306b46

Please sign in to comment.