From 63ee9f7d7eb98337ce6c2a3a09c7fecdb23b049a Mon Sep 17 00:00:00 2001 From: Varac <varac@varac.net> Date: Thu, 10 Jun 2021 10:49:06 +0200 Subject: [PATCH] Disable screencast for now --- test/taiko/ptf-demo/ptf-demo.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/taiko/ptf-demo/ptf-demo.js b/test/taiko/ptf-demo/ptf-demo.js index 87ac60bc6..4c3c8aef8 100644 --- a/test/taiko/ptf-demo/ptf-demo.js +++ b/test/taiko/ptf-demo/ptf-demo.js @@ -1,4 +1,4 @@ -const { openBrowser, goto, textBox, into, write, click, toRightOf, below, link, press, image, waitFor, closeBrowser, screenshot, screencast } = require('taiko'); +const { openBrowser, goto, textBox, into, write, click, toRightOf, below, link, press, image, waitFor, closeBrowser, screenshot } = require('taiko'); (async () => { try { @@ -14,7 +14,7 @@ const { openBrowser, goto, textBox, into, write, click, toRightOf, below, link, console.log('• Login to admin panel') await openBrowser() - await screencast.startScreencast('output.gif') + // await screencast.startScreencast('output.gif') await goto(adminpanelUrl) await click('Login') @@ -97,10 +97,10 @@ const { openBrowser, goto, textBox, into, write, click, toRightOf, below, link, await waitFor(20000) } catch (error) { await screenshot() - await screencast.stopScreencast() + // await screencast.stopScreencast() console.error(error) } finally { - await screencast.stopScreencast() + // await screencast.stopScreencast() await closeBrowser() } })() -- GitLab