[Maps] Remove regionmap test references (#112734)

This commit is contained in:
Thomas Neirynck 2021-09-21 18:18:11 -04:00 committed by GitHub
parent e67a25c8b8
commit e268e21f7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 19 deletions

View file

@ -104,24 +104,6 @@ export default function ({ getPageObjects }) {
});
});
describe('KibanaRegionmapSource with missing region map configuration', () => {
const MISSING_REGION_NAME = 'nameThatDoesNotExitForKibanaRegionmapSource';
const LAYER_NAME = 'Custom_vector_shapes';
it('should diplay error message in layer panel', async () => {
const errorMsg = await PageObjects.maps.getLayerErrorText(LAYER_NAME);
expect(errorMsg).to.equal(
`Unable to find map.regionmap configuration for ${MISSING_REGION_NAME}`
);
});
it('should allow deletion of layer', async () => {
await PageObjects.maps.removeLayer(LAYER_NAME);
const exists = await PageObjects.maps.doesLayerExist(LAYER_NAME);
expect(exists).to.be(false);
});
});
describe('KibanaTilemapSource with missing map.tilemap.url configuration', () => {
const LAYER_NAME = 'Custom_TMS';

File diff suppressed because one or more lines are too long