hunk.code_window:                     } else if (expiresInResponse != null) {
                           expiresAt = issuedAt.plusSeconds(Long.valueOf((Integer) expiresInResponse));
                       }
                       authenticationResponse.setExpiresAt(expiresAt);
                       authenticationResponse.setIssuedAt(issuedAt);
                       authenticationResponse.setToken(String.valueOf(mappedResponse.get(Authentication.ACCESS_TOKEN)));
                       oAuth2.setAuthenticationResponse(authenticationResponse);
  
hunk.labels: keep replace keep keep keep keep keep
hunk.after_edit:                         expiresAt = issuedAt.plusSeconds(Long.parseLong(String.valueOf(expiresInResponse)));
  
hunk.file_path: app/server/appsmith-plugins/restApiPlugin/src/main/java/com/external/connections/OAuth2ClientCredentials.java
hunk.type: replace
file: /// <reference types="Cypress" />
  
  import homePage from "../../../../locators/HomePage";
  
  describe("Check if org has user icons on homepage", function() {
    let orgid;
    let newOrganizationName;
  
    it("create org and check if user icons exists in that org on homepage", function() {
      cy.NavigateToHome();
      cy.generateUUID().then((uid) => {
        orgid = uid;
        localStorage.setItem("OrgName", orgid);
        cy.createOrg();
        cy.wait("@createOrg").then((interception) => {
          newOrganizationName = interception.response.body.data.name;
          cy.renameOrg(newOrganizationName, orgid);
          cy.get(homePage.orgList.concat(orgid).concat(")"))
            .scrollIntoView()
            .should("be.visible")
            .within(() => {
              cy.get(homePage.shareUserIcons)
                .first()
                .should("be.visible");
            });
        });
      });
      cy.LogOut();
    });
  });
  