Wizard/ImagesTable/test: Change "VMWare" to "VMware"

The "w" in VMware should be lower case, this updates it in all places.
This commit is contained in:
regexowl 2023-12-05 09:00:39 +01:00 committed by Klara Simickova
parent cea1caf175
commit 3e07472826
5 changed files with 17 additions and 17 deletions

View file

@ -104,13 +104,13 @@ const ReviewStep = () => {
)}
{getState()?.values?.['target-environment']?.vsphere && (
<TextContent>
<Text component={TextVariants.h3}>VMWare vSphere (.vmdk)</Text>
<Text component={TextVariants.h3}>VMware vSphere (.vmdk)</Text>
<TargetEnvOtherList />
</TextContent>
)}
{getState()?.values?.['target-environment']?.['vsphere-ova'] && (
<TextContent>
<Text component={TextVariants.h3}>VMWare vSphere (.ova)</Text>
<Text component={TextVariants.h3}>VMware vSphere (.ova)</Text>
<TargetEnvOtherList />
</TextContent>
)}

View file

@ -243,15 +243,15 @@ const TargetEnvironment = ({ label, isRequired, ...props }) => {
data-testid="target-private"
>
<Checkbox
label="VMWare vSphere"
label="VMware vSphere"
isChecked={environment.vsphere || environment['vsphere-ova']}
onChange={(_event, checked) => {
handleSetEnvironment('vsphere-ova', checked);
handleSetEnvironment('vsphere', false);
}}
aria-label="VMWare checkbox"
aria-label="VMware checkbox"
id="checkbox-vmware"
name="VMWare"
name="VMware"
data-testid="checkbox-vmware"
/>
</FormGroup>
@ -264,7 +264,7 @@ const TargetEnvironment = ({ label, isRequired, ...props }) => {
{allowedTargets.includes('vsphere-ova') && (
<Radio
name="vsphere-radio"
aria-label="VMWare vSphere radio button OVA"
aria-label="VMware vSphere radio button OVA"
id="vsphere-radio-ova"
label={
<>
@ -276,7 +276,7 @@ const TargetEnvironment = ({ label, isRequired, ...props }) => {
<TextContent>
<Text>
An OVA file is a virtual appliance used by
virtualization platforms such as VMWare vSphere. It is
virtualization platforms such as VMware vSphere. It is
a package that contains files used to describe a
virtual machine, which includes a VMDK image, OVF
descriptor file and a manifest file.
@ -299,7 +299,7 @@ const TargetEnvironment = ({ label, isRequired, ...props }) => {
<Radio
className="pf-u-mt-sm"
name="vsphere-radio"
aria-label="VMWare vSphere radio button VMDK"
aria-label="VMware vSphere radio button VMDK"
id="vsphere-radio-vmdk"
label={
<>

View file

@ -256,7 +256,7 @@ const Environment = ({ setEnvironment, environment }: EnvironmentPropType) => {
data-testid="target-private"
>
<Checkbox
label="VMWare vSphere"
label="VMware vSphere"
isChecked={
environment.vsphere.selected ||
environment['vsphere-ova'].selected
@ -265,9 +265,9 @@ const Environment = ({ setEnvironment, environment }: EnvironmentPropType) => {
handleSetEnvironment('vsphere-ova', checked);
handleSetEnvironment('vsphere', false);
}}
aria-label="VMWare checkbox"
aria-label="VMware checkbox"
id="checkbox-vmware"
name="VMWare"
name="VMware"
data-testid="checkbox-vmware"
/>
</FormGroup>
@ -280,7 +280,7 @@ const Environment = ({ setEnvironment, environment }: EnvironmentPropType) => {
{environment['vsphere-ova'].authorized && (
<Radio
name="vsphere-radio"
aria-label="VMWare vSphere radio button OVA"
aria-label="VMware vSphere radio button OVA"
id="vsphere-radio-ova"
label={
<>
@ -292,7 +292,7 @@ const Environment = ({ setEnvironment, environment }: EnvironmentPropType) => {
<TextContent>
<Text>
An OVA file is a virtual appliance used by
virtualization platforms such as VMWare vSphere. It is
virtualization platforms such as VMware vSphere. It is
a package that contains files used to describe a
virtual machine, which includes a VMDK image, OVF
descriptor file and a manifest file.
@ -320,7 +320,7 @@ const Environment = ({ setEnvironment, environment }: EnvironmentPropType) => {
<Radio
className="pf-u-mt-sm"
name="vsphere-radio"
aria-label="VMWare vSphere radio button VMDK"
aria-label="VMware vSphere radio button VMDK"
id="vsphere-radio-vmdk"
label={
<>

View file

@ -16,8 +16,8 @@ const targetOptions: { [key in ImageTypes]: string } = {
gcp: 'Google Cloud Platform',
'guest-image': 'Virtualization - Guest image',
'image-installer': 'Bare metal - Installer',
vsphere: 'VMWare vSphere',
'vsphere-ova': 'VMWare vSphere',
vsphere: 'VMware vSphere',
'vsphere-ova': 'VMware vSphere',
wsl: 'Windows Subsystem for Linux',
ami: 'Amazon Web Services',
'rhel-edge-commit': 'RHEL Edge Commit',

View file

@ -1184,7 +1184,7 @@ describe('Click through all steps', () => {
await user.click(targetEnvironmentsExpandable);
await screen.findAllByText('AWS');
await screen.findAllByText('GCP');
await screen.findByText('VMWare vSphere (.ova)');
await screen.findByText('VMware vSphere (.ova)');
await screen.findByText('Virtualization - Guest image (.qcow2)');
await screen.findByText('Bare metal - Installer (.iso)');