Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes committed Oct 24, 2023
1 parent 6b7f2d3 commit 0a4df54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/plugins/observability/server/ui_settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export const uiSettings: Record<string, UiSettings> = {
defaultMessage: `The average amortized per-core power consumption (based on 100% CPU utilization).`,
}),
schema: schema.number({ min: 0 }),
requiresPageReload: false,
requiresPageReload: true,
},
[profilingDatacenterPUE]: {
category: [observabilityFeatureId],
Expand Down Expand Up @@ -425,7 +425,7 @@ export const uiSettings: Record<string, UiSettings> = {
},
}),
schema: schema.number({ min: 0 }),
requiresPageReload: false,
requiresPageReload: true,
},
[profilingCo2PerKWH]: {
category: [observabilityFeatureId],
Expand All @@ -448,7 +448,7 @@ export const uiSettings: Record<string, UiSettings> = {
},
}),
schema: schema.number({ min: 0 }),
requiresPageReload: false,
requiresPageReload: true,
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ describe('Functions page', () => {
.clear()
.type('20');
cy.contains('Save changes').click();
cy.getByTestSubj('kbnLoadingMessage').should('exist');
cy.getByTestSubj('kbnLoadingMessage').should('not.exist', {
timeout: 50000,
});
cy.go('back');
cy.wait('@getTopNFunctions');
cy.get(firstRowSelector).eq(5).contains('24.22k lbs / 10.99k');
Expand Down

0 comments on commit 0a4df54

Please sign in to comment.