update maps tests

This commit is contained in:
Dzmitry Lemechko 2020-04-04 22:25:02 +03:00
parent 40b9dbdab8
commit 31f43fd678
3 changed files with 10 additions and 2 deletions

View file

@ -16,7 +16,7 @@ export default function({ getPageObjects, getService }) {
});
after(async () => {
await PageObjects.maps.gotoMapListingPage({ isOnUnsavedMap: true });
await PageObjects.maps.gotoMapListingPage();
});
async function getRequestTimestamp() {
@ -89,6 +89,10 @@ export default function({ getPageObjects, getService }) {
await PageObjects.maps.setLayerQuery('logstash', 'machine.os.raw : "ios"');
});
after(async () => {
await PageObjects.maps.gotoMapListingPage({ isOnUnsavedMap: true });
});
it('should apply layer query to search request', async () => {
await inspector.open();
await inspector.openInspectorRequestsView();

View file

@ -14,6 +14,10 @@ export default function({ getPageObjects }) {
await PageObjects.maps.loadSavedMap('document example');
});
after(async () => {
await PageObjects.maps.gotoMapListingPage({ isOnUnsavedMap: true });
});
describe('categorical styling', () => {
before(async () => {
await PageObjects.maps.openLayerPanel('logstash');

View file

@ -15,7 +15,7 @@ export default function({ getPageObjects }) {
});
after(async () => {
await PageObjects.maps.gotoMapListingPage({ isOnUnsavedMap: true });
await PageObjects.maps.gotoMapListingPage();
});
it('should show maps application in create menu', async () => {