[Stack Functional Integration] Change screenshot compare resolution (#154018)

## Summary
This changes the compare resolution for the Metricbeat dashboard visual
compare tests in order to remove the vertical scroll bar influencing the
results. Various OSs used in testing have different scroll bar behaviors
and widths.
This commit is contained in:
Marius Dragomir 2023-03-30 15:26:32 +02:00 committed by GitHub
parent 04b2d316b2
commit 102aadf0d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ export default function ({
await PageObjects.common.dismissBanner();
await PageObjects.dashboard.waitForRenderComplete();
await PageObjects.common.sleep(2000);
await browser.setScreenshotSize(1000, 1337);
await browser.setScreenshotSize(1000, 1937);
await PageObjects.common.sleep(2000);
});