hunk.code_window:   });
     //Failing in fat migration - hence skipping
     it.skip("1. Guided Tour", function() {
       // Start guided tour
       cy.get(commonlocators.homeIcon).click({ force: true });
       cy.get(guidedTourLocators.welcomeTour).click();
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit:   it("1. Guided Tour", function() {
  
hunk.file_path: app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/GuidedTour_spec.js
hunk.type: replace
file: import React from "react";
  import { useSelector } from "react-redux";
  import { Redirect } from "react-router-dom";
  
  import { getCurrentUser } from "selectors/usersSelectors";
  import { ANONYMOUS_USERNAME } from "constants/userConstants";
  import { APPLICATIONS_URL, AUTH_LOGIN_URL } from "constants/routes";
  
  export const requiresUnauth = (Component: React.ComponentType) => {
    function Wrapped(props: any) {
      const user = useSelector(getCurrentUser);
      if (!user) return null;
      if (user?.email && user?.email !== ANONYMOUS_USERNAME) {
        return <Redirect to={APPLICATIONS_URL} />;
      }
      return <Component {...props} />;
    }
  
    return Wrapped;
  };
  
  export const requiresAuth = (Component: React.ComponentType) => {
    return function Wrapped(props: any) {
      const user = useSelector(getCurrentUser);
      if (!user) return null;
      if (user?.email && user?.email !== ANONYMOUS_USERNAME) {
        return <Component {...props} />;
      }
      return <Redirect to={AUTH_LOGIN_URL} />;
    };
  };
  