2017-04-12 00:01:06 +02:00
|
|
|
export default function ({ getService, getPageObjects, loadTestFile }) {
|
|
|
|
const remote = getService('remote');
|
|
|
|
const esArchiver = getService('esArchiver');
|
|
|
|
const PageObjects = getPageObjects(['common']);
|
2017-02-22 18:27:49 +01:00
|
|
|
|
2017-04-12 00:01:06 +02:00
|
|
|
describe('context app', function () {
|
|
|
|
before(async function () {
|
|
|
|
await remote.setWindowSize(1200,800);
|
|
|
|
await esArchiver.loadIfNeeded('logstash_functional');
|
|
|
|
await esArchiver.load('visualize');
|
|
|
|
await PageObjects.common.navigateToApp('discover');
|
|
|
|
});
|
2017-02-22 18:27:49 +01:00
|
|
|
|
2017-04-12 00:01:06 +02:00
|
|
|
after(function unloadMakelogs() {
|
|
|
|
return esArchiver.unload('logstash_functional');
|
|
|
|
});
|
2017-02-22 18:27:49 +01:00
|
|
|
|
2017-04-12 00:01:06 +02:00
|
|
|
loadTestFile(require.resolve('./_discover_navigation'));
|
|
|
|
loadTestFile(require.resolve('./_size'));
|
2017-02-22 18:27:49 +01:00
|
|
|
});
|
|
|
|
|
2017-04-12 00:01:06 +02:00
|
|
|
}
|