hunk.code_window:   }, [user?.email]);
     return (
       <PageWrapper isFixed>
         <FlexContainer>
           {isLoading ? (
             <LoaderContainer>
               <Spinner />
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:     <PageWrapper isFixed isSavable={isSavable}>
  
hunk.file_path: app/client/src/ce/pages/AdminSettings/index.tsx
hunk.type: replace
file: const viewWidgetsPage = require("../../../../../locators/ViewWidgets.json");
  const dsl = require("../../../../../fixtures/displayWidgetDsl.json");
  
  describe("Image Widget Validation Image Urls", function() {
    before(() => {
      cy.addDsl(dsl);
    });
  
    it("1. Check default image src", function() {
      cy.openPropertyPane("imagewidget");
      cy.get(viewWidgetsPage.imageinner)
        .invoke("attr", "src")
        .should(
          "contain",
          "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png",
        );
    });
  
    it("2. Add new image and check image is showing instead of default image", function() {
      cy.testCodeMirror(this.data.NewImage);
      cy.get(viewWidgetsPage.imageinner)
        .invoke("attr", "src")
        .should("contain", this.data.NewImage);
      cy.closePropertyPane();
    });
  
    it("3. Remove both images and check empty screen", function() {
      cy.openPropertyPane("imagewidget");
  
      cy.get(".t--property-control-image").then(($el) =>
        cy.updateCodeInput($el, ""),
      );
      cy.get(".t--property-control-defaultimage").then(($el) =>
        cy.updateCodeInput($el, ""),
      );
  
      cy.get(
        `${viewWidgetsPage.imageWidget} div[data-testid=error-container]`,
      ).should("not.exist");
      cy.get(
        `${viewWidgetsPage.imageWidget} div[data-testid=styledImage]`,
      ).should("exist");
  
      cy.get(viewWidgetsPage.imageinner)
        .invoke("attr", "src")
        .should("contain", "");
      cy.closePropertyPane();
    });
  
    it("4. Add new image and check image src", function() {
      cy.openPropertyPane("imagewidget");
      cy.clearPropertyValue(0);
  
      cy.testCodeMirror(this.data.NewImage);
      // if imageError flag not reset properly, this test will fail.
      cy.get(viewWidgetsPage.imageinner)
        .invoke("attr", "src")
        .should("contain", this.data.NewImage);
      // error container doesn't exist
      cy.get(
        `${viewWidgetsPage.imageWidget} div[data-testid=error-container]`,
      ).should("not.exist");
    });
  });
  