Fix es_archives path (#101737)

This commit is contained in:
Domenico Andreoli 2021-06-10 09:39:07 +02:00 committed by GitHub
parent 7917e3c9d9
commit 7b51debbbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ export default function ({ getService, getPageObjects, updateBaselines }) {
describe('check metricbeat Dashboard', function () {
before(async function () {
await esArchiver.load('metricbeat');
await esArchiver.load('../integration-test/test/es_archives/metricbeat');
// this navigateToActualURL takes the place of navigating to the dashboard landing page,
// filtering on the dashboard name, selecting it, setting the timepicker, and going to full screen
@ -44,6 +44,10 @@ export default function ({ getService, getPageObjects, updateBaselines }) {
await browser.setScreenshotSize(1000, 1000);
});
after(async function () {
await esArchiver.unload('../integration-test/test/es_archives/metricbeat');
});
it('[Metricbeat System] Overview ECS should match snapshot', async function () {
try {
const percentDifference = await screenshot.compareAgainstBaseline(