hunk.code_window:   flex-basis: ${(props) =>
       props.theme.homePage.leftPane.width +
       props.theme.homePage.leftPane.leftPadding}px;
     padding: 0 0 0 ${(props) => props.theme.homePage.leftPane.leftPadding}px;
   `;
   export const HeaderContainer = styled.div``;
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit:   overflow-y: auto;
     &::-webkit-scrollbar {
       display: none;
     }
  
hunk.file_path: app/client/src/ce/pages/AdminSettings/LeftPane.tsx
hunk.type: add
file: const commonlocators = require("../../../../locators/commonlocators.json");
  const dsl = require("../../../../fixtures/buttonApiDsl.json");
  const widgetsPage = require("../../../../locators/Widgets.json");
  const publishPage = require("../../../../locators/publishWidgetspage.json");
  
  describe("Test Create Api and Bind to Button widget", function() {
    before(() => {
      cy.addDsl(dsl);
    });
  
    it("Test_Add users api and execute api", function() {
      cy.createAndFillApi(this.data.userApi, "/random");
      cy.RunAPI();
    });
  
    it("Call the api without error handling", () => {
      cy.SearchEntityandOpen("Button1");
      cy.get(widgetsPage.toggleOnClick)
        .invoke("attr", "class")
        .then((classes) => {
          if (classes.includes("is-active")) {
            cy.get(widgetsPage.toggleOnClick).click();
          }
        });
      cy.get(widgetsPage.toggleOnClick).click();
  
      cy.get(".t--property-control-onclick").then(($el) => {
        cy.updateCodeInput($el, "{{Api1.run()}}");
      });
  
      cy.PublishtheApp();
  
      cy.wait(3000);
      cy.get("span:contains('Submit')")
        .closest("div")
        .click();
  
      cy.wait("@postExecute").should(
        "have.nested.property",
        "response.body.responseMeta.status",
        200,
      );
  
      cy.get(commonlocators.toastAction)
        .should("have.length", 1)
        .should("contain.text", "failed to execute");
  
      cy.get(publishPage.backToEditor).click({ force: true });
    });
  
    it("Call the api with error handling", () => {
      cy.SearchEntityandOpen("Button1");
  
      cy.get(".t--property-control-onclick").then(($el) => {
        cy.updateCodeInput($el, "{{Api1.run(() => {}, () => {})}}");
      });
  
      cy.PublishtheApp();
  
      cy.wait(3000);
      cy.get("span:contains('Submit')")
        .closest("div")
        .click();
  
      cy.wait("@postExecute").should(
        "have.nested.property",
        "response.body.responseMeta.status",
        200,
      );
  
      cy.get(commonlocators.toastAction).should("not.exist");
    });
  });
  