diff --git a/test/taiko/ptf-demo/ptf-demo.js b/test/taiko/ptf-demo/ptf-demo.js index 87ac60bc6c408dee8f24c8656f4860a939e0a20b..4c3c8aef8136e3ef5cc70b352e00bfdfc5d94f3b 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() } })()