Skip to content

Commit 9f6206f

Browse files
authored
upcoming: [M3-10486] - Update dual-stack labeling in VPC Create (linode#12746)
## Description 📝 Copy adjustments to the VPC Create flow as requested by Daniel ## How to test 🧪 ### Prerequisites (How to setup test environment) - Pull this PR and point to devcloud (ensure your account has vpc ipv6 customer tag) ### Verification steps (How to verify changes) - [ ] Ensure the VPC IPv6 feature flag is enabled and your account has the VPC Dual Stack account capability - [ ] Go to the VPC Create page - [ ] You should see the updated label changes `IP Stack` and `(dual-stack)`
1 parent 2b03ff4 commit 9f6206f

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@linode/manager": Upcoming Features
3+
---
4+
5+
Update dual-stack labeling in VPC Create ([#12746](https://github.com/linode/manager/pull/12746))

packages/manager/src/features/VPCs/VPCCreate/FormComponents/VPCTopSectionContent.test.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ describe('VPC Top Section form content', () => {
3737
expect(screen.getByText('VPC Label')).toBeVisible();
3838
expect(screen.getByText('Description')).toBeVisible();
3939
// @TODO VPC IPv6: Remove this check once VPC IPv6 is in GA
40-
expect(screen.queryByText('Networking IP Stack')).not.toBeInTheDocument();
40+
expect(screen.queryByText('IP Stack')).not.toBeInTheDocument();
4141
});
4242

43-
it('renders a Networking IP Stack section with IPv4 pre-checked if the vpcIpv6 feature flag is enabled', async () => {
43+
it('renders an IP Stack section with IPv4 pre-checked if the vpcIpv6 feature flag is enabled', async () => {
4444
const account = accountFactory.build({
4545
capabilities: ['VPC Dual Stack'],
4646
});
@@ -66,7 +66,7 @@ describe('VPC Top Section form content', () => {
6666
});
6767

6868
await waitFor(() => {
69-
expect(screen.getByText('Networking IP Stack')).toBeVisible();
69+
expect(screen.getByText('IP Stack')).toBeVisible();
7070
});
7171

7272
const NetworkingIPStackRadios = screen.getAllByRole('radio');
@@ -100,7 +100,7 @@ describe('VPC Top Section form content', () => {
100100
});
101101

102102
await waitFor(() => {
103-
expect(screen.getByText('Networking IP Stack')).toBeVisible();
103+
expect(screen.getByText('IP Stack')).toBeVisible();
104104
});
105105

106106
const NetworkingIPStackRadios = screen.getAllByRole('radio');
@@ -140,7 +140,7 @@ describe('VPC Top Section form content', () => {
140140
});
141141

142142
await waitFor(() => {
143-
expect(screen.getByText('Networking IP Stack')).toBeVisible();
143+
expect(screen.getByText('IP Stack')).toBeVisible();
144144
});
145145

146146
const NetworkingIPStackRadios = screen.getAllByRole('radio');

packages/manager/src/features/VPCs/VPCCreate/FormComponents/VPCTopSectionContent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export const VPCTopSectionContent = (props: Props) => {
138138
/>
139139
{isDualStackEnabled && (
140140
<Box marginTop={2}>
141-
<FormLabel>Networking IP Stack </FormLabel>
141+
<FormLabel>IP Stack </FormLabel>
142142
<Controller
143143
control={control}
144144
name="ipv6"
@@ -189,7 +189,7 @@ export const VPCTopSectionContent = (props: Props) => {
189189
sm: 12,
190190
xs: 12,
191191
}}
192-
heading="IPv4 + IPv6 (Dual Stack)"
192+
heading="IPv4 + IPv6 (dual-stack)"
193193
onClick={() => {
194194
field.onChange([
195195
{

0 commit comments

Comments
 (0)