|
6 | 6 | */ |
7 | 7 |
|
8 | 8 | import { expect } from '@kbn/scout/api'; |
| 9 | +import { tags } from '@kbn/scout'; |
9 | 10 | import { apiTest, testData } from '../fixtures'; |
10 | 11 |
|
11 | | -// skip for ECH: https://github.com/elastic/kibana/issues/265020 |
12 | | -apiTest.describe('Maps - maps telemetry', { tag: ['@local-stateful-classic'] }, () => { |
| 12 | +apiTest.describe('Maps - maps telemetry', { tag: [...tags.stateful.classic] }, () => { |
13 | 13 | let cookieHeader: Record<string, string>; |
14 | 14 |
|
15 | 15 | apiTest.beforeAll(async ({ samlAuth, esArchiver, kbnClient }) => { |
@@ -44,14 +44,14 @@ apiTest.describe('Maps - maps telemetry', { tag: ['@local-stateful-classic'] }, |
44 | 44 | const geoPointFieldStats = apiResponse.cluster_stats.indices.mappings.field_types.find( |
45 | 45 | (fieldStat: { name: string }) => fieldStat.name === 'geo_point' |
46 | 46 | ); |
47 | | - expect(geoPointFieldStats.count).toBe(71); |
48 | | - expect(geoPointFieldStats.index_count).toBe(14); |
| 47 | + expect(geoPointFieldStats.count).toBeGreaterThanOrEqual(71); |
| 48 | + expect(geoPointFieldStats.index_count).toBeGreaterThanOrEqual(14); |
49 | 49 |
|
50 | 50 | const geoShapeFieldStats = apiResponse.cluster_stats.indices.mappings.field_types.find( |
51 | 51 | (fieldStat: { name: string }) => fieldStat.name === 'geo_shape' |
52 | 52 | ); |
53 | | - expect(geoShapeFieldStats.count).toBe(3); |
54 | | - expect(geoShapeFieldStats.index_count).toBe(3); |
| 53 | + expect(geoShapeFieldStats.count).toBeGreaterThanOrEqual(3); |
| 54 | + expect(geoShapeFieldStats.index_count).toBeGreaterThanOrEqual(3); |
55 | 55 |
|
56 | 56 | const mapUsage = apiResponse.stack_stats.kibana.plugins.maps; |
57 | 57 | delete mapUsage.timeCaptured; |
|
0 commit comments