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

Loki log browser

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