- Implement `current-operating-systems-ui.test.py` to validate the functionality of current operating systems in the UI, including tests for source and states, computer changes, responsive design, error handling, and version saving. - Create `workplace-add-asset.test.py` to test the addition of assets to workstations, covering scenarios such as conflict resolution, responsive design on mobile, error handling during asset creation, and HTTP guards for asset management.
15 lines
468 B
TypeScript
15 lines
468 B
TypeScript
import { CurrentOperatingSystems } from "../../../software-installations/detail/ui/current-operating-systems";
|
|
import { useAssetSoftware } from "../../../software-installations/shared/queries/use-asset-software";
|
|
|
|
export function AssetOperatingSystems({
|
|
companyId,
|
|
assetId,
|
|
}: {
|
|
companyId: string;
|
|
assetId: string;
|
|
}) {
|
|
const software = useAssetSoftware(companyId, assetId);
|
|
|
|
return <CurrentOperatingSystems companyId={companyId} software={software} />;
|
|
}
|