diff --git a/frontend/pages/hosts/details/DeviceUserPage/components/DeviceUserBanners/DeviceUserBanners.tests.tsx b/frontend/pages/hosts/details/DeviceUserPage/components/DeviceUserBanners/DeviceUserBanners.tests.tsx
index 632d9eecaf..18a57d6eeb 100644
--- a/frontend/pages/hosts/details/DeviceUserPage/components/DeviceUserBanners/DeviceUserBanners.tests.tsx
+++ b/frontend/pages/hosts/details/DeviceUserPage/components/DeviceUserBanners/DeviceUserBanners.tests.tsx
@@ -86,7 +86,31 @@ describe("Device User Banners", () => {
).toBeInTheDocument();
});
- it("renders no banner correctly", () => {
+ it("renders no banner correctly for a mac that is verifying its disk encryption", () => {
+ // setup so mdm is not enabled and configured.
+ render(
+
+ );
+
+ expect(screen.queryByText(turnOnMdmExpcetedText)).not.toBeInTheDocument();
+ expect(
+ screen.queryByText(resetNonLinuxDiskEncryptKeyExpectedText)
+ ).not.toBeInTheDocument();
+ expect(
+ screen.queryByText(resetNonLinuxDiskEncryptKeyExpectedText)
+ ).not.toBeInTheDocument();
+ });
+ it("renders no banner correctly for a mac without MDM set up", () => {
// setup so mdm is not enabled and configured.
render(