Skip to content

Commit 3dfebe1

Browse files
fix: [M3-10473] - smoke-linode-landing-table.spec.ts test failure and correct Linodes Landing ordering bug (linode#12690)
* update test and fix preference key * Added changeset: Use older linodes landing page order preference key * Added changeset: Update `smoke-linode-landing-table.spec.ts` to account for removal of `/dashboard` --------- Co-authored-by: Banks Nussman <[email protected]>
1 parent bff368c commit 3dfebe1

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@linode/manager": Tech Stories
3+
---
4+
5+
Use older linodes landing page order preference key ([#12690](https://github.com/linode/manager/pull/12690))
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@linode/manager": Tests
3+
---
4+
5+
Update `smoke-linode-landing-table.spec.ts` to account for removal of `/dashboard` ([#12690](https://github.com/linode/manager/pull/12690))

packages/manager/cypress/e2e/core/linodes/smoke-linode-landing-table.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ describe('linode landing checks', () => {
9191
});
9292

9393
it('checks the landing page side menu items', () => {
94-
cy.findByTitle('Akamai - Dashboard').should('be.visible');
94+
cy.findByTitle('Akamai - Cloud Manager').should('be.visible');
9595
cy.findByTestId('menu-item-Linodes').should('be.visible');
9696
cy.findByTestId('menu-item-Volumes').should('be.visible');
9797
cy.findByTestId('menu-item-NodeBalancers').should('be.visible');

packages/manager/src/features/Linodes/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export const LinodesLandingWrapper = React.memo(() => {
103103
},
104104
from: '/linodes',
105105
},
106-
preferenceKey: 'linodes_view_style',
106+
preferenceKey: 'linodes-landing',
107107
});
108108

109109
const handleRegionFilter = (regionFilter: RegionFilter) => {

0 commit comments

Comments
 (0)