Skip to content

Commit

Permalink
fix failures in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
YasasRangika committed Jan 11, 2024
1 parent 98518a7 commit f81ccdf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ describe("Gateway Policies", () => {
cy.visit(`publisher/global-policies`, { timeout: Cypress.config().largeTimeout });
cy.get('[data-testid=policy-mapping-edit-button]').click();
cy.get('div[title="Add Header : v1"]').click();
cy.wait(4000);
cy.get('#headerValue', { timeout: Cypress.config().largeTimeout }).click();
cy.get('[data-testid=policy-attached-details-save]').should('be.disabled');
const newText = 'RequestHeaderValueNew';
Expand All @@ -80,6 +81,7 @@ describe("Gateway Policies", () => {
cy.wait(2000);
cy.visit(`publisher/global-policies`, { timeout: Cypress.config().largeTimeout });
cy.get('[data-testid=policy-mapping-edit-button]').click();
cy.wait(4000);
cy.get('div[title="Add Header : v1"]').click();
cy.get('#headerValue', { timeout: Cypress.config().largeTimeout }).click();
cy.get('#headerValue').should('have.value', newText);
Expand Down

0 comments on commit f81ccdf

Please sign in to comment.