mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Maps] Remove regionmap test references (#112734)
This commit is contained in:
parent
e67a25c8b8
commit
e268e21f7b
2 changed files with 1 additions and 19 deletions
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue