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

eslint --fix ptf-demo.js

parent df9ca146
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ const assert = require('assert').strict;
(async () => {
try {
const taiko_tests = process.env.TAIKO_TESTS || "all"
const taiko_tests = process.env.TAIKO_TESTS || 'all'
const username = process.env.SSO_USERNAME
const pw = process.env.SSO_USER_PW
const domain = process.env.DOMAIN
......@@ -88,18 +88,17 @@ const assert = require('assert').strict;
await click('grafana')
await click('Show logs')
// write('{job=~".*"} |~ "error|fail|exception|fatal"')
//click('Run Query')
// click('Run Query')
}
// Wait a bit before closing browser
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