-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [M3-7249] - Linode Landing flickering (#9836)
* dont block children from rendering * Added changeset: Linodes Landing flickering * clean up more * fix preference toggle * comment and clean up types * remove ambiguous test * show children after inital fetches * fix AuthenticationWrapper logic and test * revert change * removed unused state * fix lish * fix AuthenticationWrapper more * fix flags flickering * add some e2e coverage * Update packages/manager/src/IdentifyUser.tsx Co-authored-by: Dajahi Wiley <114682940+dwiley-akamai@users.noreply.github.com> --------- Co-authored-by: Banks Nussman <banks@nussman.us> Co-authored-by: Dajahi Wiley <114682940+dwiley-akamai@users.noreply.github.com>
- Loading branch information
1 parent
814dafb
commit f26f788
Showing
9 changed files
with
82 additions
and
239 deletions.
There are no files selected for viewing
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 | ||
--- | ||
|
||
Linodes Landing flickering ([#9836](https://github.com/linode/manager/pull/9836)) |
27 changes: 27 additions & 0 deletions
27
packages/manager/cypress/e2e/core/general/account-activation.spec.ts
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,27 @@ | ||
import { apiMatcher } from 'support/util/intercepts'; | ||
|
||
describe('account activation', () => { | ||
/** | ||
* The API will return 403 with the body below for most endpoint except `/v4/profile`. | ||
* | ||
* { "errors": [ { "reason": "Your account must be activated before you can use this endpoint" } ] } | ||
*/ | ||
it('should render an activation landing page if the customer is not activated', () => { | ||
cy.intercept('GET', apiMatcher('*'), { | ||
statusCode: 403, | ||
body: { | ||
errors: [ | ||
{ | ||
reason: | ||
'Your account must be activated before you can use this endpoint', | ||
}, | ||
], | ||
}, | ||
}); | ||
|
||
cy.visitWithLogin('/'); | ||
|
||
cy.findByText('Your account is currently being reviewed.'); | ||
cy.findByText('open a support ticket', { exact: false }); | ||
}); | ||
}); |
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
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
Oops, something went wrong.