-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: [M3-8923] - Fix Account Maintenance Account X-Filter #11277
fix: [M3-8923] - Fix Account Maintenance Account X-Filter #11277
Conversation
@@ -49,7 +50,7 @@ export const LinodesRoutes = () => { | |||
export const LinodesLandingWrapper = React.memo(() => { | |||
const { data: accountMaintenanceData } = useAllAccountMaintenanceQuery( | |||
{}, | |||
{ status: { '+or': ['pending, started'] } } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The primary fix was change the change 'pending, started'
to 'pending', 'started'
The API would return 0 results because 'pending, started'
is not a valid status. (I guess the API doesn't error in case of an invalid status on this endpoint)
@@ -0,0 +1,3 @@ | |||
export const PENDING_MAINTENANCE_FILTER = Object.freeze({ | |||
status: { '+or': ['pending', 'started'] }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the fixed filter. I just moved to to a shared constant because it is used in a handful of places.
Coverage Report: ✅ |
Cloud Manager UI test results🎉 453 passing tests on test run #2 ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I can't test this since I don't have devenv set up but the filter looks good!
Cloud Manager E2E Run #6861
Run Properties:
|
Project |
Cloud Manager E2E
|
Branch Review |
develop
|
Run status |
Failed #6861
|
Run duration | 34m 37s |
Commit |
d8812c4eef: fix: [M3-8923] - Fix Account Maintenance Account X-Filter (#11277)
|
Committer | Banks Nussman |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
2
|
Flaky |
5
|
Pending |
2
|
Skipped |
0
|
Passing |
452
|
View all changes introduced in this branch ↗︎ |
Tests for review
cypress/e2e/core/linodes/linode-storage.spec.ts • 2 failed tests
Test | Artifacts | |
---|---|---|
linode storage tab > delete disk |
Screenshots
Video
|
|
linode storage tab > add a disk |
Screenshots
Video
|
linodes/linode-storage.spec.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
linode storage tab > resize disk |
Screenshots
Video
|
linodes/linode-config.spec.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
Linode Config management > End-to-End > Clones a config |
Screenshots
Video
|
linodes/clone-linode.spec.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
clone linode > can clone a Linode from Linode details page |
Screenshots
Video
|
domains/smoke-clone-domain.spec.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
Clone a Domain > clones a domain |
Screenshots
Video
|
vpc/vpc-landing-page.spec.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
VPC landing page > can update and delete VPCs from VPC landing page |
Screenshots
Video
|
Description 📝
GET /v4/account/maintenance
to not yield any resultsPreview 📷
Note
Without this change, none of the following maintenance banners / tooltips would show 😢
How to test 🧪
As an Author, I have considered 🤔
As an Author, before moving this PR from Draft to Open, I confirmed ✅