hunk.code_window:                         }
                           if(pageId2.equals(page.getId())){
                               assertTrue(page.getOrder() == 2);
                           }
                           if(pageId1.equals(page.getId())){
  
hunk.labels: keep keep replace keep keep
hunk.after_edit:                             assertThat(page.getOrder()).isEqualTo(2);
  
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 { unmountComponentAtNode } from "react-dom";
  import { render, fireEvent } from "test/testUtils";
  import "@testing-library/jest-dom";
  import { act } from "react-dom/test-utils";
  import AppHeader from "../EditorHeader";
  
  let container: any = null;
  describe("Editor header", () => {
    beforeEach(async () => {
      // setup a DOM element as a render target
      container = document.createElement("div");
      document.body.appendChild(container);
    });
    it("checks that Omnibar has correct styles", async (done) => {
      const { findByDataCy } = render(<AppHeader />);
      const appOmnibar = await findByDataCy("global-search-modal-trigger");
      act(() => {
        fireEvent.mouseOver(appOmnibar);
      });
      expect(appOmnibar).toHaveStyle({ border: "1.5px solid #FFFFFF;" });
  
      await done();
    });
    afterEach(() => {
      // cleanup on exiting
      unmountComponentAtNode(container);
      container.remove();
      container = null;
    });
  });
  