Skip to content

Commit 24397a6

Browse files
committed
on-prem
1 parent 9a5c359 commit 24397a6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

playwright/Customizations/Filesystem.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ test('Create a blueprint with Filesystem customization', async ({
6161
await newPageAutomatic.close();
6262

6363
await frame
64-
.getByRole('radio', { name: 'Manually configure partitions' })
64+
.getByRole('radio', { name: 'Basic filesystem partitioning' })
6565
.click();
6666
const [newPageManual] = await Promise.all([
6767
page.context().waitForEvent('page'),
@@ -96,7 +96,7 @@ test('Create a blueprint with Filesystem customization', async ({
9696
.fill('/usb');
9797
await frame
9898
.getByRole('gridcell', { name: '1', exact: true })
99-
.getByPlaceholder('File system')
99+
.getByPlaceholder('minimum partition size')
100100
.fill('1000');
101101
await frame.getByRole('button', { name: 'GiB' }).nth(1).click();
102102
await frame.getByRole('option', { name: 'KiB' }).click();
@@ -147,11 +147,11 @@ test('Create a blueprint with Filesystem customization', async ({
147147

148148
await frame
149149
.getByRole('gridcell', { name: '1000', exact: true })
150-
.getByPlaceholder('File system')
150+
.getByPlaceholder('minimum partition size')
151151
.click();
152152
await frame
153153
.getByRole('gridcell', { name: '1000', exact: true })
154-
.getByPlaceholder('File system')
154+
.getByPlaceholder('minimum partition size')
155155
.fill('1024');
156156

157157
await frame.getByRole('button', { name: '/tmp' }).click();
@@ -219,7 +219,7 @@ test('Create a blueprint with Filesystem customization', async ({
219219

220220
const size = frame
221221
.getByRole('gridcell', { name: '1', exact: true })
222-
.getByPlaceholder('File system');
222+
.getByPlaceholder('minimum partition size');
223223
await expect(size).toHaveValue('1');
224224

225225
const unitButton = frame.getByRole('button', { name: 'GiB' }).nth(1);

src/Components/CreateImageWizard/steps/FileSystem/components/FileSystemPartition.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const FileSystemPartition = () => {
4848
<Radio
4949
id='basic-partitioning-radio'
5050
label={
51-
!process.env.IS_ON_PREMISE && isAdvancedPartitioningEnabled
51+
process.env.IS_ON_PREMISE || isAdvancedPartitioningEnabled
5252
? 'Basic filesystem partitioning'
5353
: 'Manually configure partitions'
5454
}
@@ -59,7 +59,7 @@ const FileSystemPartition = () => {
5959
dispatch(changeFscMode('basic'));
6060
}}
6161
/>
62-
{!process.env.IS_ON_PREMISE && isAdvancedPartitioningEnabled && (
62+
{(process.env.IS_ON_PREMISE || isAdvancedPartitioningEnabled) && (
6363
<Radio
6464
id='advanced-partitioning-radio'
6565
label='Advanced disk partitioning'

0 commit comments

Comments
 (0)