Skip to content

Commit

Permalink
Fix 2nd maps FTR test with blocking tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed May 18, 2022
1 parent 2eceabd commit e8b49f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/test/functional/apps/maps/group1/layer_visibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import expect from '@kbn/expect';
export default function ({ getPageObjects, getService }) {
const PageObjects = getPageObjects(['maps']);
const inspector = getService('inspector');
const testSubjects = getService('testSubjects');
const security = getService('security');

describe('layer visibility', () => {
Expand All @@ -31,6 +32,7 @@ export default function ({ getPageObjects, getService }) {

it('should fetch layer data when layer is made visible', async () => {
await PageObjects.maps.toggleLayerVisibility('logstash');
await testSubjects.click('mapLayerTOC'); // Tooltip blocks clicks otherwise
const hits = await PageObjects.maps.getHits();
expect(hits).to.equal('5');
});
Expand Down

0 comments on commit e8b49f0

Please sign in to comment.