Skip to content

Commit

Permalink
search_hits.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Nov 22, 2024
1 parent 6a0a7ec commit c3285d3
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,14 @@ export default function ({ getPageObjects, getService }) {
expect(hits).to.equal('2');
});

// Fails in chrome 128+: https://github.com/elastic/kibana/issues/175378
it.skip('should apply layer query to fit to bounds', async () => {
it('should apply layer query to fit to bounds', async () => {
// Set view to other side of world so no matching results
await maps.setView(-15, -100, 6);
await maps.clickFitToBounds('logstash');
const { lat, lon, zoom } = await maps.getView();
expect(Math.round(lat)).to.equal(43);
expect(Math.round(lon)).to.equal(-102);
expect(Math.round(zoom)).to.equal(5);
expect(Math.round(zoom)).to.equal(4);
});
});

Expand Down

0 comments on commit c3285d3

Please sign in to comment.