Skip to content

Commit

Permalink
[Maps] remove EMS tile layers from test artifacts to fix flaky tests (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese authored Mar 10, 2021
1 parent f9c4c01 commit 042c5bc
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 19 deletions.
3 changes: 1 addition & 2 deletions x-pack/test/functional/apps/maps/auto_fit_to_bounds.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ export default function ({ getPageObjects, getService }) {
const PageObjects = getPageObjects(['maps']);
const security = getService('security');

// FLAKY: https://github.com/elastic/kibana/issues/93737
describe.skip('auto fit map to bounds', () => {
describe('auto fit map to bounds', () => {
describe('initial location', () => {
before(async () => {
await security.testUser.setRoles(['global_maps_all', 'test_logstash_reader']);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ export default function ({ getPageObjects, getService }) {
expect(beforeQueryRefreshTimestamp).not.to.equal(afterQueryRefreshTimestamp);
});

// https://github.com/elastic/kibana/issues/93718
it.skip('should apply query to fit to bounds', async () => {
it('should apply query to fit to bounds', async () => {
// Set view to other side of world so no matching results
await PageObjects.maps.setView(-15, -100, 6);
await PageObjects.maps.clickFitToBounds('logstash');
Expand Down
5 changes: 2 additions & 3 deletions x-pack/test/functional/apps/maps/visualize_create_menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ export default function ({ getService, getPageObjects }) {
it('should take users to Maps application when Maps is clicked', async () => {
await PageObjects.visualize.clickMapsApp();
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.maps.waitForLayersToLoad();
const doesLayerExist = await PageObjects.maps.doesLayerExist('Road map');
expect(doesLayerExist).to.equal(true);
const onMapPage = await PageObjects.maps.onMapPage();
expect(onMapPage).to.equal(true);
});
});

Expand Down
Loading

0 comments on commit 042c5bc

Please sign in to comment.