Skip to content

Commit

Permalink
fix: [M3-8602] - Fix plan-selection.spec.ts test failures on retries (
Browse files Browse the repository at this point in the history
#10976)

* Prevent plan selection test from guaranteed failures on reattempts

* Added changeset: Fix plan selection test always failing on reattempts
  • Loading branch information
jdamore-linode authored Sep 20, 2024
1 parent 64aec6e commit 4a418fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10976-tests-1726778238574.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Fix plan selection test always failing on reattempts ([#10976](https://github.com/linode/manager/pull/10976))
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const notices = {

authenticate();
describe('displays linode plans panel based on availability', () => {
before(() => {
beforeEach(() => {
mockGetRegions(mockRegions).as('getRegions');
mockGetLinodeTypes(mockLinodeTypes).as('getLinodeTypes');
mockGetRegionAvailability(mockRegions[0].id, mockRegionAvailability).as(
Expand Down Expand Up @@ -220,7 +220,7 @@ describe('displays linode plans panel based on availability', () => {
});

describe('displays kubernetes plans panel based on availability', () => {
before(() => {
beforeEach(() => {
mockGetRegions(mockRegions).as('getRegions');
mockGetLinodeTypes(mockLinodeTypes).as('getLinodeTypes');
mockGetRegionAvailability(mockRegions[0].id, mockRegionAvailability).as(
Expand Down Expand Up @@ -350,7 +350,7 @@ describe('displays kubernetes plans panel based on availability', () => {
});

describe('displays specific linode plans for GPU', () => {
before(() => {
beforeEach(() => {
mockGetRegions(mockRegions).as('getRegions');
mockGetLinodeTypes(mockLinodeTypes).as('getLinodeTypes');
mockGetRegionAvailability(mockRegions[0].id, mockRegionAvailability).as(
Expand Down

0 comments on commit 4a418fa

Please sign in to comment.