Skip to content

Commit

Permalink
change: [M3-8075] - "Create Volume" button text changed to "Add Volume".
Browse files Browse the repository at this point in the history
  • Loading branch information
dchyrva-akamai committed Aug 22, 2024
1 parent 81082b0 commit d75c5db
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10808-changed-1724315097131.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Changed
---

"Create Volume" button text changed to "Add Volume" ([#10808](https://github.com/linode/manager/pull/10808))
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ describe('volumes', () => {
// Create a new volume.
cy.findByText('Storage').should('be.visible').click();

ui.button.findByTitle('Create Volume').should('be.visible').click();
ui.button.findByTitle('Add Volume').should('be.visible').click();

mockGetLinodeVolumes(mockLinode.id, [newVolume]).as('getVolumes');
ui.drawer
Expand Down Expand Up @@ -284,9 +284,9 @@ describe('volumes', () => {
cy.findByText(mockLinode.label).should('be.visible').click();
cy.wait(['@getVolumes', '@getLinodeDetail']);

// Open the Create Volume drawer.
// Open the Add Volume drawer.
cy.findByText('Storage').should('be.visible').click();
ui.button.findByTitle('Create Volume').should('be.visible').click();
ui.button.findByTitle('Add Volume').should('be.visible').click();
cy.wait(['@getVolumeTypesError']);

mockGetLinodeVolumes(mockLinode.id, [newVolume]).as('getVolumes');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export const LinodeVolumes = () => {
disabled={isLinodesGrantReadOnly}
onClick={handleCreateVolume}
>
Create Volume
Add Volume
</Button>
</Paper>
<Table>
Expand Down

0 comments on commit d75c5db

Please sign in to comment.