mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[maps] fix blank screen when switching to Full Screen (#170915)
Fixes https://github.com/elastic/kibana/issues/170467 ### test instructions 1. create new map 2. Click "Full screen" 3. Verify map is displayed
This commit is contained in:
parent
b7bdb58e7c
commit
0d5f83da2b
2 changed files with 10 additions and 0 deletions
|
@ -10,6 +10,11 @@
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
.mapFullScreen {
|
||||
// sass-lint:disable no-important
|
||||
height: 100vh !important;
|
||||
}
|
||||
|
||||
#react-maps-root {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
|
|
|
@ -11,6 +11,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
const PageObjects = getPageObjects(['maps', 'common']);
|
||||
const retry = getService('retry');
|
||||
const security = getService('security');
|
||||
const testSubjects = getService('testSubjects');
|
||||
|
||||
describe('maps full screen mode', () => {
|
||||
before(async () => {
|
||||
|
@ -38,6 +39,10 @@ export default function ({ getService, getPageObjects }) {
|
|||
});
|
||||
});
|
||||
|
||||
it('layer control is visible', async () => {
|
||||
expect(await testSubjects.isDisplayed('addLayerButton')).to.be(true);
|
||||
});
|
||||
|
||||
it('displays exit full screen logo button', async () => {
|
||||
const exists = await PageObjects.maps.exitFullScreenLogoButtonExists();
|
||||
expect(exists).to.be(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue