Skip to content
Snippets Groups Projects
Unverified Commit e96e96b0 authored by Varac's avatar Varac
Browse files

Disable screencast for now

parent 1c7c7d4f
No related branches found
No related tags found
No related merge requests found
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()
}
})()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment