Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisronline committed Sep 22, 2020
1 parent e2480b6 commit 659c222
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions x-pack/test/functional/apps/monitoring/cluster/overview.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function ({ getService, getPageObjects }) {
});

it('shows elasticsearch panel with data', async () => {
expect(await overview.getEsStatus()).to.be('Health is green');
expect(await overview.getEsStatus()).to.be('Healthy');
expect(await overview.getEsVersion()).to.be('7.0.0-alpha1');
expect(await overview.getEsUptime()).to.be('20 minutes');
expect(await overview.getEsNumberOfNodes()).to.be('Nodes: 2');
Expand All @@ -44,7 +44,7 @@ export default function ({ getService, getPageObjects }) {
});

it('shows kibana panel', async () => {
expect(await overview.getEsStatus()).to.be('Health is green');
expect(await overview.getEsStatus()).to.be('Healthy');
expect(await overview.getKbnRequests()).to.be('914');
expect(await overview.getKbnMaxResponseTime()).to.be('2873 ms');
expect(await overview.getKbnInstances()).to.be('Instances: 1');
Expand Down Expand Up @@ -81,7 +81,7 @@ export default function ({ getService, getPageObjects }) {
});

it('shows elasticsearch panel with data', async () => {
expect(await overview.getEsStatus()).to.be('Health is yellow');
expect(await overview.getEsStatus()).to.be('Missing replica shards');
expect(await overview.getEsVersion()).to.be('7.0.0-alpha1');
expect(await overview.getEsUptime()).to.be('5 minutes');
expect(await overview.getEsNumberOfNodes()).to.be('Nodes: 1');
Expand All @@ -95,7 +95,7 @@ export default function ({ getService, getPageObjects }) {
});

it('shows kibana panel', async () => {
expect(await overview.getKbnStatus()).to.be('Health is green');
expect(await overview.getKbnStatus()).to.be('Healthy');
expect(await overview.getKbnRequests()).to.be('174');
expect(await overview.getKbnMaxResponseTime()).to.be('2203 ms');
expect(await overview.getKbnInstances()).to.be('Instances: 1');
Expand Down Expand Up @@ -131,7 +131,7 @@ export default function ({ getService, getPageObjects }) {
});

it('shows elasticsearch panel with data', async () => {
expect(await overview.getEsStatus()).to.be('Health is yellow');
expect(await overview.getEsStatus()).to.be('Missing replica shards');
expect(await overview.getEsVersion()).to.be('7.0.0-alpha1');
expect(await overview.getEsUptime()).to.be('8 minutes');
expect(await overview.getEsNumberOfNodes()).to.be('Nodes: 1');
Expand Down

0 comments on commit 659c222

Please sign in to comment.