Skip to content

Commit

Permalink
close layer panel in functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Mar 28, 2020
1 parent 8f89fc2 commit a827eae
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions x-pack/test/functional/apps/maps/vector_styling.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ export default function({ getPageObjects }) {
});

describe('categorical styling', () => {
before(async () => {
await PageObjects.maps.openLayerPanel('logstash');
});

it('should provide auto complete suggestions', async () => {
await PageObjects.maps.openLayerPanel('logstash');
await PageObjects.maps.setStyleByValue('fillColor', 'machine.os.raw');
await PageObjects.maps.selectCustomColorRamp('fillColor');
const suggestions = await PageObjects.maps.getCategorySuggestions();
await PageObjects.maps.closeLayerPanel();
expect(
suggestions
.trim()
Expand Down

0 comments on commit a827eae

Please sign in to comment.