update maps tests
This commit is contained in:
parent
40b9dbdab8
commit
31f43fd678
|
@ -16,7 +16,7 @@ export default function({ getPageObjects, getService }) {
|
||||||
});
|
});
|
||||||
|
|
||||||
after(async () => {
|
after(async () => {
|
||||||
await PageObjects.maps.gotoMapListingPage({ isOnUnsavedMap: true });
|
await PageObjects.maps.gotoMapListingPage();
|
||||||
});
|
});
|
||||||
|
|
||||||
async function getRequestTimestamp() {
|
async function getRequestTimestamp() {
|
||||||
|
@ -89,6 +89,10 @@ export default function({ getPageObjects, getService }) {
|
||||||
await PageObjects.maps.setLayerQuery('logstash', 'machine.os.raw : "ios"');
|
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 () => {
|
it('should apply layer query to search request', async () => {
|
||||||
await inspector.open();
|
await inspector.open();
|
||||||
await inspector.openInspectorRequestsView();
|
await inspector.openInspectorRequestsView();
|
||||||
|
|
|
@ -14,6 +14,10 @@ export default function({ getPageObjects }) {
|
||||||
await PageObjects.maps.loadSavedMap('document example');
|
await PageObjects.maps.loadSavedMap('document example');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
after(async () => {
|
||||||
|
await PageObjects.maps.gotoMapListingPage({ isOnUnsavedMap: true });
|
||||||
|
});
|
||||||
|
|
||||||
describe('categorical styling', () => {
|
describe('categorical styling', () => {
|
||||||
before(async () => {
|
before(async () => {
|
||||||
await PageObjects.maps.openLayerPanel('logstash');
|
await PageObjects.maps.openLayerPanel('logstash');
|
||||||
|
|
|
@ -15,7 +15,7 @@ export default function({ getPageObjects }) {
|
||||||
});
|
});
|
||||||
|
|
||||||
after(async () => {
|
after(async () => {
|
||||||
await PageObjects.maps.gotoMapListingPage({ isOnUnsavedMap: true });
|
await PageObjects.maps.gotoMapListingPage();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should show maps application in create menu', async () => {
|
it('should show maps application in create menu', async () => {
|
||||||
|
|
Loading…
Reference in a new issue