Skip to content

Commit

Permalink
Fixed some CI/Cd issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nimya-aot committed Oct 4, 2024
1 parent 984d68d commit ff5e354
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,10 @@ it('Verify draft submission', () => {
cy.get(':nth-child(2) > :nth-child(4) > .v-btn > .v-btn__content > .mdi-minus').click();
cy.get('[data-test="continue-btn-continue"] > .v-btn__content > span').click();
cy.get('tbody > :nth-child(2) > :nth-child(1)').should('not.exist');
cy.wait(4000);

cy.get('.v-card-actions > .v-btn > .v-btn__content > span').click();
cy.waitForLoad();
// Edit draft submission
cy.get('.mt-6 > :nth-child(1) > .v-btn > .v-btn__content > span').click();
cy.get('.mdi-pencil').click();
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/cypress/e2e/form-manage-form.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ describe('Form Designer', () => {
const rem=$el[0];
const rem1=$el[1];
cy.get(rem).contains('2026-06-17').should('exist');
cy.get(rem1).contains('2026-06-21').should('exist');


});
//Repeat period
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ describe('Form Designer', () => {
cy.get(':nth-child(10) > span').should('not.exist');// verify Submitter role is not present on table view
// Verify member is added with proper roles
cy.get('[data-test="ApproverRoleCheckbox"]').should('be.visible');
cy.get('[data-test="ReviewerRoleCheckbox"]').should('be.visible');
cy.get('[data-test="ReviewerRoleCheckbox"]').should('exist');
cy.get('[data-test="TeamManagerRoleCheckbox"]').should('be.visible');
cy.get('[data-test="ApproverRoleCheckbox"]').click({multiple:true,force:true});
cy.visit(`/${depEnv}/form/manage?f=${arrayValues[0]}`);
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/cypress/e2e/form-submission-public.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ describe('Form Designer', () => {
cy.get(':nth-child(10) > span').should('not.exist');// verify Submitter role is not present on table view
// Verify member is added with proper roles
cy.get('[data-test="ApproverRoleCheckbox"]').should('be.visible');
cy.get('[data-test="ReviewerRoleCheckbox"]').should('be.visible');
cy.get('[data-test="ReviewerRoleCheckbox"]').should('exist');
cy.get('[data-test="TeamManagerRoleCheckbox"]').should('be.visible');
cy.get('[data-test="ApproverRoleCheckbox"]').click({multiple:true,force:true});
cy.visit(`/${depEnv}/form/manage?f=${arrayValues[0]}`);
Expand Down

0 comments on commit ff5e354

Please sign in to comment.