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

Loki log browser

parent ef8bc30e
No related branches found
No related tags found
No related merge requests found
......@@ -68,15 +68,22 @@ const assert = require('assert').strict;
// Explore Loki log messages
await goto(grafana_url + '/explore')
click('Prometheus')
click('Loki')
click('Enter a loki query')
write('{job=~".*"} |~ "error|fail|exception|fatal"')
click('Run Query')
waitFor(20000)
// only visible in bigger screens
//await click('Prometheus')
await click(image(toRightOf('Explore')))
await click('Loki')
await click('Log browser')
await click('app')
await click('cert-manager')
await click('grafana')
await click('Show logs')
// write('{job=~".*"} |~ "error|fail|exception|fatal"')
//click('Run Query')
await waitFor(20000)
} catch (error) {
await screenshot()
console.error(error)
} finally {
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