Don't show copy if host is Android (#30951)

> Closes #30905

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Added/updated automated tests
- [x] Manual QA for all new/changed functionality
- [x] For unreleased bug fixes in a release candidate, confirmed that
the fix is not expected to adversely impact load test results or alerted
the release DRI if additional load testing is needed.
This commit is contained in:
Jahziel Villasana-Espinoza 2025-07-16 14:43:45 -04:00 committed by GitHub
parent 049e28ca02
commit 363411b82d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -343,7 +343,9 @@ const HostSoftware = ({
return (
<div className={baseClass}>
<CardHeader subheader="Software installed on this host" />
{!isAndroid(platform) && (
<CardHeader subheader="Software installed on this host" />
)}
{renderHostSoftware()}
</div>
);

View file

@ -54,6 +54,9 @@ describe("HostSoftwareTable", () => {
screen.getByText(/software is not supported for this host/i)
).toBeInTheDocument();
expect(screen.getByText(/let us know/i)).toBeInTheDocument();
expect(
screen.queryByText(/Software installed on this host/i)
).not.toBeInTheDocument();
});
it("renders custom filter button when filters are applied", () => {