hunk.code_window:                     final List<ApplicationPage> pages = application.getPages();
                       for(ApplicationPage page : pages){
                           if(pageId3.equals(page.getId())){
                               assertTrue(page.getOrder() == 1);
                           }
                           if(pageId2.equals(page.getId())){
  
hunk.labels: keep keep keep replace keep keep
hunk.after_edit:                             assertThat(page.getOrder()).isEqualTo(1);
  
hunk.file_path: app/server/appsmith-server/src/test/java/com/appsmith/server/services/PageServiceTest.java
hunk.type: replace
file: import React from "react";
  import PageLoadingBar from "pages/common/PageLoadingBar";
  import { retryPromise } from "utils/AppsmithUtils";
  
  class OrganizationLoader extends React.PureComponent<any, { Page: any }> {
    constructor(props: any) {
      super(props);
  
      this.state = {
        Page: null,
      };
    }
  
    componentDidMount() {
      retryPromise(() =>
        import(/* webpackChunkName: "organization" */ "./index"),
      ).then((module) => {
        this.setState({ Page: module.default });
      });
    }
  
    render() {
      const { Page } = this.state;
  
      return Page ? <Page {...this.props} /> : <PageLoadingBar />;
    }
  }
  
  export default OrganizationLoader;
  