-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into M3-7721-switch-api-from-aglb-to-aclb
- Loading branch information
Showing
17 changed files
with
443 additions
and
93 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
packages/manager/.changeset/pr-10100-upcoming-features-1706825389536.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@linode/manager": Upcoming Features | ||
--- | ||
|
||
Create Placement Groups Select component ([#10100](https://github.com/linode/manager/pull/10100)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@linode/manager": Fixed | ||
--- | ||
|
||
Unit tests Button enabled assertions ([#10142](https://github.com/linode/manager/pull/10142)) |
5 changes: 5 additions & 0 deletions
5
packages/manager/.changeset/pr-10146-tech-stories-1707162412490.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@linode/manager": Tech Stories | ||
--- | ||
|
||
DC Get Well - Cleanup/Remove feature flag logic ([#10146](https://github.com/linode/manager/pull/10146)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@linode/manager": Tests | ||
--- | ||
|
||
Fix billing contact Cypress test by narrowing element selection scope ([#10150](https://github.com/linode/manager/pull/10150)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
packages/manager/src/components/PlacementGroupsSelect/PlacementGroupsSelect.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import * as React from 'react'; | ||
|
||
import { renderWithTheme } from 'src/utilities/testHelpers'; | ||
|
||
import { | ||
PlacementGroupsSelect, | ||
PlacementGroupsSelectProps, | ||
} from './PlacementGroupsSelect'; | ||
|
||
const props: PlacementGroupsSelectProps = { | ||
errorText: '', | ||
handlePlacementGroupSelection: vi.fn(), | ||
id: '', | ||
label: 'Placement Groups in Atlanta, GA (us-southeast)', | ||
noOptionsMessage: '', | ||
selectedRegionId: 'us-southeast', | ||
}; | ||
|
||
describe('PlacementGroupSelect', () => { | ||
it('should render a Select component', () => { | ||
const { getByTestId } = renderWithTheme( | ||
<PlacementGroupsSelect {...props} /> | ||
); | ||
expect(getByTestId('placement-groups-select')).toBeInTheDocument(); | ||
}); | ||
|
||
it('should render a Select component with the correct label', () => { | ||
const { getByText } = renderWithTheme(<PlacementGroupsSelect {...props} />); | ||
expect(getByText(/Placement Groups in /)).toBeInTheDocument(); | ||
}); | ||
}); |
Oops, something went wrong.