{
/>
);
- await user.hover(screen.getByText(/Last fetched/i));
+ await user.hover(screen.getByText("Refetch"));
- expect(
- await screen.findByText(/there's no Refetch button/i)
- ).toBeInTheDocument();
+ expect(await screen.findByText(/there's no manual/i)).toBeInTheDocument();
});
it("disables refetch button when host is offline", () => {
diff --git a/frontend/pages/hosts/details/cards/HostHeader/HostHeader.tsx b/frontend/pages/hosts/details/cards/HostHeader/HostHeader.tsx
index fa56cb3414..b0e31b423e 100644
--- a/frontend/pages/hosts/details/cards/HostHeader/HostHeader.tsx
+++ b/frontend/pages/hosts/details/cards/HostHeader/HostHeader.tsx
@@ -101,7 +101,14 @@ const HostHeader = ({
const renderRefetch = () => {
if (isAndroid(platform)) {
- return null;
+ return (
+
+ );
}
const isOnline = summaryData.status === "online";
@@ -213,16 +220,7 @@ const HostHeader = ({
{renderDeviceStatusTag()}
-
- {"Last fetched"} {lastFetched}
-
-
+ {"Last fetched"} {lastFetched}
diff --git a/frontend/pages/hosts/details/cards/HostHeader/helpers.tsx b/frontend/pages/hosts/details/cards/HostHeader/helpers.tsx
index 4fd88cb5e7..33f38e6dc2 100644
--- a/frontend/pages/hosts/details/cards/HostHeader/helpers.tsx
+++ b/frontend/pages/hosts/details/cards/HostHeader/helpers.tsx
@@ -1,5 +1,7 @@
import React from "react";
import { isMacOS, isIPadOrIPhone } from "interfaces/platform";
+import CustomLink from "components/CustomLink";
+import { LEARN_MORE_ABOUT_BASE_LINK } from "utilities/constants";
import { HostMdmDeviceStatusUIState } from "../../helpers";
interface IDeviceStatusTag {
@@ -170,7 +172,14 @@ export const REFETCH_TOOLTIP_MESSAGES: Record<
export const ANDROID_NO_REFETCH_TOOLTIP_MESSAGE = (
<>
- For Android hosts, there's no Refetch button on the Host details page
- in Fleet because Android hosts sync data automatically when they change.
+ There's no manual Refetch button because Android hosts sync data
+ automatically when they change. If changes aren't appearing,{" "}
+
+ .
>
);