[ML] Modifies the script to take log-transform-preview screenshot with proper sizing. (#139483) (#139624)

(cherry picked from commit a5e1563995)

Co-authored-by: István Zoltán Szabó <szabosteve@gmail.com>
This commit is contained in:
Kibana Machine 2022-08-29 08:06:49 -04:00 committed by GitHub
parent bee62ec475
commit c151c79f0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,7 +79,12 @@ export default function ({ getService }: FtrProviderContext) {
await transform.wizard.assertDefineStepActive();
await ml.testExecution.logTestStep('take screenshot');
await commonScreenshots.takeScreenshot('logs-transform-preview', screenshotDirectories);
await commonScreenshots.takeScreenshot(
'logs-transform-preview',
screenshotDirectories,
1600,
1400
);
});
it('wizard screenshots', async () => {