Skip to content

Commit

Permalink
change: [M3-8593] - Copy updates in Create with CLI modal (linode#10954)
Browse files Browse the repository at this point in the history
* unit test coverage for HostNameTableCell

* Revert "unit test coverage for HostNameTableCell"

This reverts commit b274baf.

* Copy updates in Create with CLI modal

* Added changeset: Copy updates in Create with CLI modal

* Update packages/manager/src/features/Linodes/LinodesCreate/ApiAwarenessModal/ApiAwarenessModal.tsx

Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>

* Update create-linode-view-code-snippet.spec.ts

---------

Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
  • Loading branch information
cpathipa and mjac0bs authored Sep 19, 2024
1 parent c602e28 commit 5f08477
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10954-changed-1726591307327.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Changed
---

Copy updates in Create with CLI modal ([#10954](https://github.com/linode/manager/pull/10954))
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ describe('Create Linode', () => {
'Import Existing Infrastructure to Terraform'
).should('be.visible');

// Validate SDK's tab
ui.tabList.findTabByTitle(`SDK's`).should('be.visible').click();
// Validate SDKs tab
ui.tabList.findTabByTitle(`SDKs`).should('be.visible').click();

ui.autocomplete.find().click();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const AnsibleIntegrationResources = () => {
return (
<>
<Typography sx={(theme) => ({ mt: theme.spacing(2) })} variant="h3">
Getting started
Getting Started
</Typography>
<ResourceLinks
linkAnalyticsEvent={linkAnalyticsEvent}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const additionalTabs = [
},
{
component: SDKTabPanel,
title: `SDK's`,
title: 'SDKs',
type: 'INTEGRATIONS',
},
];
Expand Down Expand Up @@ -88,11 +88,11 @@ export const ApiAwarenessModal = (props: ApiAwarenessModalProps) => {
sendApiAwarenessClickEvent(`${type} Tab`, type);

const trackingKey =
type === 'INTEGRATIONS' && title !== "SDK's"
type === 'INTEGRATIONS' && title !== 'SDKs'
? LD_DX_TOOLS_METRICS_KEYS.INTEGRATION_TAB_SELECTION
: type === 'API'
? LD_DX_TOOLS_METRICS_KEYS.CURL_TAB_SELECTION
: title === "SDK's"
: title === 'SDKs'
? LD_DX_TOOLS_METRICS_KEYS.SDK_TAB_SELECTION
: title === 'Linode CLI'
? LD_DX_TOOLS_METRICS_KEYS.LINODE_CLI_TAB_SELECTION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const TerraformIntegrationResources = () => {
return (
<>
<Typography sx={(theme) => ({ mt: theme.spacing(2) })} variant="h3">
Getting started
Getting Started
</Typography>
<ResourceLinks
linkAnalyticsEvent={linkAnalyticsEvent}
Expand Down

0 comments on commit 5f08477

Please sign in to comment.